diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json index a5ef0777f530..ff82e7c55262 100644 --- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json +++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251205.1" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251210.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.62.0", @@ -133,27 +133,27 @@ "dev": true }, "node_modules/@azure-typespec/http-client-csharp": { - "version": "1.0.0-alpha.20251125.3", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251125.3.tgz", - "integrity": "sha512-iLZfcZXLmfWlItpb+tYfQVN+Rm6+CrEXTFnnofQb//K4U5Z/yIlnZFlpmn88CFNn5N1BObJ/rUKSbCqVCxSinw==", + "version": "1.0.0-alpha.20251205.1", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251205.1.tgz", + "integrity": "sha512-dPWa80aOkQbSWC8usD7h1KTtDcnbP8QtBain1q9NfslpArrh0gGVQG9rmVoLk65qqdYkKbAhZwrVY5CFKAO3QA==", "license": "MIT", "dependencies": { - "@typespec/http-client-csharp": "1.0.0-alpha.20251125.2" + "@typespec/http-client-csharp": "1.0.0-alpha.20251203.2" } }, "node_modules/@azure-typespec/http-client-csharp-mgmt": { - "version": "1.0.0-alpha.20251205.1", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251205.1.tgz", - "integrity": "sha512-FQCcV/QuG3O364RG34UligG9QuPwfO12mpsRwI6HA5m3kqi+OEGyDaZrqtqB4gEyNG/Z2TKwwJ3ekBFE+Ylu7A==", + "version": "1.0.0-alpha.20251210.1", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251210.1.tgz", + "integrity": "sha512-2MtwEZFMoU+D/+UOQ0geP7LxoLa/rWevEshSYk5TYSPc/VmwHmwzUazBV5kli9ncRDfQ7u8ky2MyvbW9Oxzz8w==", "license": "MIT", "dependencies": { - "@azure-typespec/http-client-csharp": "1.0.0-alpha.20251125.3" + "@azure-typespec/http-client-csharp": "1.0.0-alpha.20251205.1" } }, "node_modules/@azure-typespec/http-client-csharp/node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20251125.2", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251125.2.tgz", - "integrity": "sha512-FQkoqYnNAk1PZkAvC/VMKiErjzJWhTDbGZaC/WCnT83Z5qUcpec3K8itusvTq/M6WP8hZCjneXssWwqEhRzetw==", + "version": "1.0.0-alpha.20251203.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251203.2.tgz", + "integrity": "sha512-a95IYqfF+Q3ErkBdLvPvY5En04Ib7krEkS0vfylkAWlQyPEYDj5r4ioAApoPGr11RYI2E/YAIYetgSDVpMDYqg==", "license": "MIT", "peerDependencies": { "@azure-tools/typespec-client-generator-core": ">=0.62.0 < 0.63.0 || ~0.63.0-0", diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json index f67fe8fa7c8a..76386d768004 100644 --- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json +++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251205.1" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251210.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.62.0", diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenMemberAttribute.cs index a764114ba3b9..72778edeb7e4 100644 --- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.AgriculturePlatform +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSerializationAttribute.cs index e245036e3ed1..dfcabf517497 100644 --- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.AgriculturePlatform +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSuppressAttribute.cs index 9743e2219dcc..38d536e69173 100644 --- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.AgriculturePlatform +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenTypeAttribute.cs index 1d1e0d9ea990..f36b5f513173 100644 --- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.AgriculturePlatform +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenMemberAttribute.cs index ddfe549126e5..72778edeb7e4 100644 --- a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ArizeAIObservabilityEval +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSerializationAttribute.cs index 4abdb71c63ef..dfcabf517497 100644 --- a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ArizeAIObservabilityEval +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSuppressAttribute.cs index 17a19bbc65da..38d536e69173 100644 --- a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ArizeAIObservabilityEval +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenTypeAttribute.cs index 00ed27b87585..f36b5f513173 100644 --- a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ArizeAIObservabilityEval +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenMemberAttribute.cs index 890902608d98..72778edeb7e4 100644 --- a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.CloudHealth +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSerializationAttribute.cs index 11c3b2a2cc93..dfcabf517497 100644 --- a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.CloudHealth +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSuppressAttribute.cs index 414346f05990..38d536e69173 100644 --- a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.CloudHealth +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenTypeAttribute.cs index cac4d50eeb05..f36b5f513173 100644 --- a/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/cloudhealth/Azure.ResourceManager.CloudHealth/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.CloudHealth +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenMemberAttribute.cs index daece4409aa0..72778edeb7e4 100644 --- a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ComputeLimit +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSerializationAttribute.cs index d40594b0a1ed..dfcabf517497 100644 --- a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ComputeLimit +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSuppressAttribute.cs index 6ee182f694e6..38d536e69173 100644 --- a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ComputeLimit +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenTypeAttribute.cs index 0e28c8d178b2..f36b5f513173 100644 --- a/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/computelimit/Azure.ResourceManager.ComputeLimit/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ComputeLimit +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenMemberAttribute.cs index 4a39ff11cae6..72778edeb7e4 100644 --- a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Compute.Recommender +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSerializationAttribute.cs index 3264ef379556..dfcabf517497 100644 --- a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Compute.Recommender +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSuppressAttribute.cs index 5d16025a1cac..38d536e69173 100644 --- a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Compute.Recommender +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenTypeAttribute.cs index c2b4629a9f76..f36b5f513173 100644 --- a/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/computerecommender/Azure.ResourceManager.Compute.Recommender/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Compute.Recommender +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenMemberAttribute.cs index 7a0d7cb7aa1c..72778edeb7e4 100644 --- a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ConnectedCache +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSerializationAttribute.cs index 23f2cde93460..dfcabf517497 100644 --- a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ConnectedCache +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSuppressAttribute.cs index 2fdfe68faf34..38d536e69173 100644 --- a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ConnectedCache +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenTypeAttribute.cs index 709c7a63b0b0..f36b5f513173 100644 --- a/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ConnectedCache +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenMemberAttribute.cs index 5431f341e60f..72778edeb7e4 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ContainerOrchestratorRuntime +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSerializationAttribute.cs index f4c0e2bafae4..dfcabf517497 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ContainerOrchestratorRuntime +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSuppressAttribute.cs index e593cca3df36..38d536e69173 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ContainerOrchestratorRuntime +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenTypeAttribute.cs index 48c415131a2c..f36b5f513173 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ContainerOrchestratorRuntime +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/ArmDatabaseWatcherModelFactory.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/ArmDatabaseWatcherModelFactory.cs index ce33b7a2d277..213da8837328 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/ArmDatabaseWatcherModelFactory.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/ArmDatabaseWatcherModelFactory.cs @@ -61,7 +61,7 @@ public static DatabaseWatcherProperties DatabaseWatcherProperties(DatabaseWatche /// Resource tags. /// The resource-specific properties for this resource. /// A new instance for mocking. - public static DatabaseWatcherPatch DatabaseWatcherPatch(ManagedServiceIdentity identity = default, IDictionary tags = default, DatabaseWatcherUpdateProperties properties = default) + public static DatabaseWatcherPatch DatabaseWatcherPatch(ManagedServiceIdentity identity = default, IDictionary tags = default, WatcherUpdateProperties properties = default) { tags ??= new ChangeTrackingDictionary(); diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenMemberAttribute.cs index dc39110e0e40..72778edeb7e4 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DatabaseWatcher +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSerializationAttribute.cs index 27ab52c9bd0c..dfcabf517497 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DatabaseWatcher +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSuppressAttribute.cs index b7fb8f1b5f52..38d536e69173 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DatabaseWatcher +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenTypeAttribute.cs index 16c4779913be..f36b5f513173 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DatabaseWatcher +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/AzureResourceManagerDatabaseWatcherContext.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/AzureResourceManagerDatabaseWatcherContext.cs index d28238ddd279..9c32dba830f5 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/AzureResourceManagerDatabaseWatcherContext.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/AzureResourceManagerDatabaseWatcherContext.cs @@ -35,7 +35,6 @@ namespace Azure.ResourceManager.DatabaseWatcher [ModelReaderWriterBuildable(typeof(DatabaseWatcherTargetData))] [ModelReaderWriterBuildable(typeof(DatabaseWatcherTargetProperties))] [ModelReaderWriterBuildable(typeof(DatabaseWatcherTargetResource))] - [ModelReaderWriterBuildable(typeof(DatabaseWatcherUpdateProperties))] [ModelReaderWriterBuildable(typeof(HealthValidationListResult))] [ModelReaderWriterBuildable(typeof(ManagedServiceIdentity))] [ModelReaderWriterBuildable(typeof(ResponseError))] @@ -49,6 +48,7 @@ namespace Azure.ResourceManager.DatabaseWatcher [ModelReaderWriterBuildable(typeof(UnknownDatabaseWatcherTargetProperties))] [ModelReaderWriterBuildable(typeof(UserAssignedIdentity))] [ModelReaderWriterBuildable(typeof(WatcherListResult))] + [ModelReaderWriterBuildable(typeof(WatcherUpdateProperties))] public partial class AzureResourceManagerDatabaseWatcherContext : ModelReaderWriterContext { } diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.Serialization.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.Serialization.cs index 8f533d56878b..dd912215defb 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.Serialization.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.Serialization.cs @@ -107,7 +107,7 @@ internal static DatabaseWatcherPatch DeserializeDatabaseWatcherPatch(JsonElement } ManagedServiceIdentity identity = default; IDictionary tags = default; - DatabaseWatcherUpdateProperties properties = default; + WatcherUpdateProperties properties = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -147,7 +147,7 @@ internal static DatabaseWatcherPatch DeserializeDatabaseWatcherPatch(JsonElement { continue; } - properties = DatabaseWatcherUpdateProperties.DeserializeDatabaseWatcherUpdateProperties(prop.Value, options); + properties = WatcherUpdateProperties.DeserializeWatcherUpdateProperties(prop.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.cs index a787d58ffbb9..bd18798fd39e 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherPatch.cs @@ -29,7 +29,7 @@ public DatabaseWatcherPatch() /// Resource tags. /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. - internal DatabaseWatcherPatch(ManagedServiceIdentity identity, IDictionary tags, DatabaseWatcherUpdateProperties properties, IDictionary additionalBinaryDataProperties) + internal DatabaseWatcherPatch(ManagedServiceIdentity identity, IDictionary tags, WatcherUpdateProperties properties, IDictionary additionalBinaryDataProperties) { Identity = identity; Tags = tags; @@ -44,6 +44,6 @@ internal DatabaseWatcherPatch(ManagedServiceIdentity identity, IDictionary Tags { get; } /// The resource-specific properties for this resource. - public DatabaseWatcherUpdateProperties Properties { get; set; } + public WatcherUpdateProperties Properties { get; set; } } } diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.Serialization.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.Serialization.cs similarity index 69% rename from sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.Serialization.cs rename to sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.Serialization.cs index 645ad281a260..9a8badeefb7d 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.Serialization.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.Serialization.cs @@ -15,11 +15,11 @@ namespace Azure.ResourceManager.DatabaseWatcher.Models { /// The updatable properties of the Watcher. - public partial class DatabaseWatcherUpdateProperties : IJsonModel + public partial class WatcherUpdateProperties : IJsonModel { /// The JSON writer. /// The client options for reading and writing models. - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -30,10 +30,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DatabaseWatcherUpdateProperties)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(WatcherUpdateProperties)} does not support writing '{format}' format."); } if (Optional.IsDefined(Datastore)) { @@ -64,24 +64,24 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit /// The JSON reader. /// The client options for reading and writing models. - DatabaseWatcherUpdateProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + WatcherUpdateProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); /// The JSON reader. /// The client options for reading and writing models. - protected virtual DatabaseWatcherUpdateProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + protected virtual WatcherUpdateProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DatabaseWatcherUpdateProperties)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(WatcherUpdateProperties)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDatabaseWatcherUpdateProperties(document.RootElement, options); + return DeserializeWatcherUpdateProperties(document.RootElement, options); } /// The JSON element to deserialize. /// The client options for reading and writing models. - internal static DatabaseWatcherUpdateProperties DeserializeDatabaseWatcherUpdateProperties(JsonElement element, ModelReaderWriterOptions options) + internal static WatcherUpdateProperties DeserializeWatcherUpdateProperties(JsonElement element, ModelReaderWriterOptions options) { if (element.ValueKind == JsonValueKind.Null) { @@ -115,47 +115,47 @@ internal static DatabaseWatcherUpdateProperties DeserializeDatabaseWatcherUpdate additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } } - return new DatabaseWatcherUpdateProperties(datastore, defaultAlertRuleIdentityResourceId, additionalBinaryDataProperties); + return new WatcherUpdateProperties(datastore, defaultAlertRuleIdentityResourceId, additionalBinaryDataProperties); } /// The client options for reading and writing models. - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); /// The client options for reading and writing models. protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options, AzureResourceManagerDatabaseWatcherContext.Default); default: - throw new FormatException($"The model {nameof(DatabaseWatcherUpdateProperties)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(WatcherUpdateProperties)} does not support writing '{options.Format}' format."); } } /// The data to parse. /// The client options for reading and writing models. - DatabaseWatcherUpdateProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + WatcherUpdateProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); /// The data to parse. /// The client options for reading and writing models. - protected virtual DatabaseWatcherUpdateProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + protected virtual WatcherUpdateProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) { - return DeserializeDatabaseWatcherUpdateProperties(document.RootElement, options); + return DeserializeWatcherUpdateProperties(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DatabaseWatcherUpdateProperties)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(WatcherUpdateProperties)} does not support reading '{options.Format}' format."); } } /// The client options for reading and writing models. - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; } } diff --git a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.cs b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.cs similarity index 73% rename from sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.cs rename to sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.cs index c17e6bb12a71..260de3a7fe53 100644 --- a/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/DatabaseWatcherUpdateProperties.cs +++ b/sdk/databasewatcher/Azure.ResourceManager.DatabaseWatcher/src/Generated/Models/WatcherUpdateProperties.cs @@ -12,21 +12,21 @@ namespace Azure.ResourceManager.DatabaseWatcher.Models { /// The updatable properties of the Watcher. - public partial class DatabaseWatcherUpdateProperties + public partial class WatcherUpdateProperties { /// Keeps track of any properties unknown to the library. private protected readonly IDictionary _additionalBinaryDataProperties; - /// Initializes a new instance of . - public DatabaseWatcherUpdateProperties() + /// Initializes a new instance of . + public WatcherUpdateProperties() { } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The data store for collected monitoring data. /// The resource ID of a user-assigned managed identity that will be assigned to a new alert rule. /// Keeps track of any properties unknown to the library. - internal DatabaseWatcherUpdateProperties(DatabaseWatcherDatastore datastore, ResourceIdentifier defaultAlertRuleIdentityResourceId, IDictionary additionalBinaryDataProperties) + internal WatcherUpdateProperties(DatabaseWatcherDatastore datastore, ResourceIdentifier defaultAlertRuleIdentityResourceId, IDictionary additionalBinaryDataProperties) { Datastore = datastore; DefaultAlertRuleIdentityResourceId = defaultAlertRuleIdentityResourceId; diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs index 4a3fdc0394c0..d70d0c2bd45d 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs @@ -105,7 +105,7 @@ public static DellFileSystemMarketplaceDetails DellFileSystemMarketplaceDetails( /// Resource tags. /// The updatable properties of the FileSystemResource. /// A new instance for mocking. - public static DellFileSystemPatch DellFileSystemPatch(ManagedServiceIdentity identity = default, IDictionary tags = default, DellFileSystemPatchProperties properties = default) + public static DellFileSystemPatch DellFileSystemPatch(ManagedServiceIdentity identity = default, IDictionary tags = default, FileSystemResourceUpdateProperties properties = default) { tags ??= new ChangeTrackingDictionary(); diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenMemberAttribute.cs index 1b53a5620714..72778edeb7e4 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Dell.Storage +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSerializationAttribute.cs index a597586acf8a..dfcabf517497 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Dell.Storage +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSuppressAttribute.cs index 958393431374..38d536e69173 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Dell.Storage +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenTypeAttribute.cs index df9b8cbcb5ea..f36b5f513173 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Dell.Storage +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/AzureResourceManagerDellStorageContext.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/AzureResourceManagerDellStorageContext.cs index 4135c850a251..c0ad35d44576 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/AzureResourceManagerDellStorageContext.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/AzureResourceManagerDellStorageContext.cs @@ -24,11 +24,11 @@ namespace Azure.ResourceManager.Dell.Storage [ModelReaderWriterBuildable(typeof(DellFileSystemEncryptionProperties))] [ModelReaderWriterBuildable(typeof(DellFileSystemMarketplaceDetails))] [ModelReaderWriterBuildable(typeof(DellFileSystemPatch))] - [ModelReaderWriterBuildable(typeof(DellFileSystemPatchProperties))] [ModelReaderWriterBuildable(typeof(DellFileSystemProperties))] [ModelReaderWriterBuildable(typeof(DellFileSystemResource))] [ModelReaderWriterBuildable(typeof(DellFileSystemUserDetails))] [ModelReaderWriterBuildable(typeof(FileSystemResourceListResult))] + [ModelReaderWriterBuildable(typeof(FileSystemResourceUpdateProperties))] [ModelReaderWriterBuildable(typeof(ManagedServiceIdentity))] [ModelReaderWriterBuildable(typeof(ResponseError))] [ModelReaderWriterBuildable(typeof(SystemData))] diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.Serialization.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.Serialization.cs index 7eec09808f88..12e377a81c6c 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.Serialization.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.Serialization.cs @@ -107,7 +107,7 @@ internal static DellFileSystemPatch DeserializeDellFileSystemPatch(JsonElement e } ManagedServiceIdentity identity = default; IDictionary tags = default; - DellFileSystemPatchProperties properties = default; + FileSystemResourceUpdateProperties properties = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -147,7 +147,7 @@ internal static DellFileSystemPatch DeserializeDellFileSystemPatch(JsonElement e { continue; } - properties = DellFileSystemPatchProperties.DeserializeDellFileSystemPatchProperties(prop.Value, options); + properties = FileSystemResourceUpdateProperties.DeserializeFileSystemResourceUpdateProperties(prop.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.cs index 2d17c018f3f5..51273d9592e9 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatch.cs @@ -29,7 +29,7 @@ public DellFileSystemPatch() /// Resource tags. /// The updatable properties of the FileSystemResource. /// Keeps track of any properties unknown to the library. - internal DellFileSystemPatch(ManagedServiceIdentity identity, IDictionary tags, DellFileSystemPatchProperties properties, IDictionary additionalBinaryDataProperties) + internal DellFileSystemPatch(ManagedServiceIdentity identity, IDictionary tags, FileSystemResourceUpdateProperties properties, IDictionary additionalBinaryDataProperties) { Identity = identity; Tags = tags; @@ -44,6 +44,6 @@ internal DellFileSystemPatch(ManagedServiceIdentity identity, IDictionary Tags { get; } /// The updatable properties of the FileSystemResource. - public DellFileSystemPatchProperties Properties { get; set; } + public FileSystemResourceUpdateProperties Properties { get; set; } } } diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.Serialization.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs similarity index 71% rename from sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.Serialization.cs rename to sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs index 5693833a3e87..fbf656002743 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.Serialization.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs @@ -15,11 +15,11 @@ namespace Azure.ResourceManager.Dell.Storage.Models { /// The updatable properties of the FileSystemResource. - public partial class DellFileSystemPatchProperties : IJsonModel + public partial class FileSystemResourceUpdateProperties : IJsonModel { /// The JSON writer. /// The client options for reading and writing models. - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -30,10 +30,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DellFileSystemPatchProperties)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(FileSystemResourceUpdateProperties)} does not support writing '{format}' format."); } if (Optional.IsDefined(DelegatedSubnetId)) { @@ -69,24 +69,24 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit /// The JSON reader. /// The client options for reading and writing models. - DellFileSystemPatchProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + FileSystemResourceUpdateProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); /// The JSON reader. /// The client options for reading and writing models. - protected virtual DellFileSystemPatchProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + protected virtual FileSystemResourceUpdateProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DellFileSystemPatchProperties)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(FileSystemResourceUpdateProperties)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDellFileSystemPatchProperties(document.RootElement, options); + return DeserializeFileSystemResourceUpdateProperties(document.RootElement, options); } /// The JSON element to deserialize. /// The client options for reading and writing models. - internal static DellFileSystemPatchProperties DeserializeDellFileSystemPatchProperties(JsonElement element, ModelReaderWriterOptions options) + internal static FileSystemResourceUpdateProperties DeserializeFileSystemResourceUpdateProperties(JsonElement element, ModelReaderWriterOptions options) { if (element.ValueKind == JsonValueKind.Null) { @@ -130,47 +130,47 @@ internal static DellFileSystemPatchProperties DeserializeDellFileSystemPatchProp additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } } - return new DellFileSystemPatchProperties(delegatedSubnetId, capacity, encryption, additionalBinaryDataProperties); + return new FileSystemResourceUpdateProperties(delegatedSubnetId, capacity, encryption, additionalBinaryDataProperties); } /// The client options for reading and writing models. - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); /// The client options for reading and writing models. protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options, AzureResourceManagerDellStorageContext.Default); default: - throw new FormatException($"The model {nameof(DellFileSystemPatchProperties)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(FileSystemResourceUpdateProperties)} does not support writing '{options.Format}' format."); } } /// The data to parse. /// The client options for reading and writing models. - DellFileSystemPatchProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + FileSystemResourceUpdateProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); /// The data to parse. /// The client options for reading and writing models. - protected virtual DellFileSystemPatchProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + protected virtual FileSystemResourceUpdateProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) { - return DeserializeDellFileSystemPatchProperties(document.RootElement, options); + return DeserializeFileSystemResourceUpdateProperties(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DellFileSystemPatchProperties)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(FileSystemResourceUpdateProperties)} does not support reading '{options.Format}' format."); } } /// The client options for reading and writing models. - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; } } diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.cs similarity index 73% rename from sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.cs rename to sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.cs index 236bd08bac45..49334e0d45f9 100644 --- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/DellFileSystemPatchProperties.cs +++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/Models/FileSystemResourceUpdateProperties.cs @@ -12,22 +12,22 @@ namespace Azure.ResourceManager.Dell.Storage.Models { /// The updatable properties of the FileSystemResource. - public partial class DellFileSystemPatchProperties + public partial class FileSystemResourceUpdateProperties { /// Keeps track of any properties unknown to the library. private protected readonly IDictionary _additionalBinaryDataProperties; - /// Initializes a new instance of . - public DellFileSystemPatchProperties() + /// Initializes a new instance of . + public FileSystemResourceUpdateProperties() { } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Delegated subnet id for Vnet injection. /// Capacity for Dell Filesystem. /// Encryption Details of the resource. /// Keeps track of any properties unknown to the library. - internal DellFileSystemPatchProperties(ResourceIdentifier delegatedSubnetId, DellFileSystemCapacity capacity, DellFileSystemEncryptionPatchProperties encryption, IDictionary additionalBinaryDataProperties) + internal FileSystemResourceUpdateProperties(ResourceIdentifier delegatedSubnetId, DellFileSystemCapacity capacity, DellFileSystemEncryptionPatchProperties encryption, IDictionary additionalBinaryDataProperties) { DelegatedSubnetId = delegatedSubnetId; Capacity = capacity; diff --git a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenMemberAttribute.cs index c44b75278318..72778edeb7e4 100644 --- a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DependencyMap +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSerializationAttribute.cs index 016e4dd18620..dfcabf517497 100644 --- a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DependencyMap +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSuppressAttribute.cs index cebe2bf19a50..38d536e69173 100644 --- a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DependencyMap +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenTypeAttribute.cs index 4b606e44b74d..f36b5f513173 100644 --- a/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/dependencymap/Azure.ResourceManager.DependencyMap/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DependencyMap +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json new file mode 100644 index 000000000000..3426d16badd9 --- /dev/null +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json @@ -0,0 +1,12 @@ +{ + "package-name": "Azure.ResourceManager.DeviceRegistry", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "model-namespace": true, + "license": { + "name": "MIT License", + "company": "Microsoft Corporation", + "link": "https://mit-license.org", + "header": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.", + "description": "Copyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + } +} diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json new file mode 100644 index 000000000000..ebba5c3f69af --- /dev/null +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json @@ -0,0 +1,96032 @@ +{ + "name": "Azure.ResourceManager.DeviceRegistry", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "5", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "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": "6", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "8", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$ref": "7" + }, + "enumType": { + "$ref": "6" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "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": "9", + "kind": "enum", + "name": "DeviceRegistryTopicRetainType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.TopicRetainType", + "valueType": { + "$id": "10", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "11", + "kind": "enumvalue", + "name": "Keep", + "value": "Keep", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "Retain the messages.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "Never", + "value": "Never", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "Never retain messages.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Topic retain types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "13", + "kind": "enum", + "name": "DataPointObservabilityMode", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointObservabilityMode", + "valueType": { + "$id": "14", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "15", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "14" + }, + "enumType": { + "$ref": "13" + }, + "doc": "No mapping to OpenTelemetry.", + "decorators": [] + }, + { + "$id": "16", + "kind": "enumvalue", + "name": "Counter", + "value": "Counter", + "valueType": { + "$ref": "14" + }, + "enumType": { + "$ref": "13" + }, + "doc": "Map as counter to OpenTelemetry.", + "decorators": [] + }, + { + "$id": "17", + "kind": "enumvalue", + "name": "Gauge", + "value": "Gauge", + "valueType": { + "$ref": "14" + }, + "enumType": { + "$ref": "13" + }, + "doc": "Map as gauge to OpenTelemetry.", + "decorators": [] + }, + { + "$id": "18", + "kind": "enumvalue", + "name": "Histogram", + "value": "Histogram", + "valueType": { + "$ref": "14" + }, + "enumType": { + "$ref": "13" + }, + "doc": "Map as histogram to OpenTelemetry.", + "decorators": [] + }, + { + "$id": "19", + "kind": "enumvalue", + "name": "Log", + "value": "Log", + "valueType": { + "$ref": "14" + }, + "enumType": { + "$ref": "13" + }, + "doc": "Map as log to OpenTelemetry.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the data point observability mode.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "20", + "kind": "enum", + "name": "EventObservabilityMode", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventObservabilityMode", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "22", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "21" + }, + "enumType": { + "$ref": "20" + }, + "doc": "No mapping to OpenTelemetry.", + "decorators": [] + }, + { + "$id": "23", + "kind": "enumvalue", + "name": "Log", + "value": "Log", + "valueType": { + "$ref": "21" + }, + "enumType": { + "$ref": "20" + }, + "doc": "Map as log to OpenTelemetry.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the event observability mode.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "24", + "kind": "enum", + "name": "DeviceRegistryProvisioningState", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ProvisioningState", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "26", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "25" + }, + "enumType": { + "$ref": "24" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "27", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "25" + }, + "enumType": { + "$ref": "24" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "25" + }, + "enumType": { + "$ref": "24" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + }, + { + "$id": "29", + "kind": "enumvalue", + "name": "Accepted", + "value": "Accepted", + "valueType": { + "$ref": "25" + }, + "enumType": { + "$ref": "24" + }, + "doc": "Resource has been accepted by the server.", + "decorators": [] + }, + { + "$id": "30", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$ref": "25" + }, + "enumType": { + "$ref": "24" + }, + "doc": "Resource is deleting.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The provisioning status of the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "31", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "32", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "33", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "34", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "35", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "37", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "38", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "39", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "38" + }, + "enumType": { + "$ref": "37" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "40", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "38" + }, + "enumType": { + "$ref": "37" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "41", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "38" + }, + "enumType": { + "$ref": "37" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "42", + "kind": "enum", + "name": "AuthenticationMethod", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AuthenticationMethod", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "44", + "kind": "enumvalue", + "name": "Anonymous", + "value": "Anonymous", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "doc": "The user authentication method is anonymous.", + "decorators": [] + }, + { + "$id": "45", + "kind": "enumvalue", + "name": "Certificate", + "value": "Certificate", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "doc": "The user authentication method is an x509 certificate.", + "decorators": [] + }, + { + "$id": "46", + "kind": "enumvalue", + "name": "UsernamePassword", + "value": "UsernamePassword", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "doc": "The user authentication method is a username and password.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The method to authenticate the user of the client at the server.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "47", + "kind": "enum", + "name": "SystemAssignedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentityType", + "valueType": { + "$id": "48", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "49", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "48" + }, + "enumType": { + "$ref": "47" + }, + "doc": "No managed system identity.", + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$ref": "48" + }, + "enumType": { + "$ref": "47" + }, + "doc": "System assigned managed system identity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Type of managed service identity (either system assigned, or none).", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "51", + "kind": "enum", + "name": "Scope", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Scope", + "valueType": { + "$id": "52", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "53", + "kind": "enumvalue", + "name": "Resources", + "value": "Resources", + "valueType": { + "$ref": "52" + }, + "enumType": { + "$ref": "51" + }, + "doc": "Scoping the migration to resourceIds provided", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Scope of the migrate resources operation.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "54", + "kind": "enum", + "name": "MigrateResultType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MigrateResultType", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "56", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "55" + }, + "enumType": { + "$ref": "54" + }, + "doc": "Resource Migrate operation is successful.", + "decorators": [] + }, + { + "$id": "57", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "55" + }, + "enumType": { + "$ref": "54" + }, + "doc": "Resource Migrate operation is not successful.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Result Type of Migrate Operation.", + "isFixed": false, + "isFlags": false, + "usage": "Json,LroInitial", + "decorators": [] + }, + { + "$id": "58", + "kind": "enum", + "name": "SupportedKeyType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SupportedKeyType", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "60", + "kind": "enumvalue", + "name": "ECC", + "value": "ECC", + "valueType": { + "$ref": "59" + }, + "enumType": { + "$ref": "58" + }, + "doc": "Indicates the ECC key type.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Supported key types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "61", + "kind": "enum", + "name": "DatasetDestinationTarget", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetDestinationTarget", + "valueType": { + "$id": "62", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "63", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$ref": "61" + }, + "doc": "MQTT target.", + "decorators": [] + }, + { + "$id": "64", + "kind": "enumvalue", + "name": "BrokerStateStore", + "value": "BrokerStateStore", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$ref": "61" + }, + "doc": "Broker State Store target.", + "decorators": [] + }, + { + "$id": "65", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$ref": "61" + }, + "doc": "Storage target.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The set of supported dataset destinations for an asset.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "66", + "kind": "enum", + "name": "MqttDestinationQo", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationQos", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "68", + "kind": "enumvalue", + "name": "Qos0", + "value": "Qos0", + "valueType": { + "$ref": "67" + }, + "enumType": { + "$ref": "66" + }, + "doc": "QoS 0.", + "decorators": [] + }, + { + "$id": "69", + "kind": "enumvalue", + "name": "Qos1", + "value": "Qos1", + "valueType": { + "$ref": "67" + }, + "enumType": { + "$ref": "66" + }, + "doc": "QoS 1.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The set of supported QoS types for a MQTT destination.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "70", + "kind": "enum", + "name": "EventDestinationTarget", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventDestinationTarget", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "72", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "71" + }, + "enumType": { + "$ref": "70" + }, + "doc": "MQTT target.", + "decorators": [] + }, + { + "$id": "73", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "71" + }, + "enumType": { + "$ref": "70" + }, + "doc": "Storage target.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The set of supported event destinations for an asset.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "74", + "kind": "enum", + "name": "StreamDestinationTarget", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamDestinationTarget", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "76", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "75" + }, + "enumType": { + "$ref": "74" + }, + "doc": "MQTT target.", + "decorators": [] + }, + { + "$id": "77", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "75" + }, + "enumType": { + "$ref": "74" + }, + "doc": "Storage target.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "The set of supported stream destinations for an asset.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "78", + "kind": "enum", + "name": "ManagementActionType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementActionType", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "80", + "kind": "enumvalue", + "name": "Call", + "value": "Call", + "valueType": { + "$ref": "79" + }, + "enumType": { + "$ref": "78" + }, + "doc": "Call action type.", + "decorators": [] + }, + { + "$id": "81", + "kind": "enumvalue", + "name": "Read", + "value": "Read", + "valueType": { + "$ref": "79" + }, + "enumType": { + "$ref": "78" + }, + "doc": "Read action type.", + "decorators": [] + }, + { + "$id": "82", + "kind": "enumvalue", + "name": "Write", + "value": "Write", + "valueType": { + "$ref": "79" + }, + "enumType": { + "$ref": "78" + }, + "doc": "Write action type.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the ManagementAction's type.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "83", + "kind": "enum", + "name": "NamespaceDiscoveredManagementActionType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementActionType", + "valueType": { + "$id": "84", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "85", + "kind": "enumvalue", + "name": "Call", + "value": "Call", + "valueType": { + "$ref": "84" + }, + "enumType": { + "$ref": "83" + }, + "doc": "Call action type.", + "decorators": [] + }, + { + "$id": "86", + "kind": "enumvalue", + "name": "Read", + "value": "Read", + "valueType": { + "$ref": "84" + }, + "enumType": { + "$ref": "83" + }, + "doc": "Read action type.", + "decorators": [] + }, + { + "$id": "87", + "kind": "enumvalue", + "name": "Write", + "value": "Write", + "valueType": { + "$ref": "84" + }, + "enumType": { + "$ref": "83" + }, + "doc": "Write action type.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the ManagementAction's type.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "88", + "kind": "enum", + "name": "DeviceRegistrySchemaFormat", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Format", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "90", + "kind": "enumvalue", + "name": "JsonSchema_draft7", + "value": "JsonSchema/draft-07", + "valueType": { + "$ref": "89" + }, + "enumType": { + "$ref": "88" + }, + "doc": "JSON Schema version draft 7 format", + "decorators": [] + }, + { + "$id": "91", + "kind": "enumvalue", + "name": "Delta_1_0", + "value": "Delta/1.0", + "valueType": { + "$ref": "89" + }, + "enumType": { + "$ref": "88" + }, + "doc": "Delta format", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the schema format.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "92", + "kind": "enum", + "name": "DeviceRegistrySchemaType", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaType", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "94", + "kind": "enumvalue", + "name": "MessageSchema", + "value": "MessageSchema", + "valueType": { + "$ref": "93" + }, + "enumType": { + "$ref": "92" + }, + "doc": "Message Schema schema type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Defines the schema type.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "95", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Versions", + "valueType": { + "$id": "96", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "97", + "kind": "enumvalue", + "name": "v2023_11_01_preview", + "value": "2023-11-01-preview", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2023-11-01-preview.", + "decorators": [] + }, + { + "$id": "98", + "kind": "enumvalue", + "name": "v2024_09_01_preview", + "value": "2024-09-01-preview", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2024-09-01-preview.", + "decorators": [] + }, + { + "$id": "99", + "kind": "enumvalue", + "name": "v2024_11_01", + "value": "2024-11-01", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2024-11-01.", + "decorators": [] + }, + { + "$id": "100", + "kind": "enumvalue", + "name": "v2025_07_01_preview", + "value": "2025-07-01-preview", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2025-07-01-preview.", + "decorators": [] + }, + { + "$id": "101", + "kind": "enumvalue", + "name": "v2025_10_01", + "value": "2025-10-01", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2025-10-01.", + "decorators": [] + }, + { + "$id": "102", + "kind": "enumvalue", + "name": "v2025_11_01_preview", + "value": "2025-11-01-preview", + "valueType": { + "$ref": "96" + }, + "enumType": { + "$ref": "95" + }, + "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2025-11-01-preview.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Microsoft.DeviceRegistry Resource Provider supported API versions.", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "constants": [ + { + "$id": "103", + "kind": "constant", + "name": "CredentialName", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "valueType": { + "$id": "104", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "default", + "decorators": [] + }, + { + "$id": "105", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "107", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "108", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "109", + "kind": "constant", + "name": "createOrReplaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "111", + "kind": "constant", + "name": "createOrReplaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "112", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "113", + "kind": "constant", + "name": "createOrReplaceContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "114", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "115", + "kind": "constant", + "name": "createOrReplaceContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "116", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "117", + "kind": "constant", + "name": "updateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "118", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "119", + "kind": "constant", + "name": "updateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "120", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "121", + "kind": "constant", + "name": "updateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "122", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "123", + "kind": "constant", + "name": "updateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "124", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "125", + "kind": "constant", + "name": "listByResourceGroupContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "127", + "kind": "constant", + "name": "listBySubscriptionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "128", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "129", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "131", + "kind": "constant", + "name": "createOrReplaceContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "133", + "kind": "constant", + "name": "createOrReplaceContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "135", + "kind": "constant", + "name": "createOrReplaceContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "136", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "137", + "kind": "constant", + "name": "createOrReplaceContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "138", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "139", + "kind": "constant", + "name": "updateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "141", + "kind": "constant", + "name": "updateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "143", + "kind": "constant", + "name": "updateContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "145", + "kind": "constant", + "name": "updateContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "147", + "kind": "constant", + "name": "listByResourceGroupContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "148", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "149", + "kind": "constant", + "name": "listBySubscriptionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "151", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "153", + "kind": "constant", + "name": "listBySubscriptionContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "154", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "155", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "157", + "kind": "constant", + "name": "createOrReplaceContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "158", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "159", + "kind": "constant", + "name": "createOrReplaceContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "160", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "161", + "kind": "constant", + "name": "createOrReplaceContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "162", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "163", + "kind": "constant", + "name": "createOrReplaceContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "164", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "165", + "kind": "constant", + "name": "updateContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "167", + "kind": "constant", + "name": "updateContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "169", + "kind": "constant", + "name": "updateContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "171", + "kind": "constant", + "name": "updateContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "173", + "kind": "constant", + "name": "listByResourceGroupContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "175", + "kind": "constant", + "name": "listBySubscriptionContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "177", + "kind": "constant", + "name": "migrateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "179", + "kind": "constant", + "name": "migrateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "181", + "kind": "constant", + "name": "migrateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "183", + "kind": "constant", + "name": "migrateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "185", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "186", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "187", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "189", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "191", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "192", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "193", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "194", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "195", + "kind": "constant", + "name": "updateContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "197", + "kind": "constant", + "name": "updateContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "198", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "199", + "kind": "constant", + "name": "updateContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "200", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "201", + "kind": "constant", + "name": "updateContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "202", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "203", + "kind": "constant", + "name": "listByResourceGroupContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "205", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "207", + "kind": "constant", + "name": "createOrUpdateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "208", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "209", + "kind": "constant", + "name": "createOrUpdateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "210", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "211", + "kind": "constant", + "name": "createOrUpdateContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "213", + "kind": "constant", + "name": "createOrUpdateContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "214", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "215", + "kind": "constant", + "name": "updateContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "217", + "kind": "constant", + "name": "updateContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "219", + "kind": "constant", + "name": "updateContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "221", + "kind": "constant", + "name": "updateContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "223", + "kind": "constant", + "name": "listByResourceGroupContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "225", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "227", + "kind": "constant", + "name": "createOrReplaceContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "229", + "kind": "constant", + "name": "createOrReplaceContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "231", + "kind": "constant", + "name": "createOrReplaceContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "233", + "kind": "constant", + "name": "createOrReplaceContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "234", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "235", + "kind": "constant", + "name": "updateContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "236", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "237", + "kind": "constant", + "name": "updateContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "238", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "239", + "kind": "constant", + "name": "updateContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "241", + "kind": "constant", + "name": "updateContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "243", + "kind": "constant", + "name": "listByResourceGroupContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "245", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "247", + "kind": "constant", + "name": "createOrReplaceContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "248", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "249", + "kind": "constant", + "name": "createOrReplaceContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "251", + "kind": "constant", + "name": "createOrReplaceContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "253", + "kind": "constant", + "name": "createOrReplaceContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "255", + "kind": "constant", + "name": "updateContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "257", + "kind": "constant", + "name": "updateContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "259", + "kind": "constant", + "name": "updateContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "261", + "kind": "constant", + "name": "updateContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "263", + "kind": "constant", + "name": "listByResourceGroupContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "264", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "265", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "266", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "267", + "kind": "constant", + "name": "createOrReplaceContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "269", + "kind": "constant", + "name": "createOrReplaceContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "270", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "271", + "kind": "constant", + "name": "createOrReplaceContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "273", + "kind": "constant", + "name": "createOrReplaceContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "274", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "275", + "kind": "constant", + "name": "updateContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "276", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "277", + "kind": "constant", + "name": "updateContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "278", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "279", + "kind": "constant", + "name": "updateContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "281", + "kind": "constant", + "name": "updateContentType31", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "283", + "kind": "constant", + "name": "listByResourceGroupContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "284", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "285", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "287", + "kind": "constant", + "name": "createOrReplaceContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "289", + "kind": "constant", + "name": "createOrReplaceContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "290", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "291", + "kind": "constant", + "name": "createOrReplaceContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "293", + "kind": "constant", + "name": "createOrReplaceContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "295", + "kind": "constant", + "name": "updateContentType32", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "297", + "kind": "constant", + "name": "updateContentType33", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "299", + "kind": "constant", + "name": "updateContentType34", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "301", + "kind": "constant", + "name": "updateContentType35", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "302", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "303", + "kind": "constant", + "name": "listByResourceGroupContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "304", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "305", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "306", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "307", + "kind": "constant", + "name": "createOrReplaceContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "308", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "309", + "kind": "constant", + "name": "createOrReplaceContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "310", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "311", + "kind": "constant", + "name": "createOrReplaceContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "312", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "313", + "kind": "constant", + "name": "createOrReplaceContentType31", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "314", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "315", + "kind": "constant", + "name": "updateContentType36", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "316", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "317", + "kind": "constant", + "name": "updateContentType37", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "318", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "319", + "kind": "constant", + "name": "updateContentType38", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "320", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "321", + "kind": "constant", + "name": "updateContentType39", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "322", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "323", + "kind": "constant", + "name": "listByResourceGroupContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "324", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "325", + "kind": "constant", + "name": "listBySubscriptionContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "326", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "327", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "328", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "329", + "kind": "constant", + "name": "createOrReplaceContentType32", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "331", + "kind": "constant", + "name": "createOrReplaceContentType33", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "332", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "333", + "kind": "constant", + "name": "listBySchemaRegistryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "335", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "337", + "kind": "constant", + "name": "createOrReplaceContentType34", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "338", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "339", + "kind": "constant", + "name": "createOrReplaceContentType35", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "341", + "kind": "constant", + "name": "listBySchemaContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "342", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "343", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "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": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "344", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "345", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "346", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "summary": "REST API Operation", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "347", + "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": "348", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "349", + "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": "350", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "json": { + "name": "isDataAction" + } + }, + "isHttpMetadata": false + }, + { + "$id": "351", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "352", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "353", + "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": "354", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "json": { + "name": "provider" + } + }, + "isHttpMetadata": false + }, + { + "$id": "355", + "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": "356", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "json": { + "name": "resource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "357", + "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": "358", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "359", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "360", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "json": { + "name": "display" + } + }, + "isHttpMetadata": false + }, + { + "$id": "361", + "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": "1" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "json": { + "name": "origin" + } + }, + "isHttpMetadata": false + }, + { + "$id": "362", + "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": "6" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "363", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "364", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "365", + "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": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "346" + }, + { + "$ref": "352" + }, + { + "$id": "366", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "summary": "Error response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "367", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "368", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "369", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "371", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "373", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "374", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "375", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "376", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "368" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "377", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "378", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "379", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "380", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "382", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "383", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "json": { + "name": "info" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "json": { + "name": "additionalInfo" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "368" + }, + { + "$ref": "379" + }, + { + "$id": "384", + "kind": "model", + "name": "DeviceRegistryAsset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Asset definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "resourceType": "Microsoft.DeviceRegistry/assets", + "methods": [ + { + "$id": "385", + "methodId": "Microsoft.DeviceRegistry.Assets.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}" + }, + { + "$id": "386", + "methodId": "Microsoft.DeviceRegistry.Assets.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}" + }, + { + "$id": "387", + "methodId": "Microsoft.DeviceRegistry.Assets.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}" + }, + { + "$id": "388", + "methodId": "Microsoft.DeviceRegistry.Assets.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}" + }, + { + "$id": "389", + "methodId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets", + "operationScope": "ResourceGroup" + }, + { + "$id": "390", + "methodId": "Microsoft.DeviceRegistry.Assets.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets", + "operationScope": "Subscription" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DeviceRegistryAsset" + } + } + ], + "baseModel": { + "$id": "391", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "summary": "Tracked Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$id": "392", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "summary": "Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "393", + "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": "394", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "395", + "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": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "396", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "398", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "399", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "400", + "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": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "401", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "402", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "403", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "json": { + "name": "createdBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "405", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "31" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "json": { + "name": "createdByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "406", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "407", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "408", + "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": { + "json": { + "name": "createdAt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "409", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "410", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "json": { + "name": "lastModifiedBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "411", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "31" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "json": { + "name": "lastModifiedByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "412", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "413", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "414", + "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": { + "json": { + "name": "lastModifiedAt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "json": { + "name": "systemData" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "415", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "416", + "kind": "dict", + "keyType": { + "$id": "417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "418", + "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": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "419", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "420", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "json": { + "name": "location" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "422", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "423", + "kind": "model", + "name": "AssetProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "424", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable id.", + "type": { + "$id": "425", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "426", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enabled", + "doc": "Enabled/Disabled status of the asset.", + "type": { + "$id": "427", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "428", + "kind": "property", + "name": "externalAssetId", + "serializedName": "externalAssetId", + "doc": "Asset id provided by the customer.", + "type": { + "$id": "429", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.externalAssetId", + "serializationOptions": { + "json": { + "name": "externalAssetId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "430", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "431", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "432", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "433", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "434", + "kind": "property", + "name": "assetEndpointProfileRef", + "serializedName": "assetEndpointProfileRef", + "doc": "A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.", + "type": { + "$id": "435", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.assetEndpointProfileRef", + "serializationOptions": { + "json": { + "name": "assetEndpointProfileRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "436", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "437", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "438", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer name.", + "type": { + "$id": "439", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "440", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "441", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "442", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model name.", + "type": { + "$id": "443", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "444", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "445", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "446", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Revision number of the hardware.", + "type": { + "$id": "447", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "448", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Revision number of the software.", + "type": { + "$id": "449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "450", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Reference to the documentation.", + "type": { + "$id": "451", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "452", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "453", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "454", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$id": "455", + "kind": "dict", + "keyType": { + "$id": "456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "457", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "458", + "kind": "property", + "name": "discoveredAssetRefs", + "serializedName": "discoveredAssetRefs", + "doc": "Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.", + "type": { + "$id": "459", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "460", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.discoveredAssetRefs", + "serializationOptions": { + "json": { + "name": "discoveredAssetRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "461", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "463", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "464", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "465", + "kind": "property", + "name": "defaultTopic", + "serializedName": "defaultTopic", + "doc": "Object that describes the default topic information for the asset.", + "type": { + "$id": "466", + "kind": "model", + "name": "DeviceRegistryTopic", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Object that describes the topic information.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "467", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "The topic path for messages published to an MQTT broker.", + "type": { + "$id": "468", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.path", + "serializationOptions": { + "json": { + "name": "path" + } + }, + "isHttpMetadata": false + }, + { + "$id": "469", + "kind": "property", + "name": "retain", + "serializedName": "retain", + "doc": "When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.", + "type": { + "$ref": "9" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.retain", + "serializationOptions": { + "json": { + "name": "retain" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultTopic", + "serializationOptions": { + "json": { + "name": "defaultTopic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "470", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.", + "type": { + "$id": "471", + "kind": "array", + "name": "ArrayDataset", + "valueType": { + "$id": "472", + "kind": "model", + "name": "DeviceRegistryDataset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the dataset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "473", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the dataset.", + "type": { + "$id": "474", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "475", + "kind": "property", + "name": "datasetConfiguration", + "serializedName": "datasetConfiguration", + "doc": "Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.", + "type": { + "$id": "476", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.datasetConfiguration", + "serializationOptions": { + "json": { + "name": "datasetConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "477", + "kind": "property", + "name": "topic", + "serializedName": "topic", + "doc": "Object that describes the topic information for the specific dataset.", + "type": { + "$ref": "466" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.topic", + "serializationOptions": { + "json": { + "name": "topic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "478", + "kind": "property", + "name": "dataPoints", + "serializedName": "dataPoints", + "doc": "Array of data points that are part of the dataset. Each data point can have per-data point configuration.", + "type": { + "$id": "479", + "kind": "array", + "name": "ArrayDataPoint", + "valueType": { + "$id": "480", + "kind": "model", + "name": "DeviceRegistryDataPoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the data point properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$id": "481", + "kind": "model", + "name": "DeviceRegistryDataPointBase", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the data point properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "482", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the data point.", + "type": { + "$id": "483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "484", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.", + "type": { + "$id": "485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "486", + "kind": "property", + "name": "dataPointConfiguration", + "serializedName": "dataPointConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "487", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataPointConfiguration", + "serializationOptions": { + "json": { + "name": "dataPointConfiguration" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "488", + "kind": "property", + "name": "observabilityMode", + "serializedName": "observabilityMode", + "doc": "An indication of how the data point should be mapped to OpenTelemetry.", + "type": { + "$ref": "13" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint.observabilityMode", + "serializationOptions": { + "json": { + "name": "observabilityMode" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.dataPoints", + "serializationOptions": { + "json": { + "name": "dataPoints" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "489", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of events that are part of the asset. Each event can have per-event configuration.", + "type": { + "$id": "490", + "kind": "array", + "name": "ArrayEvent", + "valueType": { + "$id": "491", + "kind": "model", + "name": "DeviceRegistryEvent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$id": "492", + "kind": "model", + "name": "DeviceRegistryEventBase", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "493", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event.", + "type": { + "$id": "494", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "495", + "kind": "property", + "name": "eventNotifier", + "serializedName": "eventNotifier", + "doc": "The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.", + "type": { + "$id": "496", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventNotifier", + "serializationOptions": { + "json": { + "name": "eventNotifier" + } + }, + "isHttpMetadata": false + }, + { + "$id": "497", + "kind": "property", + "name": "eventConfiguration", + "serializedName": "eventConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "498", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventConfiguration", + "serializationOptions": { + "json": { + "name": "eventConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "499", + "kind": "property", + "name": "topic", + "serializedName": "topic", + "doc": "Object that describes the topic information for the specific event.", + "type": { + "$ref": "466" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.topic", + "serializationOptions": { + "json": { + "name": "topic" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "500", + "kind": "property", + "name": "observabilityMode", + "serializedName": "observabilityMode", + "doc": "An indication of how the event should be mapped to OpenTelemetry.", + "type": { + "$ref": "20" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event.observabilityMode", + "serializationOptions": { + "json": { + "name": "observabilityMode" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + }, + { + "$id": "501", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.", + "type": { + "$id": "502", + "kind": "model", + "name": "DeviceRegistryAssetStatus", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "503", + "kind": "property", + "name": "errors", + "serializedName": "errors", + "doc": "Array object to transfer and persist errors that originate from the Edge.", + "type": { + "$id": "504", + "kind": "array", + "name": "ArrayAssetStatusError", + "valueType": { + "$id": "505", + "kind": "model", + "name": "DeviceRegistryAssetStatusError", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status error properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "506", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).", + "type": { + "$id": "507", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "508", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).", + "type": { + "$id": "509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.errors", + "serializationOptions": { + "json": { + "name": "errors" + } + }, + "isHttpMetadata": false + }, + { + "$id": "510", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.", + "type": { + "$id": "511", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "512", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of dataset statuses that describe the status of each dataset.", + "type": { + "$id": "513", + "kind": "array", + "name": "ArrayAssetStatusDataset", + "valueType": { + "$id": "514", + "kind": "model", + "name": "DeviceRegistryAssetStatusDataset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status dataset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "515", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.", + "type": { + "$id": "516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "517", + "kind": "property", + "name": "messageSchemaReference", + "serializedName": "messageSchemaReference", + "doc": "The message schema reference object.", + "type": { + "$id": "518", + "kind": "model", + "name": "MessageSchemaReference", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the message schema reference properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "519", + "kind": "property", + "name": "schemaRegistryNamespace", + "serializedName": "schemaRegistryNamespace", + "doc": "The message schema registry namespace.", + "type": { + "$id": "520", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaRegistryNamespace", + "serializationOptions": { + "json": { + "name": "schemaRegistryNamespace" + } + }, + "isHttpMetadata": false + }, + { + "$id": "521", + "kind": "property", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "The message schema name.", + "type": { + "$id": "522", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaName", + "serializationOptions": { + "json": { + "name": "schemaName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "523", + "kind": "property", + "name": "schemaVersion", + "serializedName": "schemaVersion", + "doc": "The message schema version.", + "type": { + "$id": "524", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaVersion", + "serializationOptions": { + "json": { + "name": "schemaVersion" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.messageSchemaReference", + "serializationOptions": { + "json": { + "name": "messageSchemaReference" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "525", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of event statuses that describe the status of each event.", + "type": { + "$id": "526", + "kind": "array", + "name": "ArrayAssetStatusEvent", + "valueType": { + "$id": "527", + "kind": "model", + "name": "DeviceRegistryAssetStatusEvent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "528", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.", + "type": { + "$id": "529", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "530", + "kind": "property", + "name": "messageSchemaReference", + "serializedName": "messageSchemaReference", + "doc": "The message schema reference object.", + "type": { + "$ref": "518" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.messageSchemaReference", + "serializationOptions": { + "json": { + "name": "messageSchemaReference" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "531", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "532", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Asset name parameter.", + "type": { + "$id": "533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "534", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$id": "535", + "kind": "model", + "name": "DeviceRegistryExtendedLocation", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The extended location.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "536", + "kind": "property", + "name": "ExtendedLocationType", + "serializedName": "type", + "doc": "The extended location type.", + "type": { + "$id": "537", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "538", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The extended location name.", + "type": { + "$id": "539", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "423" + }, + { + "$ref": "466" + }, + { + "$ref": "472" + }, + { + "$ref": "480" + }, + { + "$ref": "481" + }, + { + "$ref": "491" + }, + { + "$ref": "492" + }, + { + "$ref": "502" + }, + { + "$ref": "505" + }, + { + "$ref": "514" + }, + { + "$ref": "518" + }, + { + "$ref": "527" + }, + { + "$ref": "535" + }, + { + "$ref": "391" + }, + { + "$ref": "392" + }, + { + "$ref": "402" + }, + { + "$id": "540", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "541", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "37" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "542", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier for the operationStatus resource", + "type": { + "$id": "543", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": true + }, + { + "$id": "544", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "545", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "546", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "547", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "548", + "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": { + "json": { + "name": "startTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "549", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "550", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "551", + "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": { + "json": { + "name": "endTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "552", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "553", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + }, + "isHttpMetadata": false + }, + { + "$id": "554", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "368" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "555", + "kind": "model", + "name": "AssetUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the Asset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "556", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "557", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "558", + "kind": "model", + "name": "AssetUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the Asset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "559", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enabled", + "doc": "Enabled/Disabled status of the asset.", + "type": { + "$id": "560", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "561", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "562", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "563", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "564", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "565", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer name.", + "type": { + "$id": "566", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "567", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "568", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "569", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model name.", + "type": { + "$id": "570", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "571", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "572", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "573", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Revision number of the hardware.", + "type": { + "$id": "574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "575", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Revision number of the software.", + "type": { + "$id": "576", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "577", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Reference to the documentation.", + "type": { + "$id": "578", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "579", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "580", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "581", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "582", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "583", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "584", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "585", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "586", + "kind": "property", + "name": "defaultTopic", + "serializedName": "defaultTopic", + "doc": "Object that describes the default topic information for the asset.", + "type": { + "$ref": "466" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultTopic", + "serializationOptions": { + "json": { + "name": "defaultTopic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "587", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.", + "type": { + "$ref": "471" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "588", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of events that are part of the asset. Each event can have per-event configuration.", + "type": { + "$ref": "490" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "558" + }, + { + "$id": "589", + "kind": "model", + "name": "AssetListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Asset list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "590", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Asset items on this page", + "type": { + "$id": "591", + "kind": "array", + "name": "ArrayAsset", + "valueType": { + "$ref": "384" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "592", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "593", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "594", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "595", + "kind": "model", + "name": "DeviceRegistryAssetEndpointProfile", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Asset Endpoint Profile definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "resourceType": "Microsoft.DeviceRegistry/assetEndpointProfiles", + "methods": [ + { + "$id": "596", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}" + }, + { + "$id": "597", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}" + }, + { + "$id": "598", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}" + }, + { + "$id": "599", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}" + }, + { + "$id": "600", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles", + "operationScope": "ResourceGroup" + }, + { + "$id": "601", + "methodId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles", + "operationScope": "Subscription" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DeviceRegistryAssetEndpointProfile" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "602", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "603", + "kind": "model", + "name": "DeviceRegistryAssetEndpointProfileProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the Asset Endpoint Profile properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "604", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable id.", + "type": { + "$id": "605", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "606", + "kind": "property", + "name": "targetAddress", + "serializedName": "targetAddress", + "doc": "The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.", + "type": { + "$id": "607", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.targetAddress", + "serializationOptions": { + "json": { + "name": "targetAddress" + } + }, + "isHttpMetadata": false + }, + { + "$id": "608", + "kind": "property", + "name": "endpointProfileType", + "serializedName": "endpointProfileType", + "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.", + "type": { + "$id": "609", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.endpointProfileType", + "serializationOptions": { + "json": { + "name": "endpointProfileType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "610", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Defines the client authentication mechanism to the server.", + "type": { + "$id": "611", + "kind": "model", + "name": "DeviceRegistryAuthentication", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Definition of the client authentication mechanism to the server.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "612", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Defines the method to authenticate the user of the client at the server.", + "type": { + "$ref": "42" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.method", + "serializationOptions": { + "json": { + "name": "method" + } + }, + "isHttpMetadata": false + }, + { + "$id": "613", + "kind": "property", + "name": "usernamePasswordCredentials", + "serializedName": "usernamePasswordCredentials", + "doc": "Defines the username and password references when UsernamePassword user authentication mode is selected.", + "type": { + "$id": "614", + "kind": "model", + "name": "DeviceRegistryUsernamePasswordCredentials", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The credentials for authentication mode UsernamePassword.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "615", + "kind": "property", + "name": "usernameSecretName", + "serializedName": "usernameSecretName", + "doc": "The name of the secret containing the username.", + "type": { + "$id": "616", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.usernameSecretName", + "serializationOptions": { + "json": { + "name": "usernameSecretName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "617", + "kind": "property", + "name": "passwordSecretName", + "serializedName": "passwordSecretName", + "doc": "The name of the secret containing the password.", + "type": { + "$id": "618", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.passwordSecretName", + "serializationOptions": { + "json": { + "name": "passwordSecretName" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.usernamePasswordCredentials", + "serializationOptions": { + "json": { + "name": "usernamePasswordCredentials" + } + }, + "isHttpMetadata": false + }, + { + "$id": "619", + "kind": "property", + "name": "x509Credentials", + "serializedName": "x509Credentials", + "doc": "Defines the certificate reference when Certificate user authentication mode is selected.", + "type": { + "$id": "620", + "kind": "model", + "name": "DeviceRegistryX509Credentials", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The x509 certificate for authentication mode Certificate.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "621", + "kind": "property", + "name": "certificateSecretName", + "serializedName": "certificateSecretName", + "doc": "The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).", + "type": { + "$id": "622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials.certificateSecretName", + "serializationOptions": { + "json": { + "name": "certificateSecretName" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.x509Credentials", + "serializationOptions": { + "json": { + "name": "x509Credentials" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.authentication", + "serializationOptions": { + "json": { + "name": "authentication" + } + }, + "isHttpMetadata": false + }, + { + "$id": "623", + "kind": "property", + "name": "additionalConfiguration", + "serializedName": "additionalConfiguration", + "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).", + "type": { + "$id": "624", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.additionalConfiguration", + "serializationOptions": { + "json": { + "name": "additionalConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "625", + "kind": "property", + "name": "discoveredAssetEndpointProfileRef", + "serializedName": "discoveredAssetEndpointProfileRef", + "doc": "Reference to a discovered asset endpoint profile. Populated only if the asset endpoint profile has been created from discovery flow. Discovered asset endpoint profile name must be provided.", + "type": { + "$id": "626", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.discoveredAssetEndpointProfileRef", + "serializationOptions": { + "json": { + "name": "discoveredAssetEndpointProfileRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "627", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.", + "type": { + "$id": "628", + "kind": "model", + "name": "AssetEndpointProfileStatus", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset endpoint profile status properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "629", + "kind": "property", + "name": "errors", + "serializedName": "errors", + "doc": "Array object to transfer and persist errors that originate from the Edge.", + "type": { + "$id": "630", + "kind": "array", + "name": "ArrayAssetEndpointProfileStatusError", + "valueType": { + "$id": "631", + "kind": "model", + "name": "AssetEndpointProfileStatusError", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset endpoint profile status error properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "632", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).", + "type": { + "$id": "633", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "634", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "Human readable helpful error message to provide additional context for error (ex: “targetAddress 'foo' is not a valid url”).", + "type": { + "$id": "635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus.errors", + "serializationOptions": { + "json": { + "name": "errors" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "636", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "637", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "638", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "639", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$ref": "535" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "603" + }, + { + "$ref": "611" + }, + { + "$ref": "614" + }, + { + "$ref": "620" + }, + { + "$ref": "628" + }, + { + "$ref": "631" + }, + { + "$id": "640", + "kind": "model", + "name": "AssetEndpointProfileUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the AssetEndpointProfile.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "641", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "642", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "643", + "kind": "model", + "name": "AssetEndpointProfileUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the AssetEndpointProfile.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "644", + "kind": "property", + "name": "targetAddress", + "serializedName": "targetAddress", + "doc": "The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.", + "type": { + "$id": "645", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.targetAddress", + "serializationOptions": { + "json": { + "name": "targetAddress" + } + }, + "isHttpMetadata": false + }, + { + "$id": "646", + "kind": "property", + "name": "endpointProfileType", + "serializedName": "endpointProfileType", + "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.", + "type": { + "$id": "647", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.endpointProfileType", + "serializationOptions": { + "json": { + "name": "endpointProfileType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "648", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Defines the client authentication mechanism to the server.", + "type": { + "$ref": "611" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.authentication", + "serializationOptions": { + "json": { + "name": "authentication" + } + }, + "isHttpMetadata": false + }, + { + "$id": "649", + "kind": "property", + "name": "additionalConfiguration", + "serializedName": "additionalConfiguration", + "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).", + "type": { + "$id": "650", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.additionalConfiguration", + "serializationOptions": { + "json": { + "name": "additionalConfiguration" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "643" + }, + { + "$id": "651", + "kind": "model", + "name": "AssetEndpointProfileListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a AssetEndpointProfile list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "652", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The AssetEndpointProfile items on this page", + "type": { + "$id": "653", + "kind": "array", + "name": "ArrayAssetEndpointProfile", + "valueType": { + "$ref": "595" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "654", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "655", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "656", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "657", + "kind": "model", + "name": "DeviceRegistryBillingContainer", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer", + "usage": "Output,Json", + "doc": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.@subscriptionResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}", + "resourceType": "Microsoft.DeviceRegistry/billingContainers", + "methods": [ + { + "$id": "658", + "methodId": "Microsoft.DeviceRegistry.BillingContainers.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}", + "operationScope": "Subscription", + "resourceScope": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}" + }, + { + "$id": "659", + "methodId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers", + "operationScope": "Subscription" + } + ], + "resourceScope": "Subscription", + "resourceName": "DeviceRegistryBillingContainer" + } + } + ], + "baseModel": { + "$id": "660", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "usage": "Input,Output,Json", + "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "summary": "Proxy Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "392" + }, + "properties": [] + }, + "properties": [ + { + "$id": "661", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "662", + "kind": "model", + "name": "BillingContainerProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties", + "usage": "Output,Json", + "doc": "Defines the billingContainer properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "663", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "664", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the billing container.", + "type": { + "$id": "665", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "666", + "kind": "property", + "name": "ETag", + "serializedName": "etag", + "doc": "Resource ETag", + "type": { + "$id": "667", + "kind": "string", + "name": "eTag", + "crossLanguageDefinitionId": "Azure.Core.eTag", + "baseType": { + "$id": "668", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.etag", + "serializationOptions": { + "json": { + "name": "etag" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "662" + }, + { + "$ref": "660" + }, + { + "$id": "669", + "kind": "model", + "name": "BillingContainerListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a BillingContainer list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "670", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The BillingContainer items on this page", + "type": { + "$id": "671", + "kind": "array", + "name": "ArrayBillingContainer", + "valueType": { + "$ref": "657" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "672", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "673", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "674", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "675", + "kind": "model", + "name": "DeviceRegistryNamespace", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespace", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Namespace definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces", + "methods": [ + { + "$id": "676", + "methodId": "Microsoft.DeviceRegistry.Namespaces.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + }, + { + "$id": "677", + "methodId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + }, + { + "$id": "678", + "methodId": "Microsoft.DeviceRegistry.Namespaces.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + }, + { + "$id": "679", + "methodId": "Microsoft.DeviceRegistry.Namespaces.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + }, + { + "$id": "680", + "methodId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces", + "operationScope": "ResourceGroup" + }, + { + "$id": "681", + "methodId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/namespaces", + "operationScope": "Subscription" + }, + { + "$id": "682", + "methodId": "Microsoft.DeviceRegistry.Namespaces.migrate", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/migrate", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DeviceRegistryNamespace" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "683", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "684", + "kind": "model", + "name": "DeviceRegistryNamespaceProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The namespace properties model.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "685", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable ID.", + "type": { + "$id": "686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "687", + "kind": "property", + "name": "messaging", + "serializedName": "messaging", + "doc": "Assigned and unassigned messaging endpoints.", + "type": { + "$id": "688", + "kind": "model", + "name": "Messaging", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Messaging", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The namespace messaging endpoints model.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "689", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Dictionary of messaging endpoints.", + "type": { + "$id": "690", + "kind": "dict", + "keyType": { + "$id": "691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "692", + "kind": "model", + "name": "MessagingEndpoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Namespace messaging endpoint model used by a device to connect to a service.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "693", + "kind": "property", + "name": "endpointType", + "serializedName": "endpointType", + "doc": "Type of connection used for messaging endpoint.", + "type": { + "$id": "694", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoint.endpointType", + "serializationOptions": { + "json": { + "name": "endpointType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "695", + "kind": "property", + "name": "address", + "serializedName": "address", + "doc": "The endpoint address to connect to.", + "type": { + "$id": "696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoint.address", + "serializationOptions": { + "json": { + "name": "address" + } + }, + "isHttpMetadata": false + }, + { + "$id": "697", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "The messaging endpoint Azure resource Id.", + "type": { + "$id": "698", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoint.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Messaging.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceProperties.messaging", + "serializationOptions": { + "json": { + "name": "messaging" + } + }, + "isHttpMetadata": false + }, + { + "$id": "699", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespace.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "700", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the namespace.", + "type": { + "$id": "701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespace.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "702", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "703", + "kind": "model", + "name": "SystemAssignedServiceIdentity", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Managed service identity (either system assigned, or none)", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "704", + "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": "705", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "706", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity.principalId", + "serializationOptions": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "707", + "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": "708", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity.tenantId", + "serializationOptions": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "710", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "47" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespace.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "684" + }, + { + "$ref": "688" + }, + { + "$ref": "692" + }, + { + "$ref": "703" + }, + { + "$id": "711", + "kind": "model", + "name": "NamespaceUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the Namespace.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "712", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$ref": "703" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + }, + { + "$id": "713", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "714", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "715", + "kind": "model", + "name": "NamespaceUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the Namespace.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "716", + "kind": "property", + "name": "messaging", + "serializedName": "messaging", + "doc": "Assigned and unassigned messaging endpoints.", + "type": { + "$ref": "688" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.messaging", + "serializationOptions": { + "json": { + "name": "messaging" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "715" + }, + { + "$id": "717", + "kind": "model", + "name": "NamespaceListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Namespace list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "718", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Namespace items on this page", + "type": { + "$id": "719", + "kind": "array", + "name": "ArrayNamespace", + "valueType": { + "$ref": "675" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "720", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "721", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "722", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "723", + "kind": "model", + "name": "NamespaceMigrateContent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMigrateRequest", + "usage": "Input,Json", + "doc": "Request body for the migrate resources operation in to Namespace resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "724", + "kind": "property", + "name": "scope", + "serializedName": "scope", + "doc": "Scope of the migrate resources operation.", + "type": { + "$ref": "51" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMigrateRequest.scope", + "serializationOptions": { + "json": { + "name": "scope" + } + }, + "isHttpMetadata": false + }, + { + "$id": "725", + "kind": "property", + "name": "resourceIds", + "serializedName": "resourceIds", + "doc": "List of asset resources to be migrated.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMigrateRequest.resourceIds", + "serializationOptions": { + "json": { + "name": "resourceIds" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "726", + "kind": "model", + "name": "NamespaceMigrateResponse", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMigrateResponse", + "usage": "Json,LroInitial", + "doc": "Response for the migrate asset resources operation into Namespace resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "727", + "kind": "property", + "name": "migrateResults", + "serializedName": "migrateResults", + "doc": "List of migrate results containing result of each asset migrate operation.", + "type": { + "$id": "728", + "kind": "array", + "name": "ArrayMigrateResult", + "valueType": { + "$id": "729", + "kind": "model", + "name": "MigrateResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MigrateResult", + "usage": "Json,LroInitial", + "doc": "Result of Migrate operation of asset resource into Namespace resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "730", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "The resource Id of the asset resource.", + "type": { + "$id": "731", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MigrateResult.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "732", + "kind": "property", + "name": "result", + "serializedName": "result", + "doc": "The result of the migrate operation.", + "type": { + "$ref": "54" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MigrateResult.result", + "serializationOptions": { + "json": { + "name": "result" + } + }, + "isHttpMetadata": false + }, + { + "$id": "733", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error if the migrate operation is not successful.", + "type": { + "$id": "734", + "kind": "model", + "name": "Error", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Error", + "usage": "Json,LroInitial", + "doc": "Defines the error object with properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "735", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "Error code for classification of errors (ex: '400', '404', '500', etc.).", + "type": { + "$id": "736", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Error.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "737", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).", + "type": { + "$id": "738", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Error.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "739", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "Array of error details that describe the status of each error.", + "type": { + "$id": "740", + "kind": "array", + "name": "ArrayErrorDetails", + "valueType": { + "$id": "741", + "kind": "model", + "name": "DeviceRegistryErrorDetails", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ErrorDetails", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the error details properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "742", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).", + "type": { + "$id": "743", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ErrorDetails.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "744", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).", + "type": { + "$id": "745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ErrorDetails.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "746", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).", + "type": { + "$id": "747", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ErrorDetails.info", + "serializationOptions": { + "json": { + "name": "info" + } + }, + "isHttpMetadata": false + }, + { + "$id": "748", + "kind": "property", + "name": "correlationId", + "serializedName": "correlationId", + "doc": "Unique identifier for the transaction to aid in debugging.", + "type": { + "$id": "749", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ErrorDetails.correlationId", + "serializationOptions": { + "json": { + "name": "correlationId" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Error.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MigrateResult.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMigrateResponse.migrateResults", + "serializationOptions": { + "json": { + "name": "migrateResults" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "729" + }, + { + "$ref": "734" + }, + { + "$ref": "741" + }, + { + "$id": "750", + "kind": "model", + "name": "Credential", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credential", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A Credential Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "resourceType": "Microsoft.DeviceRegistry/namespaces/credentials", + "methods": [ + { + "$id": "751", + "methodId": "Microsoft.DeviceRegistry.Credentials.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + }, + { + "$id": "752", + "methodId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + }, + { + "$id": "753", + "methodId": "Microsoft.DeviceRegistry.Credentials.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + }, + { + "$id": "754", + "methodId": "Microsoft.DeviceRegistry.Credentials.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + }, + { + "$id": "755", + "methodId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + }, + { + "$id": "756", + "methodId": "Microsoft.DeviceRegistry.Credentials.synchronize", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/synchronize", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceName": "Credential" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "757", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "758", + "kind": "model", + "name": "CredentialProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CredentialProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Details of the Credential Resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "759", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CredentialProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credential.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "760", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the Credential tracked resource.", + "type": { + "$ref": "103" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credential.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "758" + }, + { + "$id": "761", + "kind": "model", + "name": "CredentialUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the Credential.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "762", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "763", + "kind": "model", + "name": "CredentialListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Credential list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "764", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Credential items on this page", + "type": { + "$id": "765", + "kind": "array", + "name": "ArrayCredential", + "valueType": { + "$ref": "750" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "766", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "767", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "768", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "769", + "kind": "model", + "name": "Policy", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policy", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A Credential Policy", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces/credentials/policies", + "methods": [ + { + "$id": "770", + "methodId": "Microsoft.DeviceRegistry.Policies.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}" + }, + { + "$id": "771", + "methodId": "Microsoft.DeviceRegistry.Policies.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}" + }, + { + "$id": "772", + "methodId": "Microsoft.DeviceRegistry.Policies.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}" + }, + { + "$id": "773", + "methodId": "Microsoft.DeviceRegistry.Policies.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}" + }, + { + "$id": "774", + "methodId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "resourceName": "Policy" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "775", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "776", + "kind": "model", + "name": "PolicyProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.PolicyProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Details of the Credential Policy.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "777", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.PolicyProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "778", + "kind": "property", + "name": "certificate", + "serializedName": "certificate", + "doc": "The certificate configuration.", + "type": { + "$id": "779", + "kind": "model", + "name": "CertificateConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The certificate configuration.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "780", + "kind": "property", + "name": "certificateAuthorityConfiguration", + "serializedName": "certificateAuthorityConfiguration", + "doc": "The configuration to set up an ICA.", + "type": { + "$id": "781", + "kind": "model", + "name": "CertificateAuthorityConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateAuthorityConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The configuration to set up an ICA.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "782", + "kind": "property", + "name": "keyType", + "serializedName": "keyType", + "doc": "Crypto type: ECC.", + "type": { + "$ref": "58" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateAuthorityConfiguration.keyType", + "serializationOptions": { + "json": { + "name": "keyType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "783", + "kind": "property", + "name": "subject", + "serializedName": "subject", + "doc": "Certificate subject.", + "type": { + "$id": "784", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateAuthorityConfiguration.subject", + "serializationOptions": { + "json": { + "name": "subject" + } + }, + "isHttpMetadata": false + }, + { + "$id": "785", + "kind": "property", + "name": "validityNotBefore", + "serializedName": "validityNotBefore", + "doc": "Certificate is valid not before this date. Format ISO8601. Generated based on on validity period.", + "type": { + "$id": "786", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "787", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateAuthorityConfiguration.validityNotBefore", + "serializationOptions": { + "json": { + "name": "validityNotBefore" + } + }, + "isHttpMetadata": false + }, + { + "$id": "788", + "kind": "property", + "name": "validityNotAfter", + "serializedName": "validityNotAfter", + "doc": "Certificate is valid not after this date. Format ISO8601. Generated based on validity period.", + "type": { + "$id": "789", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "790", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateAuthorityConfiguration.validityNotAfter", + "serializationOptions": { + "json": { + "name": "validityNotAfter" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateConfiguration.certificateAuthorityConfiguration", + "serializationOptions": { + "json": { + "name": "certificateAuthorityConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "791", + "kind": "property", + "name": "leafCertificateConfiguration", + "serializedName": "leafCertificateConfiguration", + "doc": "The leaf certificate configuration.", + "type": { + "$id": "792", + "kind": "model", + "name": "LeafCertificateConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.LeafCertificateConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The leaf certificate configuration.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "793", + "kind": "property", + "name": "validityPeriodInDays", + "serializedName": "validityPeriodInDays", + "doc": "The validity period in days.", + "type": { + "$id": "794", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.LeafCertificateConfiguration.validityPeriodInDays", + "serializationOptions": { + "json": { + "name": "validityPeriodInDays" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.CertificateConfiguration.leafCertificateConfiguration", + "serializationOptions": { + "json": { + "name": "leafCertificateConfiguration" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.PolicyProperties.certificate", + "serializationOptions": { + "json": { + "name": "certificate" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policy.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "795", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "796", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policy.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "776" + }, + { + "$ref": "779" + }, + { + "$ref": "781" + }, + { + "$ref": "792" + }, + { + "$id": "797", + "kind": "model", + "name": "PolicyUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the Policy.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "798", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "799", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "800", + "kind": "model", + "name": "PolicyUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the Policy.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "801", + "kind": "property", + "name": "certificate", + "serializedName": "certificate", + "doc": "The certificate configuration.", + "type": { + "$ref": "779" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.certificate", + "serializationOptions": { + "json": { + "name": "certificate" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "800" + }, + { + "$id": "802", + "kind": "model", + "name": "PolicyListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Policy list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "803", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Policy items on this page", + "type": { + "$id": "804", + "kind": "array", + "name": "ArrayPolicy", + "valueType": { + "$ref": "769" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "805", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "806", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "807", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "808", + "kind": "model", + "name": "DeviceRegistryNamespaceAsset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAsset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Asset definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces/assets", + "methods": [ + { + "$id": "809", + "methodId": "Microsoft.DeviceRegistry.NamespaceAssets.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}" + }, + { + "$id": "810", + "methodId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}" + }, + { + "$id": "811", + "methodId": "Microsoft.DeviceRegistry.NamespaceAssets.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}" + }, + { + "$id": "812", + "methodId": "Microsoft.DeviceRegistry.NamespaceAssets.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}" + }, + { + "$id": "813", + "methodId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceName": "DeviceRegistryNamespaceAsset" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "814", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "815", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "816", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable ID.", + "type": { + "$id": "817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "818", + "kind": "property", + "name": "enabled", + "serializedName": "enabled", + "doc": "Enabled/disabled status of the asset.", + "type": { + "$id": "819", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "820", + "kind": "property", + "name": "externalAssetId", + "serializedName": "externalAssetId", + "doc": "Asset ID provided by the customer.", + "type": { + "$id": "821", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.externalAssetId", + "serializationOptions": { + "json": { + "name": "externalAssetId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "822", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "823", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "824", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "826", + "kind": "property", + "name": "deviceRef", + "serializedName": "deviceRef", + "doc": "Reference to the device that provides data for this asset. Must provide device name & endpoint on the device to use.", + "type": { + "$id": "827", + "kind": "model", + "name": "DeviceRef", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceRef", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines which device and endpoint to use for this asset", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "828", + "kind": "property", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "Name of the device resource", + "type": { + "$id": "829", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceRef.deviceName", + "serializationOptions": { + "json": { + "name": "deviceName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "830", + "kind": "property", + "name": "endpointName", + "serializedName": "endpointName", + "doc": "The name of endpoint to use", + "type": { + "$id": "831", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceRef.endpointName", + "serializationOptions": { + "json": { + "name": "endpointName" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.deviceRef", + "serializationOptions": { + "json": { + "name": "deviceRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "832", + "kind": "property", + "name": "assetTypeRefs", + "serializedName": "assetTypeRefs", + "doc": "URIs or type definition IDs.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.assetTypeRefs", + "serializationOptions": { + "json": { + "name": "assetTypeRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "833", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "834", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "835", + "kind": "property", + "name": "lastTransitionTime", + "serializedName": "lastTransitionTime", + "doc": "A timestamp (in UTC) that is updated each time the resource is modified.", + "type": { + "$id": "836", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "837", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.lastTransitionTime", + "serializationOptions": { + "json": { + "name": "lastTransitionTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "838", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer.", + "type": { + "$id": "839", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "840", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "841", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "842", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model.", + "type": { + "$id": "843", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "844", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "845", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "846", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Asset hardware revision number.", + "type": { + "$id": "847", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "848", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Asset software revision number.", + "type": { + "$id": "849", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "850", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Asset documentation reference.", + "type": { + "$id": "851", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "852", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "853", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "854", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "855", + "kind": "property", + "name": "discoveredAssetRefs", + "serializedName": "discoveredAssetRefs", + "doc": "Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.discoveredAssetRefs", + "serializationOptions": { + "json": { + "name": "discoveredAssetRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "856", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "857", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "858", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "859", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "860", + "kind": "property", + "name": "defaultStreamsConfiguration", + "serializedName": "defaultStreamsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.", + "type": { + "$id": "861", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultStreamsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultStreamsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "862", + "kind": "property", + "name": "defaultManagementGroupsConfiguration", + "serializedName": "defaultManagementGroupsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.", + "type": { + "$id": "863", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultManagementGroupsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultManagementGroupsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "864", + "kind": "property", + "name": "defaultDatasetsDestinations", + "serializedName": "defaultDatasetsDestinations", + "doc": "Default destinations for a dataset.", + "type": { + "$id": "865", + "kind": "array", + "name": "ArrayDatasetDestination", + "valueType": { + "$id": "866", + "kind": "model", + "name": "DatasetDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type of the destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "discriminatorProperty": { + "$id": "867", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "Target destination.", + "type": { + "$ref": "61" + }, + "optional": true, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "867" + } + ], + "discriminatedSubtypes": { + "Mqtt": { + "$id": "868", + "kind": "model", + "name": "DatasetMqttDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetMqttDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a MQTT destination.", + "discriminatorValue": "Mqtt", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "866" + }, + "properties": [ + { + "$id": "869", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The MQTT destination type.", + "type": { + "$id": "870", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$id": "871", + "kind": "enum", + "decorators": [], + "doc": "The set of supported dataset destinations for an asset.", + "name": "DatasetDestinationTarget", + "isGeneratedName": false, + "namespace": "Azure.ResourceManager.DeviceRegistry", + "valueType": { + "$id": "872", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "873", + "kind": "enumvalue", + "decorators": [], + "doc": "MQTT target.", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "872" + }, + "enumType": { + "$ref": "871" + } + }, + { + "$id": "874", + "kind": "enumvalue", + "decorators": [], + "doc": "Broker State Store target.", + "name": "BrokerStateStore", + "value": "BrokerStateStore", + "valueType": { + "$ref": "872" + }, + "enumType": { + "$ref": "871" + } + }, + { + "$id": "875", + "kind": "enumvalue", + "decorators": [], + "doc": "Storage target.", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "872" + }, + "enumType": { + "$ref": "871" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "access": "public", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetDestinationTarget", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "isUnionAsEnum": true, + "__accessSet": true + }, + "doc": "MQTT target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetMqttDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "876", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The MQTT destination configuration.", + "type": { + "$id": "877", + "kind": "model", + "name": "MqttDestinationConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The configuration for a MQTT destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "878", + "kind": "property", + "name": "topic", + "serializedName": "topic", + "doc": "The MQTT topic.", + "type": { + "$id": "879", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationConfiguration.topic", + "serializationOptions": { + "json": { + "name": "topic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "880", + "kind": "property", + "name": "retain", + "serializedName": "retain", + "doc": "When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.", + "type": { + "$ref": "9" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationConfiguration.retain", + "serializationOptions": { + "json": { + "name": "retain" + } + }, + "isHttpMetadata": false + }, + { + "$id": "881", + "kind": "property", + "name": "qos", + "serializedName": "qos", + "doc": "The MQTT QoS setting. Defaults to QoS 1.", + "type": { + "$ref": "66" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationConfiguration.qos", + "serializationOptions": { + "json": { + "name": "qos" + } + }, + "isHttpMetadata": false + }, + { + "$id": "882", + "kind": "property", + "name": "ttl", + "serializedName": "ttl", + "doc": "The MQTT TTL setting.", + "type": { + "$id": "883", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MqttDestinationConfiguration.ttl", + "serializationOptions": { + "json": { + "name": "ttl" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetMqttDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + }, + "BrokerStateStore": { + "$id": "884", + "kind": "model", + "name": "DatasetBrokerStateStoreDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetBrokerStateStoreDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a MQTT broker state store destination.", + "discriminatorValue": "BrokerStateStore", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "866" + }, + "properties": [ + { + "$id": "885", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The MQTT broker state store destination target.", + "type": { + "$id": "886", + "kind": "enumvalue", + "name": "BrokerStateStore", + "value": "BrokerStateStore", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$ref": "871" + }, + "doc": "Broker State Store target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetBrokerStateStoreDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "887", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The MQTT broker state store destination configuration.", + "type": { + "$id": "888", + "kind": "model", + "name": "BrokerStateStoreDestinationConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BrokerStateStoreDestinationConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The configuration for a MQTT broker state store destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "889", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "The MQTT broker state store destination key.", + "type": { + "$id": "890", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BrokerStateStoreDestinationConfiguration.key", + "serializationOptions": { + "json": { + "name": "key" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetBrokerStateStoreDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + }, + "Storage": { + "$id": "891", + "kind": "model", + "name": "DatasetStorageDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetStorageDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a storage destination.", + "discriminatorValue": "Storage", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "866" + }, + "properties": [ + { + "$id": "892", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The storage destination type.", + "type": { + "$id": "893", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "62" + }, + "enumType": { + "$ref": "871" + }, + "doc": "Storage target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetStorageDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "894", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The storage destination configuration.", + "type": { + "$id": "895", + "kind": "model", + "name": "StorageDestinationConfiguration", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StorageDestinationConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The configuration for a storage destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "896", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "The storage destination path.", + "type": { + "$id": "897", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StorageDestinationConfiguration.path", + "serializationOptions": { + "json": { + "name": "path" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DatasetStorageDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + } + } + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultDatasetsDestinations", + "serializationOptions": { + "json": { + "name": "defaultDatasetsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "898", + "kind": "property", + "name": "defaultEventsDestinations", + "serializedName": "defaultEventsDestinations", + "doc": "Default destinations for an event.", + "type": { + "$id": "899", + "kind": "array", + "name": "ArrayEventDestination", + "valueType": { + "$id": "900", + "kind": "model", + "name": "EventDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type of the destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "discriminatorProperty": { + "$id": "901", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "Target destination.", + "type": { + "$ref": "70" + }, + "optional": true, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "901" + } + ], + "discriminatedSubtypes": { + "Mqtt": { + "$id": "902", + "kind": "model", + "name": "EventMqttDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventMqttDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a MQTT destination.", + "discriminatorValue": "Mqtt", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "900" + }, + "properties": [ + { + "$id": "903", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The MQTT destination type.", + "type": { + "$id": "904", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "71" + }, + "enumType": { + "$id": "905", + "kind": "enum", + "decorators": [], + "doc": "The set of supported event destinations for an asset.", + "name": "EventDestinationTarget", + "isGeneratedName": false, + "namespace": "Azure.ResourceManager.DeviceRegistry", + "valueType": { + "$id": "906", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "907", + "kind": "enumvalue", + "decorators": [], + "doc": "MQTT target.", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "906" + }, + "enumType": { + "$ref": "905" + } + }, + { + "$id": "908", + "kind": "enumvalue", + "decorators": [], + "doc": "Storage target.", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "906" + }, + "enumType": { + "$ref": "905" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "access": "public", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventDestinationTarget", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "isUnionAsEnum": true, + "__accessSet": true + }, + "doc": "MQTT target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventMqttDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "909", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The MQTT destination configuration.", + "type": { + "$ref": "877" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventMqttDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + }, + "Storage": { + "$id": "910", + "kind": "model", + "name": "EventStorageDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventStorageDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a storage destination.", + "discriminatorValue": "Storage", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "900" + }, + "properties": [ + { + "$id": "911", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The storage destination type.", + "type": { + "$id": "912", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "71" + }, + "enumType": { + "$ref": "905" + }, + "doc": "Storage target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventStorageDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "913", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The storage destination configuration.", + "type": { + "$ref": "895" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventStorageDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + } + } + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultEventsDestinations", + "serializationOptions": { + "json": { + "name": "defaultEventsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "914", + "kind": "property", + "name": "defaultStreamsDestinations", + "serializedName": "defaultStreamsDestinations", + "doc": "Default destinations for a stream.", + "type": { + "$id": "915", + "kind": "array", + "name": "ArrayStreamDestination", + "valueType": { + "$id": "916", + "kind": "model", + "name": "StreamDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type of the destination.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "discriminatorProperty": { + "$id": "917", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "Target destination.", + "type": { + "$ref": "74" + }, + "optional": true, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "917" + } + ], + "discriminatedSubtypes": { + "Mqtt": { + "$id": "918", + "kind": "model", + "name": "StreamMqttDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamMqttDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a MQTT destination.", + "discriminatorValue": "Mqtt", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "916" + }, + "properties": [ + { + "$id": "919", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The MQTT destination type.", + "type": { + "$id": "920", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "75" + }, + "enumType": { + "$id": "921", + "kind": "enum", + "decorators": [], + "doc": "The set of supported stream destinations for an asset.", + "name": "StreamDestinationTarget", + "isGeneratedName": false, + "namespace": "Azure.ResourceManager.DeviceRegistry", + "valueType": { + "$id": "922", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "923", + "kind": "enumvalue", + "decorators": [], + "doc": "MQTT target.", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$ref": "922" + }, + "enumType": { + "$ref": "921" + } + }, + { + "$id": "924", + "kind": "enumvalue", + "decorators": [], + "doc": "Storage target.", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "922" + }, + "enumType": { + "$ref": "921" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "access": "public", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamDestinationTarget", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "isUnionAsEnum": true, + "__accessSet": true + }, + "doc": "MQTT target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamMqttDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "925", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The MQTT destination configuration.", + "type": { + "$ref": "877" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamMqttDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + }, + "Storage": { + "$id": "926", + "kind": "model", + "name": "StreamStorageDestination", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamStorageDestination", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The type for a storage destination.", + "discriminatorValue": "Storage", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "916" + }, + "properties": [ + { + "$id": "927", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The storage destination type.", + "type": { + "$id": "928", + "kind": "enumvalue", + "name": "Storage", + "value": "Storage", + "valueType": { + "$ref": "75" + }, + "enumType": { + "$ref": "921" + }, + "doc": "Storage target.", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamStorageDestination.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "929", + "kind": "property", + "name": "configuration", + "serializedName": "configuration", + "doc": "The storage destination configuration.", + "type": { + "$ref": "895" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StreamStorageDestination.configuration", + "serializationOptions": { + "json": { + "name": "configuration" + } + }, + "isHttpMetadata": false + } + ] + } + } + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.defaultStreamsDestinations", + "serializationOptions": { + "json": { + "name": "defaultStreamsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "930", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.", + "type": { + "$id": "931", + "kind": "array", + "name": "ArrayNamespaceDataset", + "valueType": { + "$id": "932", + "kind": "model", + "name": "NamespaceDataset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the dataset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "933", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the dataset.", + "type": { + "$id": "934", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "935", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given dataset.", + "type": { + "$id": "936", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "937", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "938", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "939", + "kind": "property", + "name": "datasetConfiguration", + "serializedName": "datasetConfiguration", + "doc": "Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.", + "type": { + "$id": "940", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.datasetConfiguration", + "serializationOptions": { + "json": { + "name": "datasetConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "941", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for a dataset.", + "type": { + "$ref": "865" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "942", + "kind": "property", + "name": "dataPoints", + "serializedName": "dataPoints", + "doc": "Array of data points that are part of the dataset. Each data point can have per-data point configuration.", + "type": { + "$id": "943", + "kind": "array", + "name": "ArrayNamespaceDatasetDataPoint", + "valueType": { + "$id": "944", + "kind": "model", + "name": "NamespaceDatasetDataPoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDatasetDataPoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the dataset data point properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "945", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the data point.", + "type": { + "$id": "946", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDatasetDataPoint.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "947", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.", + "type": { + "$id": "948", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDatasetDataPoint.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "949", + "kind": "property", + "name": "dataPointConfiguration", + "serializedName": "dataPointConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "950", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDatasetDataPoint.dataPointConfiguration", + "serializationOptions": { + "json": { + "name": "dataPointConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "951", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "952", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDatasetDataPoint.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDataset.dataPoints", + "serializationOptions": { + "json": { + "name": "dataPoints" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "953", + "kind": "property", + "name": "eventGroups", + "serializedName": "eventGroups", + "doc": "Array of event groups that are part of the asset. Each event group can have per-event group configuration.", + "type": { + "$id": "954", + "kind": "array", + "name": "ArrayNamespaceEventGroup", + "valueType": { + "$id": "955", + "kind": "model", + "name": "NamespaceEventGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the event group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "956", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event group.", + "type": { + "$id": "957", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "958", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "The address of the notifier of the event group in the asset (e.g. URL) so that a client can access the event group on the asset.", + "type": { + "$id": "959", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "960", + "kind": "property", + "name": "eventGroupConfiguration", + "serializedName": "eventGroupConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the event group. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "961", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.eventGroupConfiguration", + "serializationOptions": { + "json": { + "name": "eventGroupConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "962", + "kind": "property", + "name": "defaultDestinations", + "serializedName": "defaultDestinations", + "doc": "Destinations for events. Default destinations when destinations is not defined at the event level.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.defaultDestinations", + "serializationOptions": { + "json": { + "name": "defaultDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "963", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "964", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "965", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of events that are part of the event group.", + "type": { + "$id": "966", + "kind": "array", + "name": "ArrayNamespaceEvent", + "valueType": { + "$id": "967", + "kind": "model", + "name": "NamespaceEvent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "968", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event.", + "type": { + "$id": "969", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "970", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given event.", + "type": { + "$id": "971", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "972", + "kind": "property", + "name": "eventConfiguration", + "serializedName": "eventConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent.eventConfiguration", + "serializationOptions": { + "json": { + "name": "eventConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "974", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for an event.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "975", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "976", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEvent.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceEventGroup.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.eventGroups", + "serializationOptions": { + "json": { + "name": "eventGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "977", + "kind": "property", + "name": "streams", + "serializedName": "streams", + "doc": "Array of streams that are part of the asset. Each stream can have a per-stream configuration.", + "type": { + "$id": "978", + "kind": "array", + "name": "ArrayNamespaceStream", + "valueType": { + "$id": "979", + "kind": "model", + "name": "NamespaceStream", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceStream", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the stream properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "980", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the stream definition.", + "type": { + "$id": "981", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceStream.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "982", + "kind": "property", + "name": "streamConfiguration", + "serializedName": "streamConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the specific stream.", + "type": { + "$id": "983", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceStream.streamConfiguration", + "serializationOptions": { + "json": { + "name": "streamConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "984", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceStream.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "986", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for a stream.", + "type": { + "$ref": "915" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceStream.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.streams", + "serializationOptions": { + "json": { + "name": "streams" + } + }, + "isHttpMetadata": false + }, + { + "$id": "987", + "kind": "property", + "name": "managementGroups", + "serializedName": "managementGroups", + "doc": "Array of management groups that are part of the asset. Each management group can have a per-group configuration.", + "type": { + "$id": "988", + "kind": "array", + "name": "ArrayManagementGroup", + "valueType": { + "$id": "989", + "kind": "model", + "name": "ManagementGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the management group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "990", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the management group.", + "type": { + "$id": "991", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "992", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given management group.", + "type": { + "$id": "993", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "994", + "kind": "property", + "name": "managementGroupConfiguration", + "serializedName": "managementGroupConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the management group.", + "type": { + "$id": "995", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.managementGroupConfiguration", + "serializationOptions": { + "json": { + "name": "managementGroupConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "996", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "997", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "998", + "kind": "property", + "name": "defaultTopic", + "serializedName": "defaultTopic", + "doc": "Default MQTT topic path on which a client will receive the request for all actions that are part of the management group.", + "type": { + "$id": "999", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.defaultTopic", + "serializationOptions": { + "json": { + "name": "defaultTopic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1000", + "kind": "property", + "name": "defaultTimeoutInSeconds", + "serializedName": "defaultTimeoutInSeconds", + "doc": "Default response timeout for all actions that are part of the management group.", + "type": { + "$id": "1001", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.defaultTimeoutInSeconds", + "serializationOptions": { + "json": { + "name": "defaultTimeoutInSeconds" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1002", + "kind": "property", + "name": "actions", + "serializedName": "actions", + "doc": "Array of actions that are part of the management group. Each action can have an individual configuration.", + "type": { + "$id": "1003", + "kind": "array", + "name": "ArrayManagementAction", + "valueType": { + "$id": "1004", + "kind": "model", + "name": "ManagementAction", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the action properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1005", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the action.", + "type": { + "$id": "1006", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1007", + "kind": "property", + "name": "actionConfiguration", + "serializedName": "actionConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the action.", + "type": { + "$id": "1008", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.actionConfiguration", + "serializationOptions": { + "json": { + "name": "actionConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1009", + "kind": "property", + "name": "targetUri", + "serializedName": "targetUri", + "doc": "The target URI on which a client can invoke the specific action.", + "type": { + "$id": "1010", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.targetUri", + "serializationOptions": { + "json": { + "name": "targetUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1011", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1013", + "kind": "property", + "name": "topic", + "serializedName": "topic", + "doc": "The MQTT topic path on which a client will receive the request for the action.", + "type": { + "$id": "1014", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.topic", + "serializationOptions": { + "json": { + "name": "topic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1015", + "kind": "property", + "name": "actionType", + "serializedName": "actionType", + "doc": "The type of the action.", + "type": { + "$ref": "78" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1016", + "kind": "property", + "name": "timeoutInSeconds", + "serializedName": "timeoutInSeconds", + "doc": "Response timeout for the action.", + "type": { + "$id": "1017", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementAction.timeoutInSeconds", + "serializationOptions": { + "json": { + "name": "timeoutInSeconds" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ManagementGroup.actions", + "serializationOptions": { + "json": { + "name": "actions" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.managementGroups", + "serializationOptions": { + "json": { + "name": "managementGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1018", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.", + "type": { + "$id": "1019", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatus", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1020", + "kind": "property", + "name": "config", + "serializedName": "config", + "doc": "Defines the asset status config properties.", + "type": { + "$id": "1021", + "kind": "model", + "name": "DeviceRegistryStatusConfig", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusConfig", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the status config properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1022", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "A read-only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.", + "type": { + "$id": "1023", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusConfig.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1024", + "kind": "property", + "name": "lastTransitionTime", + "serializedName": "lastTransitionTime", + "doc": "A read-only timestamp indicating the last time the configuration has been modified from the perspective of the current actual (edge) state of the CRD. Edge would be the only writer of this value and would sync back up to the cloud.", + "type": { + "$id": "1025", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1026", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusConfig.lastTransitionTime", + "serializationOptions": { + "json": { + "name": "lastTransitionTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1027", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Object to transfer and persist errors that originate from the edge.", + "type": { + "$id": "1028", + "kind": "model", + "name": "DeviceRegistryStatusError", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusError", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the status config error properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1029", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "Error code for classification of errors (ex: '400', '404', '500', etc.).", + "type": { + "$id": "1030", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusError.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1031", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).", + "type": { + "$id": "1032", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusError.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1033", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "Array of error details that describe the status of each error.", + "type": { + "$ref": "740" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusError.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.StatusConfig.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus.config", + "serializationOptions": { + "json": { + "name": "config" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1034", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of dataset statuses that describe the status of each dataset.", + "type": { + "$id": "1035", + "kind": "array", + "name": "ArrayNamespaceAssetStatusDataset", + "valueType": { + "$id": "1036", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusDataset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusDataset", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status dataset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1037", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.", + "type": { + "$id": "1038", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusDataset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1039", + "kind": "property", + "name": "messageSchemaReference", + "serializedName": "messageSchemaReference", + "doc": "The message schema reference object.", + "type": { + "$id": "1040", + "kind": "model", + "name": "DeviceRegistryNamespaceMessageSchemaReference", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMessageSchemaReference", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the message schema reference properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1041", + "kind": "property", + "name": "schemaRegistryNamespace", + "serializedName": "schemaRegistryNamespace", + "doc": "The message schema registry namespace.", + "type": { + "$id": "1042", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMessageSchemaReference.schemaRegistryNamespace", + "serializationOptions": { + "json": { + "name": "schemaRegistryNamespace" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1043", + "kind": "property", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "The message schema name.", + "type": { + "$id": "1044", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMessageSchemaReference.schemaName", + "serializationOptions": { + "json": { + "name": "schemaName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1045", + "kind": "property", + "name": "schemaVersion", + "serializedName": "schemaVersion", + "doc": "The message schema version.", + "type": { + "$id": "1046", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceMessageSchemaReference.schemaVersion", + "serializationOptions": { + "json": { + "name": "schemaVersion" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusDataset.messageSchemaReference", + "serializationOptions": { + "json": { + "name": "messageSchemaReference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1047", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Object to transfer and persist errors that originate from the edge.", + "type": { + "$ref": "1028" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusDataset.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1048", + "kind": "property", + "name": "eventGroups", + "serializedName": "eventGroups", + "doc": "Array of event group statuses that describe the status of each event group.", + "type": { + "$id": "1049", + "kind": "array", + "name": "ArrayNamespaceAssetStatusEventGroup", + "valueType": { + "$id": "1050", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusEventGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEventGroup", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status event group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1051", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event group. Must be unique within the status.eventGroups array. This name is used to correlate between the spec and status event group information.", + "type": { + "$id": "1052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEventGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1053", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of event statuses that describe the status of each event in the event group.", + "type": { + "$id": "1054", + "kind": "array", + "name": "ArrayNamespaceAssetStatusEvent", + "valueType": { + "$id": "1055", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusEvent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEvent", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1056", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.", + "type": { + "$id": "1057", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEvent.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1058", + "kind": "property", + "name": "messageSchemaReference", + "serializedName": "messageSchemaReference", + "doc": "The message schema reference object.", + "type": { + "$ref": "1040" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEvent.messageSchemaReference", + "serializationOptions": { + "json": { + "name": "messageSchemaReference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1059", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Object to transfer and persist errors that originate from the edge.", + "type": { + "$ref": "1028" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEvent.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusEventGroup.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus.eventGroups", + "serializationOptions": { + "json": { + "name": "eventGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1060", + "kind": "property", + "name": "streams", + "serializedName": "streams", + "doc": "Array of stream statuses that describe the status of each stream.", + "type": { + "$id": "1061", + "kind": "array", + "name": "ArrayNamespaceAssetStatusStream", + "valueType": { + "$id": "1062", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusStream", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusStream", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status stream properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1063", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the stream. Must be unique within the status.streams array. This name is used to correlate between the spec and status event information.", + "type": { + "$id": "1064", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusStream.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1065", + "kind": "property", + "name": "messageSchemaReference", + "serializedName": "messageSchemaReference", + "doc": "The message schema reference object.", + "type": { + "$ref": "1040" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusStream.messageSchemaReference", + "serializationOptions": { + "json": { + "name": "messageSchemaReference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1066", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Object to transfer and persist errors that originate from the edge.", + "type": { + "$ref": "1028" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusStream.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus.streams", + "serializationOptions": { + "json": { + "name": "streams" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1067", + "kind": "property", + "name": "managementGroups", + "serializedName": "managementGroups", + "doc": "Array of management group statuses that describe the status of each management group.", + "type": { + "$id": "1068", + "kind": "array", + "name": "ArrayNamespaceAssetStatusManagementGroup", + "valueType": { + "$id": "1069", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusManagementGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementGroup", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status management group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1070", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the management group. Must be unique within the status.managementGroups array. This name is used to correlate between the spec and status event information.", + "type": { + "$id": "1071", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1072", + "kind": "property", + "name": "actions", + "serializedName": "actions", + "doc": "Array of action statuses that describe the status of each action.", + "type": { + "$id": "1073", + "kind": "array", + "name": "ArrayNamespaceAssetStatusManagementAction", + "valueType": { + "$id": "1074", + "kind": "model", + "name": "DeviceRegistryNamespaceAssetStatusManagementAction", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the asset status action properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1075", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the action. Must be unique within the status.actions array. This name is used to correlate between the spec and status event information.", + "type": { + "$id": "1076", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1077", + "kind": "property", + "name": "requestMessageSchemaReference", + "serializedName": "requestMessageSchemaReference", + "doc": "The request message schema reference object for the action.", + "type": { + "$ref": "1040" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction.requestMessageSchemaReference", + "serializationOptions": { + "json": { + "name": "requestMessageSchemaReference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1078", + "kind": "property", + "name": "responseMessageSchemaReference", + "serializedName": "responseMessageSchemaReference", + "doc": "The response message schema reference object for the action.", + "type": { + "$ref": "1040" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction.responseMessageSchemaReference", + "serializationOptions": { + "json": { + "name": "responseMessageSchemaReference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1079", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Object to transfer and persist errors that originate from the edge.", + "type": { + "$ref": "1028" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatusManagementGroup.actions", + "serializationOptions": { + "json": { + "name": "actions" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetStatus.managementGroups", + "serializationOptions": { + "json": { + "name": "managementGroups" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1080", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssetProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAsset.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1081", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the asset.", + "type": { + "$id": "1082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAsset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "1083", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$ref": "535" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAsset.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "815" + }, + { + "$ref": "827" + }, + { + "$ref": "866" + }, + { + "$ref": "868" + }, + { + "$ref": "877" + }, + { + "$ref": "884" + }, + { + "$ref": "888" + }, + { + "$ref": "891" + }, + { + "$ref": "895" + }, + { + "$ref": "900" + }, + { + "$ref": "902" + }, + { + "$ref": "910" + }, + { + "$ref": "916" + }, + { + "$ref": "918" + }, + { + "$ref": "926" + }, + { + "$ref": "932" + }, + { + "$ref": "944" + }, + { + "$ref": "955" + }, + { + "$ref": "967" + }, + { + "$ref": "979" + }, + { + "$ref": "989" + }, + { + "$ref": "1004" + }, + { + "$ref": "1019" + }, + { + "$ref": "1021" + }, + { + "$ref": "1028" + }, + { + "$ref": "1036" + }, + { + "$ref": "1040" + }, + { + "$ref": "1050" + }, + { + "$ref": "1055" + }, + { + "$ref": "1062" + }, + { + "$ref": "1069" + }, + { + "$ref": "1074" + }, + { + "$id": "1084", + "kind": "model", + "name": "NamespaceAssetUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the NamespaceAsset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1085", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1086", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1087", + "kind": "model", + "name": "NamespaceAssetUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the NamespaceAsset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1088", + "kind": "property", + "name": "enabled", + "serializedName": "enabled", + "doc": "Enabled/disabled status of the asset.", + "type": { + "$id": "1089", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1090", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1091", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1092", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "1093", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1094", + "kind": "property", + "name": "assetTypeRefs", + "serializedName": "assetTypeRefs", + "doc": "URIs or type definition IDs.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.assetTypeRefs", + "serializationOptions": { + "json": { + "name": "assetTypeRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1095", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer.", + "type": { + "$id": "1096", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1097", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "1098", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1099", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model.", + "type": { + "$id": "1100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1101", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "1102", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1103", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Asset hardware revision number.", + "type": { + "$id": "1104", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1105", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Asset software revision number.", + "type": { + "$id": "1106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1107", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Asset documentation reference.", + "type": { + "$id": "1108", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1109", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "1110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1111", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1112", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1114", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1116", + "kind": "property", + "name": "defaultStreamsConfiguration", + "serializedName": "defaultStreamsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultStreamsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultStreamsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1118", + "kind": "property", + "name": "defaultManagementGroupsConfiguration", + "serializedName": "defaultManagementGroupsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultManagementGroupsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultManagementGroupsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1120", + "kind": "property", + "name": "defaultDatasetsDestinations", + "serializedName": "defaultDatasetsDestinations", + "doc": "Default destinations for a dataset.", + "type": { + "$ref": "865" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsDestinations", + "serializationOptions": { + "json": { + "name": "defaultDatasetsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1121", + "kind": "property", + "name": "defaultEventsDestinations", + "serializedName": "defaultEventsDestinations", + "doc": "Default destinations for an event.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsDestinations", + "serializationOptions": { + "json": { + "name": "defaultEventsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1122", + "kind": "property", + "name": "defaultStreamsDestinations", + "serializedName": "defaultStreamsDestinations", + "doc": "Default destinations for a stream.", + "type": { + "$ref": "915" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultStreamsDestinations", + "serializationOptions": { + "json": { + "name": "defaultStreamsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1123", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.", + "type": { + "$ref": "931" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1124", + "kind": "property", + "name": "eventGroups", + "serializedName": "eventGroups", + "doc": "Array of event groups that are part of the asset. Each event group can have per-event group configuration.", + "type": { + "$ref": "954" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.eventGroups", + "serializationOptions": { + "json": { + "name": "eventGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1125", + "kind": "property", + "name": "streams", + "serializedName": "streams", + "doc": "Array of streams that are part of the asset. Each stream can have a per-stream configuration.", + "type": { + "$ref": "978" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.streams", + "serializationOptions": { + "json": { + "name": "streams" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1126", + "kind": "property", + "name": "managementGroups", + "serializedName": "managementGroups", + "doc": "Array of management groups that are part of the asset. Each management group can have a per-group configuration.", + "type": { + "$ref": "988" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.managementGroups", + "serializationOptions": { + "json": { + "name": "managementGroups" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1087" + }, + { + "$id": "1127", + "kind": "model", + "name": "NamespaceAssetListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a NamespaceAsset list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1128", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The NamespaceAsset items on this page", + "type": { + "$id": "1129", + "kind": "array", + "name": "ArrayNamespaceAsset", + "valueType": { + "$ref": "808" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1130", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1131", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1132", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1133", + "kind": "model", + "name": "DeviceRegistryNamespaceDevice", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevice", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Device definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces/devices", + "methods": [ + { + "$id": "1134", + "methodId": "Microsoft.DeviceRegistry.NamespaceDevices.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}" + }, + { + "$id": "1135", + "methodId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}" + }, + { + "$id": "1136", + "methodId": "Microsoft.DeviceRegistry.NamespaceDevices.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}" + }, + { + "$id": "1137", + "methodId": "Microsoft.DeviceRegistry.NamespaceDevices.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}" + }, + { + "$id": "1138", + "methodId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceName": "DeviceRegistryNamespaceDevice" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "1139", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1140", + "kind": "model", + "name": "DeviceRegistryNamespaceDeviceProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the device properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1141", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "A unique identifier for the device.", + "type": { + "$id": "1142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1143", + "kind": "property", + "name": "enabled", + "serializedName": "enabled", + "doc": "Indicates if the resource is enabled or not.", + "type": { + "$id": "1144", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1145", + "kind": "property", + "name": "externalDeviceId", + "serializedName": "externalDeviceId", + "doc": "The Device ID provided by the customer.", + "type": { + "$id": "1146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.externalDeviceId", + "serializationOptions": { + "json": { + "name": "externalDeviceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1147", + "kind": "property", + "name": "discoveredDeviceRef", + "serializedName": "discoveredDeviceRef", + "doc": "Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.", + "type": { + "$id": "1148", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.discoveredDeviceRef", + "serializationOptions": { + "json": { + "name": "discoveredDeviceRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1149", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Device manufacturer.", + "type": { + "$id": "1150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1151", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Device model.", + "type": { + "$id": "1152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1153", + "kind": "property", + "name": "operatingSystem", + "serializedName": "operatingSystem", + "doc": "Device operating system.", + "type": { + "$id": "1154", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.operatingSystem", + "serializationOptions": { + "json": { + "name": "operatingSystem" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1155", + "kind": "property", + "name": "operatingSystemVersion", + "serializedName": "operatingSystemVersion", + "doc": "Device operating system version.", + "type": { + "$id": "1156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.operatingSystemVersion", + "serializationOptions": { + "json": { + "name": "operatingSystemVersion" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1157", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Property bag containing the device's unassigned and assigned endpoints.", + "type": { + "$id": "1158", + "kind": "model", + "name": "MessagingEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Connection endpoint URL a device can use to connect to a service.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1159", + "kind": "property", + "name": "inbound", + "serializedName": "inbound", + "doc": "Set of endpoints to connect to the device.", + "type": { + "$id": "1160", + "kind": "dict", + "keyType": { + "$id": "1161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1162", + "kind": "model", + "name": "InboundEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "An endpoint to connect to the device.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1163", + "kind": "property", + "name": "endpointType", + "serializedName": "endpointType", + "doc": "Type of connection endpoint.", + "type": { + "$id": "1164", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.endpointType", + "serializationOptions": { + "json": { + "name": "endpointType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1165", + "kind": "property", + "name": "address", + "serializedName": "address", + "doc": "The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).", + "type": { + "$id": "1166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.address", + "serializationOptions": { + "json": { + "name": "address" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1167", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.", + "type": { + "$id": "1168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1169", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Defines the client authentication mechanism to the server.", + "type": { + "$id": "1170", + "kind": "model", + "name": "HostAuthentication", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.HostAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Definition of the client authentication mechanism to the host.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1171", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Defines the method to authenticate the user of the client at the server.", + "type": { + "$ref": "42" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.HostAuthentication.method", + "serializationOptions": { + "json": { + "name": "method" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1172", + "kind": "property", + "name": "usernamePasswordCredentials", + "serializedName": "usernamePasswordCredentials", + "doc": "Defines the username and password references when UsernamePassword user authentication mode is selected.", + "type": { + "$ref": "614" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.HostAuthentication.usernamePasswordCredentials", + "serializationOptions": { + "json": { + "name": "usernamePasswordCredentials" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1173", + "kind": "property", + "name": "x509Credentials", + "serializedName": "x509Credentials", + "doc": "Defines the certificate reference when Certificate user authentication mode is selected.", + "type": { + "$id": "1174", + "kind": "model", + "name": "X509CertificateCredentials", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509CertificateCredentials", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The x509 certificate for authentication mode Certificate.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1175", + "kind": "property", + "name": "certificateSecretName", + "serializedName": "certificateSecretName", + "doc": "The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).", + "type": { + "$id": "1176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509CertificateCredentials.certificateSecretName", + "serializationOptions": { + "json": { + "name": "certificateSecretName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1177", + "kind": "property", + "name": "keySecretName", + "serializedName": "keySecretName", + "doc": "The name of the secret containing the certificate private key in PEM or DER format.", + "type": { + "$id": "1178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509CertificateCredentials.keySecretName", + "serializationOptions": { + "json": { + "name": "keySecretName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1179", + "kind": "property", + "name": "intermediateCertificatesSecretName", + "serializedName": "intermediateCertificatesSecretName", + "doc": "The name of the secret containing the combined intermediate certificates in PEM format.", + "type": { + "$id": "1180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509CertificateCredentials.intermediateCertificatesSecretName", + "serializationOptions": { + "json": { + "name": "intermediateCertificatesSecretName" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.HostAuthentication.x509Credentials", + "serializationOptions": { + "json": { + "name": "x509Credentials" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.authentication", + "serializationOptions": { + "json": { + "name": "authentication" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1181", + "kind": "property", + "name": "trustSettings", + "serializedName": "trustSettings", + "doc": "Defines server trust settings for the endpoint.", + "type": { + "$id": "1182", + "kind": "model", + "name": "TrustSettings", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.TrustSettings", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines server trust settings for an endpoint.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1183", + "kind": "property", + "name": "trustList", + "serializedName": "trustList", + "doc": "Defines a secret reference for certificates to trust.", + "type": { + "$id": "1184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.TrustSettings.trustList", + "serializationOptions": { + "json": { + "name": "trustList" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.trustSettings", + "serializationOptions": { + "json": { + "name": "trustSettings" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1185", + "kind": "property", + "name": "additionalConfiguration", + "serializedName": "additionalConfiguration", + "doc": "Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).", + "type": { + "$id": "1186", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.InboundEndpoints.additionalConfiguration", + "serializationOptions": { + "json": { + "name": "additionalConfiguration" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoints.inbound", + "serializationOptions": { + "json": { + "name": "inbound" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1187", + "kind": "property", + "name": "outbound", + "serializedName": "outbound", + "doc": "Set of endpoints a device can connect to.", + "type": { + "$id": "1188", + "kind": "model", + "name": "OutboundEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.OutboundEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Property bag contains the device's outbound endpoints", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1189", + "kind": "property", + "name": "assigned", + "serializedName": "assigned", + "doc": "Endpoints the device can connect to.", + "type": { + "$id": "1190", + "kind": "dict", + "keyType": { + "$id": "1191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1192", + "kind": "model", + "name": "DeviceMessagingEndpoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceMessagingEndpoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Device messaging endpoint model.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1193", + "kind": "property", + "name": "endpointType", + "serializedName": "endpointType", + "doc": "Type of connection used for the messaging endpoint.", + "type": { + "$id": "1194", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceMessagingEndpoint.endpointType", + "serializationOptions": { + "json": { + "name": "endpointType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1195", + "kind": "property", + "name": "address", + "serializedName": "address", + "doc": "The endpoint address to connect to.", + "type": { + "$id": "1196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceMessagingEndpoint.address", + "serializationOptions": { + "json": { + "name": "address" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.OutboundEndpoints.assigned", + "serializationOptions": { + "json": { + "name": "assigned" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1197", + "kind": "property", + "name": "unassigned", + "serializedName": "unassigned", + "doc": "Set of most recently removed endpoints.", + "type": { + "$ref": "1190" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.OutboundEndpoints.unassigned", + "serializationOptions": { + "json": { + "name": "unassigned" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessagingEndpoints.outbound", + "serializationOptions": { + "json": { + "name": "outbound" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1198", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1199", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Device status updates.", + "type": { + "$id": "1200", + "kind": "model", + "name": "DeviceStatus", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatus", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the device status properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1201", + "kind": "property", + "name": "config", + "serializedName": "config", + "doc": "Defines the device status config properties.", + "type": { + "$ref": "1021" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatus.config", + "serializationOptions": { + "json": { + "name": "config" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1202", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Defines the device status for inbound/outbound endpoints.", + "type": { + "$id": "1203", + "kind": "model", + "name": "DeviceStatusEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatusEndpoints", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the device status for inbound/outbound endpoints.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1204", + "kind": "property", + "name": "inbound", + "serializedName": "inbound", + "doc": "KeyValue pair representing status of inbound endpoints.", + "type": { + "$id": "1205", + "kind": "dict", + "keyType": { + "$id": "1206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1207", + "kind": "model", + "name": "DeviceStatusEndpoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatusEndpoint", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the device status properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1208", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Defines the error related to this endpoint.", + "type": { + "$ref": "1028" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatusEndpoint.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatusEndpoints.inbound", + "serializationOptions": { + "json": { + "name": "inbound" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceStatus.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1209", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "1210", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1211", + "kind": "property", + "name": "lastTransitionTime", + "serializedName": "lastTransitionTime", + "doc": "A timestamp (in UTC) that is updated each time the resource is modified.", + "type": { + "$id": "1212", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.lastTransitionTime", + "serializationOptions": { + "json": { + "name": "lastTransitionTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1214", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1215", + "kind": "property", + "name": "policy", + "serializedName": "policy", + "doc": "Policy used to issue device certificates.", + "type": { + "$id": "1216", + "kind": "model", + "name": "DeviceCredentialPolicy", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceCredentialPolicy", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the Policy used to issue device certificates if any.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1217", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "Resource Id of the Policy.", + "type": { + "$id": "1218", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DeviceCredentialPolicy.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDeviceProperties.policy", + "serializationOptions": { + "json": { + "name": "policy" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevice.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1220", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the device.", + "type": { + "$id": "1221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevice.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "1222", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "Resource Tag.", + "type": { + "$id": "1223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevice.etag", + "serializationOptions": { + "json": { + "name": "etag" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1224", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$ref": "535" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevice.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1140" + }, + { + "$ref": "1158" + }, + { + "$ref": "1162" + }, + { + "$ref": "1170" + }, + { + "$ref": "1174" + }, + { + "$ref": "1182" + }, + { + "$ref": "1188" + }, + { + "$ref": "1192" + }, + { + "$ref": "1200" + }, + { + "$ref": "1203" + }, + { + "$ref": "1207" + }, + { + "$ref": "1216" + }, + { + "$id": "1225", + "kind": "model", + "name": "NamespaceDeviceUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the NamespaceDevice.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1226", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1227", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1228", + "kind": "model", + "name": "NamespaceDeviceUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the NamespaceDevice.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1229", + "kind": "property", + "name": "operatingSystemVersion", + "serializedName": "operatingSystemVersion", + "doc": "Device operating system version.", + "type": { + "$id": "1230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.operatingSystemVersion", + "serializationOptions": { + "json": { + "name": "operatingSystemVersion" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1231", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Property bag containing the device's unassigned and assigned endpoints.", + "type": { + "$ref": "1158" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1232", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes set by the customer.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1233", + "kind": "property", + "name": "policy", + "serializedName": "policy", + "doc": "Policy used to issue device certificates.", + "type": { + "$ref": "1216" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.policy", + "serializationOptions": { + "json": { + "name": "policy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1234", + "kind": "property", + "name": "enabled", + "serializedName": "enabled", + "doc": "Indicates if the resource and identity are enabled or not. A disabled device cannot authenticate with Microsoft Entra ID.", + "type": { + "$id": "1235", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.enabled", + "serializationOptions": { + "json": { + "name": "enabled" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1228" + }, + { + "$id": "1236", + "kind": "model", + "name": "NamespaceDeviceListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a NamespaceDevice list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1237", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The NamespaceDevice items on this page", + "type": { + "$id": "1238", + "kind": "array", + "name": "ArrayNamespaceDevice", + "valueType": { + "$ref": "1133" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1239", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1240", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1241", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1242", + "kind": "model", + "name": "DeviceRegistryNamespaceDiscoveredAsset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAsset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Discovered asset definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces/discoveredAssets", + "methods": [ + { + "$id": "1243", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}" + }, + { + "$id": "1244", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}" + }, + { + "$id": "1245", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}" + }, + { + "$id": "1246", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}" + }, + { + "$id": "1247", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceName": "DeviceRegistryNamespaceDiscoveredAsset" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "1248", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1249", + "kind": "model", + "name": "DeviceRegistryNamespaceDiscoveredAssetProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the discovered asset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1250", + "kind": "property", + "name": "deviceRef", + "serializedName": "deviceRef", + "doc": "Reference to the device that provides data for this asset. Must provide device name & endpoint on the device to use.", + "type": { + "$ref": "827" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.deviceRef", + "serializationOptions": { + "json": { + "name": "deviceRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1251", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1253", + "kind": "property", + "name": "assetTypeRefs", + "serializedName": "assetTypeRefs", + "doc": "URIs or type definition IDs.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.assetTypeRefs", + "serializationOptions": { + "json": { + "name": "assetTypeRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1254", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "1255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1256", + "kind": "property", + "name": "discoveryId", + "serializedName": "discoveryId", + "doc": "Identifier used to detect changes in the asset.", + "type": { + "$id": "1257", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.discoveryId", + "serializationOptions": { + "json": { + "name": "discoveryId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1258", + "kind": "property", + "name": "externalAssetId", + "serializedName": "externalAssetId", + "doc": "Asset ID provided by the customer.", + "type": { + "$id": "1259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.externalAssetId", + "serializationOptions": { + "json": { + "name": "externalAssetId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1260", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "1261", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1262", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer.", + "type": { + "$id": "1263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1264", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "1265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1266", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model.", + "type": { + "$id": "1267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1268", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "1269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1270", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Asset hardware revision number.", + "type": { + "$id": "1271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1272", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Asset software revision number.", + "type": { + "$id": "1273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1274", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Asset documentation reference.", + "type": { + "$id": "1275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1276", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "1277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1278", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1279", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1281", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1283", + "kind": "property", + "name": "defaultStreamsConfiguration", + "serializedName": "defaultStreamsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1284", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultStreamsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultStreamsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1285", + "kind": "property", + "name": "defaultManagementGroupsConfiguration", + "serializedName": "defaultManagementGroupsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultManagementGroupsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultManagementGroupsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1287", + "kind": "property", + "name": "defaultDatasetsDestinations", + "serializedName": "defaultDatasetsDestinations", + "doc": "Default destinations for a dataset.", + "type": { + "$ref": "865" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultDatasetsDestinations", + "serializationOptions": { + "json": { + "name": "defaultDatasetsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1288", + "kind": "property", + "name": "defaultEventsDestinations", + "serializedName": "defaultEventsDestinations", + "doc": "Default destinations for an event.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultEventsDestinations", + "serializationOptions": { + "json": { + "name": "defaultEventsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1289", + "kind": "property", + "name": "defaultStreamsDestinations", + "serializedName": "defaultStreamsDestinations", + "doc": "Default destinations for a stream.", + "type": { + "$ref": "915" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.defaultStreamsDestinations", + "serializationOptions": { + "json": { + "name": "defaultStreamsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1290", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset spec describes the data points that make up the set.", + "type": { + "$id": "1291", + "kind": "array", + "name": "ArrayNamespaceDiscoveredDataset", + "valueType": { + "$id": "1292", + "kind": "model", + "name": "NamespaceDiscoveredDataset", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the dataset properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1293", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the dataset.", + "type": { + "$id": "1294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1295", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given dataset.", + "type": { + "$id": "1296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1297", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1299", + "kind": "property", + "name": "datasetConfiguration", + "serializedName": "datasetConfiguration", + "doc": "Stringified JSON that contains connector-specific properties that describes configuration for the specific dataset.", + "type": { + "$id": "1300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.datasetConfiguration", + "serializationOptions": { + "json": { + "name": "datasetConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1301", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for a dataset.", + "type": { + "$ref": "865" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1302", + "kind": "property", + "name": "dataPoints", + "serializedName": "dataPoints", + "doc": "Array of data points that are part of the dataset. Each data point can have per-data point configuration.", + "type": { + "$id": "1303", + "kind": "array", + "name": "ArrayNamespaceDiscoveredDatasetDataPoint", + "valueType": { + "$id": "1304", + "kind": "model", + "name": "NamespaceDiscoveredDatasetDataPoint", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the discovered dataset data point properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1305", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the data point.", + "type": { + "$id": "1306", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1307", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.", + "type": { + "$id": "1308", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1309", + "kind": "property", + "name": "dataPointConfiguration", + "serializedName": "dataPointConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "1310", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint.dataPointConfiguration", + "serializationOptions": { + "json": { + "name": "dataPointConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1311", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "UTC timestamp indicating when the data point was added or modified.", + "type": { + "$id": "1312", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1314", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1315", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.dataPoints", + "serializationOptions": { + "json": { + "name": "dataPoints" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1316", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "Timestamp (in UTC) indicating when the dataset was added or modified.", + "type": { + "$id": "1317", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1318", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDataset.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1319", + "kind": "property", + "name": "eventGroups", + "serializedName": "eventGroups", + "doc": "Array of event groups that are part of the asset. Each event group can have per-event group configuration.", + "type": { + "$id": "1320", + "kind": "array", + "name": "ArrayNamespaceDiscoveredEventGroup", + "valueType": { + "$id": "1321", + "kind": "model", + "name": "NamespaceDiscoveredEventGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the discovered event group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1322", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event group.", + "type": { + "$id": "1323", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1324", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "The address of the notifier of the event group in the asset (e.g. URL) so that a client can access the event group on the asset.", + "type": { + "$id": "1325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1326", + "kind": "property", + "name": "eventGroupConfiguration", + "serializedName": "eventGroupConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the event group. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "1327", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.eventGroupConfiguration", + "serializationOptions": { + "json": { + "name": "eventGroupConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1328", + "kind": "property", + "name": "defaultDestinations", + "serializedName": "defaultDestinations", + "doc": "Destinations for events. Default destinations when destinations is not defined at the event level.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.defaultDestinations", + "serializationOptions": { + "json": { + "name": "defaultDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1329", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1331", + "kind": "property", + "name": "events", + "serializedName": "events", + "doc": "Array of events that are part of the event group.", + "type": { + "$id": "1332", + "kind": "array", + "name": "ArrayNamespaceDiscoveredEvent", + "valueType": { + "$id": "1333", + "kind": "model", + "name": "NamespaceDiscoveredEvent", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the event properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1334", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the event.", + "type": { + "$id": "1335", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1336", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given event.", + "type": { + "$id": "1337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1338", + "kind": "property", + "name": "eventConfiguration", + "serializedName": "eventConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.", + "type": { + "$id": "1339", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.eventConfiguration", + "serializationOptions": { + "json": { + "name": "eventConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1340", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for an event.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1341", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1342", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1343", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "UTC timestamp indicating when the event was added or modified.", + "type": { + "$id": "1344", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEvent.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup.events", + "serializationOptions": { + "json": { + "name": "events" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.eventGroups", + "serializationOptions": { + "json": { + "name": "eventGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1346", + "kind": "property", + "name": "streams", + "serializedName": "streams", + "doc": "Array of streams that are part of the asset. Each stream can have a per-stream configuration.", + "type": { + "$id": "1347", + "kind": "array", + "name": "ArrayNamespaceDiscoveredStream", + "valueType": { + "$id": "1348", + "kind": "model", + "name": "NamespaceDiscoveredStream", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the stream properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1349", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the stream definition.", + "type": { + "$id": "1350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1351", + "kind": "property", + "name": "streamConfiguration", + "serializedName": "streamConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the specific stream.", + "type": { + "$id": "1352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream.streamConfiguration", + "serializationOptions": { + "json": { + "name": "streamConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1353", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1354", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1355", + "kind": "property", + "name": "destinations", + "serializedName": "destinations", + "doc": "Destinations for a stream.", + "type": { + "$ref": "915" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream.destinations", + "serializationOptions": { + "json": { + "name": "destinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1356", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "Timestamp (in UTC) indicating when the stream was added or modified.", + "type": { + "$id": "1357", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1358", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredStream.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.streams", + "serializationOptions": { + "json": { + "name": "streams" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1359", + "kind": "property", + "name": "managementGroups", + "serializedName": "managementGroups", + "doc": "Array of management groups that are part of the asset. Each management group can have a per-group configuration.", + "type": { + "$id": "1360", + "kind": "array", + "name": "ArrayNamespaceDiscoveredManagementGroup", + "valueType": { + "$id": "1361", + "kind": "model", + "name": "NamespaceDiscoveredManagementGroup", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the management group properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1362", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the management group.", + "type": { + "$id": "1363", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1364", + "kind": "property", + "name": "managementGroupConfiguration", + "serializedName": "managementGroupConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the management group.", + "type": { + "$id": "1365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.managementGroupConfiguration", + "serializationOptions": { + "json": { + "name": "managementGroupConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1366", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1367", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1368", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "Reference to a data source for a given management group.", + "type": { + "$id": "1369", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.dataSource", + "serializationOptions": { + "json": { + "name": "dataSource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1370", + "kind": "property", + "name": "defaultTopic", + "serializedName": "defaultTopic", + "doc": "Default MQTT topic path on which a client will receive the request for all actions that are part of the management group.", + "type": { + "$id": "1371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.defaultTopic", + "serializationOptions": { + "json": { + "name": "defaultTopic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1372", + "kind": "property", + "name": "defaultTimeoutInSeconds", + "serializedName": "defaultTimeoutInSeconds", + "doc": "Default response timeout for all actions that are part of the management group.", + "type": { + "$id": "1373", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.defaultTimeoutInSeconds", + "serializationOptions": { + "json": { + "name": "defaultTimeoutInSeconds" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1374", + "kind": "property", + "name": "actions", + "serializedName": "actions", + "doc": "Array of actions that are part of the management group. Each action can have an individual configuration.", + "type": { + "$id": "1375", + "kind": "array", + "name": "ArrayNamespaceDiscoveredManagementAction", + "valueType": { + "$id": "1376", + "kind": "model", + "name": "NamespaceDiscoveredManagementAction", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the action properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1377", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the action.", + "type": { + "$id": "1378", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1379", + "kind": "property", + "name": "actionConfiguration", + "serializedName": "actionConfiguration", + "doc": "Stringified JSON that contains connector-specific configuration for the action.", + "type": { + "$id": "1380", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.actionConfiguration", + "serializationOptions": { + "json": { + "name": "actionConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1381", + "kind": "property", + "name": "targetUri", + "serializedName": "targetUri", + "doc": "The target URI on which a client can invoke the specific action.", + "type": { + "$id": "1382", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.targetUri", + "serializationOptions": { + "json": { + "name": "targetUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1383", + "kind": "property", + "name": "typeRef", + "serializedName": "typeRef", + "doc": "URI or type definition ID.", + "type": { + "$id": "1384", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.typeRef", + "serializationOptions": { + "json": { + "name": "typeRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1385", + "kind": "property", + "name": "topic", + "serializedName": "topic", + "doc": "The MQTT topic path on which a client will receive the request for the action.", + "type": { + "$id": "1386", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.topic", + "serializationOptions": { + "json": { + "name": "topic" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1387", + "kind": "property", + "name": "actionType", + "serializedName": "actionType", + "doc": "The type of the action.", + "type": { + "$ref": "83" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1388", + "kind": "property", + "name": "timeoutInSeconds", + "serializedName": "timeoutInSeconds", + "doc": "Response timeout for the action.", + "type": { + "$id": "1389", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.timeoutInSeconds", + "serializationOptions": { + "json": { + "name": "timeoutInSeconds" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1390", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "Timestamp (in UTC) indicating when the management action was added or modified.", + "type": { + "$id": "1391", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1392", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.actions", + "serializationOptions": { + "json": { + "name": "actions" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1393", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "Timestamp (in UTC) indicating when the management group was added or modified.", + "type": { + "$id": "1394", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1395", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.managementGroups", + "serializationOptions": { + "json": { + "name": "managementGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1396", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAsset.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1397", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the discovered asset.", + "type": { + "$id": "1398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAsset.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "1399", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$ref": "535" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAsset.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1249" + }, + { + "$ref": "1292" + }, + { + "$ref": "1304" + }, + { + "$ref": "1321" + }, + { + "$ref": "1333" + }, + { + "$ref": "1348" + }, + { + "$ref": "1361" + }, + { + "$ref": "1376" + }, + { + "$id": "1400", + "kind": "model", + "name": "NamespaceDiscoveredAssetUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the NamespaceDiscoveredAsset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1401", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1402", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1403", + "kind": "model", + "name": "NamespaceDiscoveredAssetUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the NamespaceDiscoveredAsset.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1404", + "kind": "property", + "name": "deviceRef", + "serializedName": "deviceRef", + "doc": "Reference to the device that provides data for this asset. Must provide device name & endpoint on the device to use.", + "type": { + "$ref": "827" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.deviceRef", + "serializationOptions": { + "json": { + "name": "deviceRef" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1405", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1406", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1407", + "kind": "property", + "name": "assetTypeRefs", + "serializedName": "assetTypeRefs", + "doc": "URIs or type definition IDs.", + "type": { + "$ref": "459" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.assetTypeRefs", + "serializationOptions": { + "json": { + "name": "assetTypeRefs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1408", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the asset.", + "type": { + "$id": "1409", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1410", + "kind": "property", + "name": "discoveryId", + "serializedName": "discoveryId", + "doc": "Identifier used to detect changes in the asset.", + "type": { + "$id": "1411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.discoveryId", + "serializationOptions": { + "json": { + "name": "discoveryId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1412", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "1413", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1414", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Asset manufacturer.", + "type": { + "$id": "1415", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1416", + "kind": "property", + "name": "manufacturerUri", + "serializedName": "manufacturerUri", + "doc": "Asset manufacturer URI.", + "type": { + "$id": "1417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturerUri", + "serializationOptions": { + "json": { + "name": "manufacturerUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1418", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Asset model.", + "type": { + "$id": "1419", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1420", + "kind": "property", + "name": "productCode", + "serializedName": "productCode", + "doc": "Asset product code.", + "type": { + "$id": "1421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.productCode", + "serializationOptions": { + "json": { + "name": "productCode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1422", + "kind": "property", + "name": "hardwareRevision", + "serializedName": "hardwareRevision", + "doc": "Asset hardware revision number.", + "type": { + "$id": "1423", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.hardwareRevision", + "serializationOptions": { + "json": { + "name": "hardwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1424", + "kind": "property", + "name": "softwareRevision", + "serializedName": "softwareRevision", + "doc": "Asset software revision number.", + "type": { + "$id": "1425", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.softwareRevision", + "serializationOptions": { + "json": { + "name": "softwareRevision" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1426", + "kind": "property", + "name": "documentationUri", + "serializedName": "documentationUri", + "doc": "Asset documentation reference.", + "type": { + "$id": "1427", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.documentationUri", + "serializationOptions": { + "json": { + "name": "documentationUri" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1428", + "kind": "property", + "name": "serialNumber", + "serializedName": "serialNumber", + "doc": "Asset serial number.", + "type": { + "$id": "1429", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.serialNumber", + "serializationOptions": { + "json": { + "name": "serialNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1430", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1431", + "kind": "property", + "name": "defaultDatasetsConfiguration", + "serializedName": "defaultDatasetsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1432", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultDatasetsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1433", + "kind": "property", + "name": "defaultEventsConfiguration", + "serializedName": "defaultEventsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1434", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultEventsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1435", + "kind": "property", + "name": "defaultStreamsConfiguration", + "serializedName": "defaultStreamsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1436", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultStreamsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultStreamsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1437", + "kind": "property", + "name": "defaultManagementGroupsConfiguration", + "serializedName": "defaultManagementGroupsConfiguration", + "doc": "Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.", + "type": { + "$id": "1438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultManagementGroupsConfiguration", + "serializationOptions": { + "json": { + "name": "defaultManagementGroupsConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1439", + "kind": "property", + "name": "defaultDatasetsDestinations", + "serializedName": "defaultDatasetsDestinations", + "doc": "Default destinations for a dataset.", + "type": { + "$ref": "865" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsDestinations", + "serializationOptions": { + "json": { + "name": "defaultDatasetsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1440", + "kind": "property", + "name": "defaultEventsDestinations", + "serializedName": "defaultEventsDestinations", + "doc": "Default destinations for an event.", + "type": { + "$ref": "899" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsDestinations", + "serializationOptions": { + "json": { + "name": "defaultEventsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1441", + "kind": "property", + "name": "defaultStreamsDestinations", + "serializedName": "defaultStreamsDestinations", + "doc": "Default destinations for a stream.", + "type": { + "$ref": "915" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultStreamsDestinations", + "serializationOptions": { + "json": { + "name": "defaultStreamsDestinations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1442", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Array of datasets that are part of the asset. Each dataset spec describes the data points that make up the set.", + "type": { + "$ref": "1291" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.datasets", + "serializationOptions": { + "json": { + "name": "datasets" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1443", + "kind": "property", + "name": "eventGroups", + "serializedName": "eventGroups", + "doc": "Array of event groups that are part of the asset. Each event group can have per-event group configuration.", + "type": { + "$ref": "1320" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.eventGroups", + "serializationOptions": { + "json": { + "name": "eventGroups" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1444", + "kind": "property", + "name": "streams", + "serializedName": "streams", + "doc": "Array of streams that are part of the asset. Each stream can have a per-stream configuration.", + "type": { + "$ref": "1347" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.streams", + "serializationOptions": { + "json": { + "name": "streams" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1445", + "kind": "property", + "name": "managementGroups", + "serializedName": "managementGroups", + "doc": "Array of management groups that are part of the asset. Each management group can have a per-group configuration.", + "type": { + "$ref": "1360" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.managementGroups", + "serializationOptions": { + "json": { + "name": "managementGroups" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1403" + }, + { + "$id": "1446", + "kind": "model", + "name": "NamespaceDiscoveredAssetListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a NamespaceDiscoveredAsset list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1447", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The NamespaceDiscoveredAsset items on this page", + "type": { + "$id": "1448", + "kind": "array", + "name": "ArrayNamespaceDiscoveredAsset", + "valueType": { + "$ref": "1242" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1449", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1450", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1451", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1452", + "kind": "model", + "name": "DeviceRegistryNamespaceDiscoveredDevice", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevice", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Discovered device definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "resourceType": "Microsoft.DeviceRegistry/namespaces/discoveredDevices", + "methods": [ + { + "$id": "1453", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}" + }, + { + "$id": "1454", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}" + }, + { + "$id": "1455", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}" + }, + { + "$id": "1456", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}" + }, + { + "$id": "1457", + "methodId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "resourceName": "DeviceRegistryNamespaceDiscoveredDevice" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "1458", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1459", + "kind": "model", + "name": "DeviceRegistryNamespaceDiscoveredDeviceProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the discovered device properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1460", + "kind": "property", + "name": "externalDeviceId", + "serializedName": "externalDeviceId", + "doc": "A device ID that represents the device in a system external to Azure. Unique within scope of an Azure tenant.", + "type": { + "$id": "1461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.externalDeviceId", + "serializationOptions": { + "json": { + "name": "externalDeviceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1462", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Endpoints for discovered devices.", + "type": { + "$id": "1463", + "kind": "model", + "name": "DiscoveredMessagingEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredMessagingEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Connection endpoint URL a device can use to connect to a service.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1464", + "kind": "property", + "name": "inbound", + "serializedName": "inbound", + "doc": "Set of endpoints to connect to the device.", + "type": { + "$id": "1465", + "kind": "dict", + "keyType": { + "$id": "1466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1467", + "kind": "model", + "name": "DiscoveredInboundEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "An endpoint to connect to the device.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1468", + "kind": "property", + "name": "endpointType", + "serializedName": "endpointType", + "doc": "Type of connection endpoint.", + "type": { + "$id": "1469", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.endpointType", + "serializationOptions": { + "json": { + "name": "endpointType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1470", + "kind": "property", + "name": "address", + "serializedName": "address", + "doc": "The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).", + "type": { + "$id": "1471", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.address", + "serializationOptions": { + "json": { + "name": "address" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1472", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.", + "type": { + "$id": "1473", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1474", + "kind": "property", + "name": "supportedAuthenticationMethods", + "serializedName": "supportedAuthenticationMethods", + "doc": "List of supported authentication methods supported by device for Inbound connections.", + "type": { + "$id": "1475", + "kind": "array", + "name": "ArrayAuthenticationMethod", + "valueType": { + "$ref": "42" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.supportedAuthenticationMethods", + "serializationOptions": { + "json": { + "name": "supportedAuthenticationMethods" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1476", + "kind": "property", + "name": "additionalConfiguration", + "serializedName": "additionalConfiguration", + "doc": "Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).", + "type": { + "$id": "1477", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.additionalConfiguration", + "serializationOptions": { + "json": { + "name": "additionalConfiguration" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1478", + "kind": "property", + "name": "lastUpdatedOn", + "serializedName": "lastUpdatedOn", + "doc": "The timestamp (in UTC) when the endpoint was discovered.", + "type": { + "$id": "1479", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1480", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredInboundEndpoints.lastUpdatedOn", + "serializationOptions": { + "json": { + "name": "lastUpdatedOn" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredMessagingEndpoints.inbound", + "serializationOptions": { + "json": { + "name": "inbound" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1481", + "kind": "property", + "name": "outbound", + "serializedName": "outbound", + "doc": "Set of endpoints a device can connect to.", + "type": { + "$id": "1482", + "kind": "model", + "name": "DiscoveredOutboundEndpoints", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredOutboundEndpoints", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Property bag contains the device's outbound endpoints", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1483", + "kind": "property", + "name": "assigned", + "serializedName": "assigned", + "doc": "Endpoints the device can connect to.", + "type": { + "$ref": "1190" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredOutboundEndpoints.assigned", + "serializationOptions": { + "json": { + "name": "assigned" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DiscoveredMessagingEndpoints.outbound", + "serializationOptions": { + "json": { + "name": "outbound" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1484", + "kind": "property", + "name": "manufacturer", + "serializedName": "manufacturer", + "doc": "Device manufacturer.", + "type": { + "$id": "1485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.manufacturer", + "serializationOptions": { + "json": { + "name": "manufacturer" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1486", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "Device model.", + "type": { + "$id": "1487", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1488", + "kind": "property", + "name": "operatingSystem", + "serializedName": "operatingSystem", + "doc": "Device operating system name.", + "type": { + "$id": "1489", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.operatingSystem", + "serializationOptions": { + "json": { + "name": "operatingSystem" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1490", + "kind": "property", + "name": "operatingSystemVersion", + "serializedName": "operatingSystemVersion", + "doc": "Device operating system version.", + "type": { + "$id": "1491", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.operatingSystemVersion", + "serializationOptions": { + "json": { + "name": "operatingSystemVersion" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1492", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1493", + "kind": "property", + "name": "discoveryId", + "serializedName": "discoveryId", + "doc": "Identifier used to detect changes in the discovered device.", + "type": { + "$id": "1494", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.discoveryId", + "serializationOptions": { + "json": { + "name": "discoveryId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1495", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "1496", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1497", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevice.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1498", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the discovered device.", + "type": { + "$id": "1499", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevice.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "1500", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "The extended location.", + "type": { + "$ref": "535" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevice.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1459" + }, + { + "$ref": "1463" + }, + { + "$ref": "1467" + }, + { + "$ref": "1482" + }, + { + "$id": "1501", + "kind": "model", + "name": "NamespaceDiscoveredDeviceUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the NamespaceDiscoveredDevice.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1502", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1503", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1504", + "kind": "model", + "name": "NamespaceDiscoveredDeviceUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the NamespaceDiscoveredDevice.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1505", + "kind": "property", + "name": "externalDeviceId", + "serializedName": "externalDeviceId", + "doc": "A device ID that represents the device in a system external to Azure. Unique within scope of an Azure tenant.", + "type": { + "$id": "1506", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.externalDeviceId", + "serializationOptions": { + "json": { + "name": "externalDeviceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1507", + "kind": "property", + "name": "endpoints", + "serializedName": "endpoints", + "doc": "Endpoints for discovered devices.", + "type": { + "$ref": "1463" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.endpoints", + "serializationOptions": { + "json": { + "name": "endpoints" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1508", + "kind": "property", + "name": "operatingSystemVersion", + "serializedName": "operatingSystemVersion", + "doc": "Device operating system version.", + "type": { + "$id": "1509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.operatingSystemVersion", + "serializationOptions": { + "json": { + "name": "operatingSystemVersion" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1510", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A set of key-value pairs that contain custom attributes.", + "type": { + "$ref": "455" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes", + "serializationOptions": { + "json": { + "name": "attributes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1511", + "kind": "property", + "name": "discoveryId", + "serializedName": "discoveryId", + "doc": "Identifier used to detect changes in the discovered device.", + "type": { + "$id": "1512", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.discoveryId", + "serializationOptions": { + "json": { + "name": "discoveryId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1513", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "An integer that is incremented each time the resource is modified.", + "type": { + "$id": "1514", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1504" + }, + { + "$id": "1515", + "kind": "model", + "name": "NamespaceDiscoveredDeviceListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a NamespaceDiscoveredDevice list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1516", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The NamespaceDiscoveredDevice items on this page", + "type": { + "$id": "1517", + "kind": "array", + "name": "ArrayNamespaceDiscoveredDevice", + "valueType": { + "$ref": "1452" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1518", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1519", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1520", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1521", + "kind": "model", + "name": "DeviceRegistrySchemaRegistry", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistry", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Schema registry definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "resourceType": "Microsoft.DeviceRegistry/schemaRegistries", + "methods": [ + { + "$id": "1522", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}" + }, + { + "$id": "1523", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}" + }, + { + "$id": "1524", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}" + }, + { + "$id": "1525", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}" + }, + { + "$id": "1526", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries", + "operationScope": "ResourceGroup" + }, + { + "$id": "1527", + "methodId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/schemaRegistries", + "operationScope": "Subscription" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DeviceRegistrySchemaRegistry" + } + } + ], + "baseModel": { + "$ref": "391" + }, + "properties": [ + { + "$id": "1528", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1529", + "kind": "model", + "name": "DeviceRegistrySchemaRegistryProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines the schema registry properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1530", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable id.", + "type": { + "$id": "1531", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1532", + "kind": "property", + "name": "namespace", + "serializedName": "namespace", + "doc": "Schema registry namespace. Uniquely identifies a schema registry within a tenant.", + "type": { + "$id": "1533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.namespace", + "serializationOptions": { + "json": { + "name": "namespace" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1534", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1535", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1536", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the schema registry.", + "type": { + "$id": "1537", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1538", + "kind": "property", + "name": "storageAccountContainerUrl", + "serializedName": "storageAccountContainerUrl", + "doc": "The Storage Account's Container URL where schemas will be stored.", + "type": { + "$id": "1539", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.storageAccountContainerUrl", + "serializationOptions": { + "json": { + "name": "storageAccountContainerUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1540", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistryProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistry.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1541", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Schema registry name parameter.", + "type": { + "$id": "1542", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistry.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "1543", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$ref": "703" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistry.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1529" + }, + { + "$id": "1544", + "kind": "model", + "name": "SchemaRegistryUpdate", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the SchemaRegistry.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1545", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$ref": "703" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1546", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1547", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1548", + "kind": "model", + "name": "SchemaRegistryUpdateProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the SchemaRegistry.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1549", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1550", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1551", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the schema registry.", + "type": { + "$id": "1552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "1548" + }, + { + "$id": "1553", + "kind": "model", + "name": "SchemaRegistryListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a SchemaRegistry list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1554", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The SchemaRegistry items on this page", + "type": { + "$id": "1555", + "kind": "array", + "name": "ArraySchemaRegistry", + "valueType": { + "$ref": "1521" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1556", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1557", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1558", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1559", + "kind": "model", + "name": "DeviceRegistrySchema", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schema", + "usage": "Input,Output,Json", + "doc": "Schema definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "resourceType": "Microsoft.DeviceRegistry/schemaRegistries/schemas", + "methods": [ + { + "$id": "1560", + "methodId": "Microsoft.DeviceRegistry.Schemas.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}" + }, + { + "$id": "1561", + "methodId": "Microsoft.DeviceRegistry.Schemas.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}" + }, + { + "$id": "1562", + "methodId": "Microsoft.DeviceRegistry.Schemas.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}" + }, + { + "$id": "1563", + "methodId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "resourceName": "DeviceRegistrySchema" + } + } + ], + "baseModel": { + "$ref": "660" + }, + "properties": [ + { + "$id": "1564", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1565", + "kind": "model", + "name": "DeviceRegistrySchemaProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties", + "usage": "Input,Output,Json", + "doc": "Defines the schema properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1566", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable id.", + "type": { + "$id": "1567", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1568", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "Human-readable display name.", + "type": { + "$id": "1569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.displayName", + "serializationOptions": { + "json": { + "name": "displayName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1570", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the schema.", + "type": { + "$id": "1571", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1572", + "kind": "property", + "name": "format", + "serializedName": "format", + "doc": "Format of the schema.", + "type": { + "$ref": "88" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.format", + "serializationOptions": { + "json": { + "name": "format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1573", + "kind": "property", + "name": "schemaType", + "serializedName": "schemaType", + "doc": "Type of the schema.", + "type": { + "$ref": "92" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.schemaType", + "serializationOptions": { + "json": { + "name": "schemaType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1574", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1575", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Schema tags.", + "type": { + "$ref": "416" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaProperties.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schema.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1576", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Schema name parameter.", + "type": { + "$id": "1577", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schema.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "1565" + }, + { + "$id": "1578", + "kind": "model", + "name": "SchemaListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Schema list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1579", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Schema items on this page", + "type": { + "$id": "1580", + "kind": "array", + "name": "ArraySchema", + "valueType": { + "$ref": "1559" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1581", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1582", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1583", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "1584", + "kind": "model", + "name": "DeviceRegistrySchemaVersion", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersion", + "usage": "Input,Output,Json", + "doc": "Schema version's definition.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "resourceType": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions", + "methods": [ + { + "$id": "1585", + "methodId": "Microsoft.DeviceRegistry.SchemaVersions.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}" + }, + { + "$id": "1586", + "methodId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}" + }, + { + "$id": "1587", + "methodId": "Microsoft.DeviceRegistry.SchemaVersions.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}" + }, + { + "$id": "1588", + "methodId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "resourceName": "DeviceRegistrySchemaVersion" + } + } + ], + "baseModel": { + "$ref": "660" + }, + "properties": [ + { + "$id": "1589", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1590", + "kind": "model", + "name": "DeviceRegistrySchemaVersionProperties", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties", + "usage": "Input,Output,Json", + "doc": "Defines the schema version properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1591", + "kind": "property", + "name": "uuid", + "serializedName": "uuid", + "doc": "Globally unique, immutable, non-reusable id.", + "type": { + "$id": "1592", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties.uuid", + "serializationOptions": { + "json": { + "name": "uuid" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1593", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Human-readable description of the schema.", + "type": { + "$id": "1594", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1595", + "kind": "property", + "name": "schemaContent", + "serializedName": "schemaContent", + "doc": "Schema content.", + "type": { + "$id": "1596", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties.schemaContent", + "serializationOptions": { + "json": { + "name": "schemaContent" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1597", + "kind": "property", + "name": "hash", + "serializedName": "hash", + "doc": "Hash of the schema content.", + "type": { + "$id": "1598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties.hash", + "serializationOptions": { + "json": { + "name": "hash" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1599", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersionProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersion.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1600", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Schema version name parameter.", + "type": { + "$id": "1601", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersion.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "1590" + }, + { + "$id": "1602", + "kind": "model", + "name": "SchemaVersionListResult", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a SchemaVersion list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "1603", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The SchemaVersion items on this page", + "type": { + "$id": "1604", + "kind": "array", + "name": "ArraySchemaVersion", + "valueType": { + "$ref": "1584" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "1605", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1606", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1607", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + } + ], + "clients": [ + { + "$id": "1608", + "kind": "client", + "name": "DeviceRegistryClient", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "doc": "Microsoft.DeviceRegistry Resource Provider management API.", + "methods": [], + "parameters": [ + { + "$id": "1609", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1610", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1611", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "1612", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "1614", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1615", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1616", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1617", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 1, + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@nonResourceMethodSchema", + "arguments": { + "nonResourceMethods": [ + { + "methodId": "Azure.ResourceManager.Operations.list", + "operationPath": "/providers/Microsoft.DeviceRegistry/operations", + "operationScope": "Tenant" + } + ] + } + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "children": [ + { + "$id": "1618", + "kind": "client", + "name": "Operations", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "1619", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List the operations for the provider", + "operation": { + "$id": "1620", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "1621", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false + }, + { + "$id": "1624", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "105" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "343" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.DeviceRegistry/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "1625", + "kind": "http", + "name": "List_Operations", + "description": "List_Operations", + "filePath": "2025-11-01-preview/List_Operations.json", + "parameters": [ + { + "parameter": { + "$ref": "1621" + }, + "value": { + "$id": "1626", + "kind": "string", + "type": { + "$ref": "1622" + }, + "value": "2025-11-01-preview" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "343" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1627", + "kind": "model", + "type": { + "$ref": "343" + }, + "value": { + "value": { + "$id": "1628", + "kind": "array", + "type": { + "$ref": "345" + }, + "value": [ + { + "$id": "1629", + "kind": "model", + "type": { + "$ref": "346" + }, + "value": { + "name": { + "$id": "1630", + "kind": "string", + "type": { + "$ref": "348" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets/write" + }, + "display": { + "$id": "1631", + "kind": "model", + "type": { + "$ref": "352" + }, + "value": { + "provider": { + "$id": "1632", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "Microsoft Azure Device Registry" + }, + "resource": { + "$id": "1633", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "Asset" + }, + "operation": { + "$id": "1634", + "kind": "string", + "type": { + "$ref": "358" + }, + "value": "write" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1635", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "105" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "345" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "1636", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1637", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1638", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$ref": "1612" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Operations", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "1639", + "kind": "client", + "name": "Assets", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "1640", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a Asset", + "operation": { + "$id": "1641", + "name": "get", + "resourceName": "Asset", + "doc": "Get a Asset", + "accessibility": "public", + "parameters": [ + { + "$id": "1642", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1643", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1644", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.apiVersion", + "readOnly": false + }, + { + "$id": "1645", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1646", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1647", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.subscriptionId" + }, + { + "$id": "1648", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1649", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.resourceGroupName" + }, + { + "$id": "1650", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "1651", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.assetName" + }, + { + "$id": "1652", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "107" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1653", + "kind": "http", + "name": "Get_Asset", + "description": "Get_Asset", + "filePath": "2025-11-01-preview/Get_Asset.json", + "parameters": [ + { + "parameter": { + "$ref": "1642" + }, + "value": { + "$id": "1654", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1645" + }, + "value": { + "$id": "1655", + "kind": "string", + "type": { + "$ref": "1646" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1648" + }, + "value": { + "$id": "1656", + "kind": "string", + "type": { + "$ref": "1649" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1650" + }, + "value": { + "$id": "1657", + "kind": "string", + "type": { + "$ref": "1651" + }, + "value": "my-asset" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1658", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "1659", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "1660", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "1661", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "1662", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "1663", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "1664", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "1665", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "1666", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "1667", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "1668", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "1669", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "1670", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "1671", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "1672", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "1673", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "1674", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "1675", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "1676", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "1677", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "1678", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "1679", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "1680", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "1681", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "1682", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "1683", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "1684", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "1685", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "1686", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "1687", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "1688", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "1689", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "1690", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "1691", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "1692", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "1693", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1694", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "1695", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "1696", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "1697", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "1698", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "1699", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "1700", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1701", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "1702", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "1703", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "1704", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1705", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "1706", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "1707", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "1708", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "1709", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1710", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "1711", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "1712", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "1713", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "1714", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "1715", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1716", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "1717", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "1718", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "1719", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "1720", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1721", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "1722", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "1723", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1724", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "1725", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "1726", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "1727", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "1728", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "1729", + "kind": "http", + "name": "Get_Asset_With_SyncStatus", + "description": "Get_Asset_With_SyncStatus", + "filePath": "2025-11-01-preview/Get_Asset_With_SyncStatus.json", + "parameters": [ + { + "parameter": { + "$ref": "1642" + }, + "value": { + "$id": "1730", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1645" + }, + "value": { + "$id": "1731", + "kind": "string", + "type": { + "$ref": "1646" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1648" + }, + "value": { + "$id": "1732", + "kind": "string", + "type": { + "$ref": "1649" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1650" + }, + "value": { + "$id": "1733", + "kind": "string", + "type": { + "$ref": "1651" + }, + "value": "my-asset" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1734", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "1735", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "1736", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "1737", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "1738", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "1739", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "1740", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "1741", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "1742", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "1743", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "1744", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "1745", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "1746", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "1747", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "1748", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "1749", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "1750", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "1751", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "1752", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "1753", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "1754", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "1755", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "1756", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "1757", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "1758", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "1759", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "1760", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "1761", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "1762", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "1763", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "1764", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "1765", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "1766", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "1767", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "1768", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "1769", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1770", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "1771", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "1772", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "1773", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "1774", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "1775", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "1776", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1777", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "1778", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "1779", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "1780", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1781", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "1782", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "1783", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "1784", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "1785", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1786", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "1787", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "1788", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "1789", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "1790", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "1791", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1792", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "1793", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "1794", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "1795", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "1796", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1797", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "1798", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "1799", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1800", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "1801", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "1802", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "1803", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "status": { + "$id": "1804", + "kind": "model", + "type": { + "$ref": "502" + }, + "value": { + "errors": { + "$id": "1805", + "kind": "array", + "type": { + "$ref": "504" + }, + "value": [ + { + "$id": "1806", + "kind": "model", + "type": { + "$ref": "505" + }, + "value": { + "code": { + "$id": "1807", + "kind": "number", + "type": { + "$ref": "507" + }, + "value": 500 + }, + "message": { + "$id": "1808", + "kind": "string", + "type": { + "$ref": "509" + }, + "value": "Internal Server Error" + } + } + } + ] + }, + "version": { + "$id": "1809", + "kind": "number", + "type": { + "$ref": "511" + }, + "value": 1 + }, + "datasets": { + "$id": "1810", + "kind": "array", + "type": { + "$ref": "513" + }, + "value": [ + { + "$id": "1811", + "kind": "model", + "type": { + "$ref": "514" + }, + "value": { + "name": { + "$id": "1812", + "kind": "string", + "type": { + "$ref": "516" + }, + "value": "dataset1" + }, + "messageSchemaReference": { + "$id": "1813", + "kind": "model", + "type": { + "$ref": "518" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "1814", + "kind": "string", + "type": { + "$ref": "520" + }, + "value": "schemans" + }, + "schemaName": { + "$id": "1815", + "kind": "string", + "type": { + "$ref": "522" + }, + "value": "schema1" + }, + "schemaVersion": { + "$id": "1816", + "kind": "string", + "type": { + "$ref": "524" + }, + "value": "1.0.0" + } + } + } + } + } + ] + }, + "events": { + "$id": "1817", + "kind": "array", + "type": { + "$ref": "526" + }, + "value": [ + { + "$id": "1818", + "kind": "model", + "type": { + "$ref": "527" + }, + "value": { + "name": { + "$id": "1819", + "kind": "string", + "type": { + "$ref": "529" + }, + "value": "event1" + }, + "messageSchemaReference": { + "$id": "1820", + "kind": "model", + "type": { + "$ref": "518" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "1821", + "kind": "string", + "type": { + "$ref": "520" + }, + "value": "schemans" + }, + "schemaName": { + "$id": "1822", + "kind": "string", + "type": { + "$ref": "522" + }, + "value": "schema2" + }, + "schemaVersion": { + "$id": "1823", + "kind": "string", + "type": { + "$ref": "524" + }, + "value": "1.0.0" + } + } + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "1824", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1825", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1826", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1827", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "1828", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1829", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "107" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "384" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get" + }, + { + "$id": "1830", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a Asset", + "operation": { + "$id": "1831", + "name": "createOrReplace", + "resourceName": "Asset", + "doc": "Create a Asset", + "accessibility": "public", + "parameters": [ + { + "$id": "1832", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1833", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1834", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "1835", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1836", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1837", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.subscriptionId" + }, + { + "$id": "1838", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1839", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.resourceGroupName" + }, + { + "$id": "1840", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "1841", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.assetName" + }, + { + "$id": "1842", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "109" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.contentType" + }, + { + "$id": "1843", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "111" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.accept" + }, + { + "$id": "1844", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "384" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1845", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "1846", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1847", + "kind": "http", + "name": "CreateOrReplace_Asset_With_DiscoveredAssetRefs", + "description": "CreateOrReplace_Asset_With_DiscoveredAssetRefs", + "filePath": "2025-11-01-preview/CreateOrReplace_Asset_With_DiscoveredAssetRef.json", + "parameters": [ + { + "parameter": { + "$ref": "1832" + }, + "value": { + "$id": "1848", + "kind": "string", + "type": { + "$ref": "1833" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1835" + }, + "value": { + "$id": "1849", + "kind": "string", + "type": { + "$ref": "1836" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1838" + }, + "value": { + "$id": "1850", + "kind": "string", + "type": { + "$ref": "1839" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1840" + }, + "value": { + "$id": "1851", + "kind": "string", + "type": { + "$ref": "1841" + }, + "value": "my-asset" + } + }, + { + "parameter": { + "$ref": "1844" + }, + "value": { + "$id": "1852", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "location": { + "$id": "1853", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "1854", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "1855", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "1856", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "1857", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "1858", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "1859", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "enabled": { + "$id": "1860", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "1861", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "1862", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "1863", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "1864", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "manufacturer": { + "$id": "1865", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "1866", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "1867", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "1868", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "1869", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "1870", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "1871", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "1872", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "discoveredAssetRefs": { + "$id": "1873", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "1874", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + }, + { + "$id": "1875", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset2" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "1876", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "1877", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "1878", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1879", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "1880", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "1881", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "1882", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "1883", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "1884", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "1885", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1886", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "1887", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "1888", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "1889", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1890", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "1891", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "1892", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "1893", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "1894", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1895", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "1896", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "1897", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "1898", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "1899", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "1900", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1901", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "1902", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "1903", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "1904", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "1905", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1906", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "1907", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "1908", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1909", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "1910", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "1911", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "1912", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1913", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "1914", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "1915", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "1916", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "1917", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "1918", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "1919", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "1920", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "1921", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "1922", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "1923", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "1924", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "1925", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "1926", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "1927", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "1928", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "1929", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "1930", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "1931", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "1932", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "1933", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "1934", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "1935", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "1936", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "1937", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "1938", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "1939", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "1940", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "1941", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "1942", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "1943", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "1944", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "1945", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "discoveredAssetRefs": { + "$id": "1946", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "1947", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + }, + { + "$id": "1948", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset2" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "1949", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "1950", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "1951", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1952", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "1953", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "1954", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "1955", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "1956", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "1957", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "1958", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1959", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "1960", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "1961", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "1962", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1963", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "1964", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "1965", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "1966", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "1967", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "1968", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "1969", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "1970", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "1971", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "1972", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "1973", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1974", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "1975", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "1976", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "1977", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "1978", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "1979", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "1980", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "1981", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "1982", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "1983", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "1984", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "1985", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "1986", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1845" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1846" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "1987", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "1988", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "1989", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "1990", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "1991", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "1992", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "1993", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "1994", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "1995", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "1996", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "1997", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "1998", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "1999", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2000", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2001", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2002", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2003", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2004", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2005", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2006", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2007", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2008", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2009", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2010", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2011", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2012", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2013", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2014", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2015", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2016", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2017", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2018", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2019", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "discoveredAssetRefs": { + "$id": "2020", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "2021", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + }, + { + "$id": "2022", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset2" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "2023", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2024", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2025", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2026", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2027", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2028", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2029", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2030", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2031", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2032", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2033", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2034", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2035", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2036", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2037", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2038", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2039", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2040", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2041", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2042", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2043", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2044", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2045", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2046", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2047", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2048", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2049", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2050", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2051", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2052", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2053", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2054", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2055", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2056", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2057", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2058", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2059", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2060", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + }, + { + "$id": "2061", + "kind": "http", + "name": "CreateOrReplace_Asset_With_ExternalAssetId", + "description": "CreateOrReplace_Asset_With_ExternalAssetId", + "filePath": "2025-11-01-preview/CreateOrReplace_Asset_With_ExternalAssetId.json", + "parameters": [ + { + "parameter": { + "$ref": "1832" + }, + "value": { + "$id": "2062", + "kind": "string", + "type": { + "$ref": "1833" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1835" + }, + "value": { + "$id": "2063", + "kind": "string", + "type": { + "$ref": "1836" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1838" + }, + "value": { + "$id": "2064", + "kind": "string", + "type": { + "$ref": "1839" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1840" + }, + "value": { + "$id": "2065", + "kind": "string", + "type": { + "$ref": "1841" + }, + "value": "my-asset" + } + }, + { + "parameter": { + "$ref": "1844" + }, + "value": { + "$id": "2066", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "location": { + "$id": "2067", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2068", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2069", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2070", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2071", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2072", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "2073", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "enabled": { + "$id": "2074", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2075", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2076", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2077", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2078", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "manufacturer": { + "$id": "2079", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2080", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2081", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2082", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2083", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2084", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2085", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2086", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2087", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2088", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2089", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2090", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2091", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2092", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2093", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2094", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2095", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2096", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2097", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2098", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2099", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2100", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2101", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2102", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2103", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2104", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2105", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2106", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2107", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2108", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2109", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2110", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2111", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2112", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2113", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2114", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2115", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2116", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2117", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2118", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2119", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2120", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2121", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2122", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2123", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2124", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2125", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2126", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2127", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2128", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2129", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2130", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2131", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2132", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2133", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2134", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2135", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2136", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2137", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2138", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2139", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2140", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2141", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2142", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2143", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2144", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2145", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2146", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2147", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2148", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2149", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2150", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2151", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2152", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2153", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2154", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2155", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2156", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2157", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2158", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2159", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2160", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2161", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2162", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2163", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2164", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2165", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2166", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2167", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2168", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2169", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2170", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2171", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2172", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2173", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2174", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2175", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2176", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2177", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2178", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2179", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2180", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2181", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2182", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2183", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2184", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2185", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2186", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2187", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2188", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2189", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2190", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2191", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2192", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2193", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2194", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1845" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1846" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "2195", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2196", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2197", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2198", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2199", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2200", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2201", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2202", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2203", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2204", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2205", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2206", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2207", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2208", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2209", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2210", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2211", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2212", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2213", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2214", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2215", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2216", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2217", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2218", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2219", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2220", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2221", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2222", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2223", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2224", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2225", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2226", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2227", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2228", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2229", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2230", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2231", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2232", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2233", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2234", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2235", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2236", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2237", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2238", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2239", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2240", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2241", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2242", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2243", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2244", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2245", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2246", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2247", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2248", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2249", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2250", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2251", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2252", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2253", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2254", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2255", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2256", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2257", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2258", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2259", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2260", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2261", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2262", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2263", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2264", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2265", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + }, + { + "$id": "2266", + "kind": "http", + "name": "CreateOrReplace_Asset_Without_DisplayName", + "description": "CreateOrReplace_Asset_Without_DisplayName", + "filePath": "2025-11-01-preview/CreateOrReplace_Asset_Without_DisplayName.json", + "parameters": [ + { + "parameter": { + "$ref": "1832" + }, + "value": { + "$id": "2267", + "kind": "string", + "type": { + "$ref": "1833" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1835" + }, + "value": { + "$id": "2268", + "kind": "string", + "type": { + "$ref": "1836" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1838" + }, + "value": { + "$id": "2269", + "kind": "string", + "type": { + "$ref": "1839" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1840" + }, + "value": { + "$id": "2270", + "kind": "string", + "type": { + "$ref": "1841" + }, + "value": "my-asset" + } + }, + { + "parameter": { + "$ref": "1844" + }, + "value": { + "$id": "2271", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "location": { + "$id": "2272", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2273", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2274", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2275", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2276", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2277", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "2278", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "enabled": { + "$id": "2279", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2280", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "description": { + "$id": "2281", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2282", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "manufacturer": { + "$id": "2283", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2284", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2285", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2286", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2287", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2288", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2289", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2290", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2291", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2292", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2293", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2294", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2295", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2296", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2297", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2298", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2299", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2300", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2301", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2302", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2303", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2304", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2305", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2306", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2307", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2308", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2309", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2310", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2311", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2312", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2313", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2314", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2315", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2316", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2317", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2318", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2319", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2320", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2321", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2322", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2323", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2324", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2325", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2326", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2327", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2328", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2329", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2330", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2331", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2332", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2333", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2334", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2335", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2336", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2337", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2338", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2339", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2340", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2341", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2342", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2343", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2344", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2345", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2346", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2347", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2348", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2349", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "my-asset" + }, + "description": { + "$id": "2350", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2351", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2352", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2353", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2354", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2355", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2356", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2357", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2358", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2359", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2360", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2361", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2362", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2363", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2364", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2365", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2366", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2367", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2368", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2369", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2370", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2371", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2372", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2373", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2374", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2375", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2376", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2377", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2378", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2379", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2380", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2381", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2382", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2383", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2384", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2385", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2386", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2387", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2388", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2389", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2390", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2391", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2392", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2393", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2394", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2395", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2396", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2397", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2398", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1845" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1846" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "2399", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2400", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2401", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2402", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2403", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2404", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2405", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2406", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2407", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2408", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2409", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2410", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2411", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2412", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2413", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2414", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2415", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2416", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2417", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2418", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2419", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2420", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "my-asset" + }, + "description": { + "$id": "2421", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2422", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2423", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2424", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2425", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2426", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2427", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2428", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2429", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2430", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2431", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2432", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2433", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2434", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2435", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2436", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2437", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2438", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2439", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2440", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2441", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2442", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2443", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2444", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2445", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2446", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2447", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2448", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2449", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2450", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2451", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2452", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2453", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2454", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2455", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2456", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2457", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2458", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2459", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2460", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2461", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2462", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2463", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2464", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2465", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2466", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2467", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2468", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2469", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + }, + { + "$id": "2470", + "kind": "http", + "name": "CreateOrReplace_Asset_Without_ExternalAssetId", + "description": "CreateOrReplace_Asset_Without_ExternalAssetId", + "filePath": "2025-11-01-preview/CreateOrReplace_Asset_Without_ExternalAssetId.json", + "parameters": [ + { + "parameter": { + "$ref": "1832" + }, + "value": { + "$id": "2471", + "kind": "string", + "type": { + "$ref": "1833" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "1835" + }, + "value": { + "$id": "2472", + "kind": "string", + "type": { + "$ref": "1836" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "1838" + }, + "value": { + "$id": "2473", + "kind": "string", + "type": { + "$ref": "1839" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1840" + }, + "value": { + "$id": "2474", + "kind": "string", + "type": { + "$ref": "1841" + }, + "value": "my-asset" + } + }, + { + "parameter": { + "$ref": "1844" + }, + "value": { + "$id": "2475", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "location": { + "$id": "2476", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2477", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2478", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2479", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2480", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2481", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "2482", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "enabled": { + "$id": "2483", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "displayName": { + "$id": "2484", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2485", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2486", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "manufacturer": { + "$id": "2487", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2488", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2489", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2490", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2491", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2492", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2493", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2494", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2495", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2496", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2497", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2498", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2499", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2500", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2501", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2502", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2503", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2504", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2505", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2506", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2507", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2508", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2509", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2510", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2511", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2512", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2513", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2514", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2515", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2516", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2517", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2518", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2519", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2520", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2521", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2522", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2523", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2524", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2525", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2526", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2527", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2528", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2529", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2530", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2531", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2532", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2533", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2534", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2535", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2536", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2537", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2538", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2539", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2540", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2541", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2542", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2543", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2544", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2545", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2546", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2547", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2548", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2549", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2550", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2551", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2552", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "2553", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2554", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2555", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2556", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2557", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2558", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2559", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2560", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2561", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2562", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2563", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2564", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2565", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2566", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2567", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2568", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2569", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2570", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2571", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2572", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2573", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2574", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2575", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2576", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2577", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2578", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2579", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2580", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2581", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2582", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2583", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2584", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2585", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2586", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2587", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2588", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2589", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2590", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2591", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2592", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2593", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2594", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2595", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2596", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2597", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2598", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2599", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2600", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2601", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2602", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1845" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1846" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "2603", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2604", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2605", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2606", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2607", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2608", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2609", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2610", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2611", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2612", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2613", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2614", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2615", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2616", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2617", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2618", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2619", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2620", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2621", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2622", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2623", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "2624", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2625", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2626", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2627", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2628", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2629", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2630", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2631", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2632", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2633", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2634", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2635", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2636", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2637", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2638", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2639", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2640", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2641", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2642", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2643", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2644", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2645", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2646", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2647", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2648", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2649", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2650", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2651", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2652", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2653", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2654", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2655", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2656", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2657", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2658", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2659", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2660", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2661", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2662", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2663", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2664", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2665", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2666", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2667", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2668", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2669", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2670", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2671", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2672", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2673", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2674", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2675", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2676", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "2677", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2678", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "384" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2679", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "113" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2680", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "115" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "384" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + } + } + } + }, + { + "$id": "2681", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a Asset", + "operation": { + "$id": "2682", + "name": "update", + "resourceName": "Asset", + "doc": "Update a Asset", + "accessibility": "public", + "parameters": [ + { + "$id": "2683", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2684", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2685", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.apiVersion", + "readOnly": false + }, + { + "$id": "2686", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2687", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2688", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.subscriptionId" + }, + { + "$id": "2689", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2690", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.resourceGroupName" + }, + { + "$id": "2691", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "2692", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.assetName" + }, + { + "$id": "2693", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "117" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.contentType" + }, + { + "$id": "2694", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "119" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.accept" + }, + { + "$id": "2695", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "555" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "2696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "2697", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2698", + "kind": "http", + "name": "Update_Asset", + "description": "Update_Asset", + "filePath": "2025-11-01-preview/Update_Asset.json", + "parameters": [ + { + "parameter": { + "$ref": "2683" + }, + "value": { + "$id": "2699", + "kind": "string", + "type": { + "$ref": "2684" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "2686" + }, + "value": { + "$id": "2700", + "kind": "string", + "type": { + "$ref": "2687" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2689" + }, + "value": { + "$id": "2701", + "kind": "string", + "type": { + "$ref": "2690" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2691" + }, + "value": { + "$id": "2702", + "kind": "string", + "type": { + "$ref": "2692" + }, + "value": "my-asset" + } + }, + { + "parameter": { + "$ref": "2695" + }, + "value": { + "$id": "2703", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "properties": { + "$id": "2704", + "kind": "model", + "type": { + "$ref": "558" + }, + "value": { + "enabled": { + "$id": "2705", + "kind": "boolean", + "type": { + "$ref": "560" + }, + "value": false + }, + "displayName": { + "$id": "2706", + "kind": "string", + "type": { + "$ref": "562" + }, + "value": "NewAssetDisplayName" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2707", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2708", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2709", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2710", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2711", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2712", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2713", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2714", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2715", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2716", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2717", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2718", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2719", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2720", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2721", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2722", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2723", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2724", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2725", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2726", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2727", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2728", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "NewAssetDisplayName" + }, + "description": { + "$id": "2729", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2730", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2731", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2732", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2733", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2734", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2735", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2736", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2737", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2738", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2739", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2740", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2741", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2742", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2743", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2744", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2745", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2746", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2747", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2748", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2749", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2750", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2751", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2752", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2753", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2754", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2755", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2756", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2757", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2758", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2759", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2760", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2761", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2762", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2763", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2764", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2765", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2766", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2767", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2768", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2769", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2770", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2771", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2772", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2773", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2774", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2775", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2776", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2777", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "2696" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2697" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2778", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2779", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2780", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "2781", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2782", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "555" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2783", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "121" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2784", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "123" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "384" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "384" + } + } + } + }, + { + "$id": "2785", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a Asset", + "operation": { + "$id": "2786", + "name": "delete", + "resourceName": "Asset", + "doc": "Delete a Asset", + "accessibility": "public", + "parameters": [ + { + "$id": "2787", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2788", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2789", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.apiVersion", + "readOnly": false + }, + { + "$id": "2790", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2791", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2792", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.subscriptionId" + }, + { + "$id": "2793", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.resourceGroupName" + }, + { + "$id": "2795", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "2796", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.assetName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "2797", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "2798", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2799", + "kind": "http", + "name": "Delete_Asset", + "description": "Delete_Asset", + "filePath": "2025-11-01-preview/Delete_Asset.json", + "parameters": [ + { + "parameter": { + "$ref": "2787" + }, + "value": { + "$id": "2800", + "kind": "string", + "type": { + "$ref": "2788" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "2790" + }, + "value": { + "$id": "2801", + "kind": "string", + "type": { + "$ref": "2791" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2793" + }, + "value": { + "$id": "2802", + "kind": "string", + "type": { + "$ref": "2794" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2795" + }, + "value": { + "$id": "2803", + "kind": "string", + "type": { + "$ref": "2796" + }, + "value": "my-asset" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "2797" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2798" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2804", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2805", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2806", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "Asset name parameter.", + "type": { + "$id": "2807", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "2808", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List Asset resources by resource group", + "operation": { + "$id": "2809", + "name": "listByResourceGroup", + "resourceName": "Asset", + "doc": "List Asset resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "2810", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2811", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "2813", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2814", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2815", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.subscriptionId" + }, + { + "$id": "2816", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.resourceGroupName" + }, + { + "$id": "2818", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "125" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "589" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2819", + "kind": "http", + "name": "List_Assets_ByResourceGroup", + "description": "List_Assets_ByResourceGroup", + "filePath": "2025-11-01-preview/List_Assets_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "2810" + }, + "value": { + "$id": "2820", + "kind": "string", + "type": { + "$ref": "2811" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "2813" + }, + "value": { + "$id": "2821", + "kind": "string", + "type": { + "$ref": "2814" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2816" + }, + "value": { + "$id": "2822", + "kind": "string", + "type": { + "$ref": "2817" + }, + "value": "myResourceGroup" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "589" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2823", + "kind": "model", + "type": { + "$ref": "589" + }, + "value": { + "value": { + "$id": "2824", + "kind": "array", + "type": { + "$ref": "591" + }, + "value": [ + { + "$id": "2825", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2826", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2827", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2828", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2829", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2830", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2831", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2832", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2833", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2834", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2835", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2836", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2837", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2838", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2839", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2840", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2841", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2842", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2843", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "2844", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2845", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "2846", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "2847", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "2848", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2849", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2850", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2851", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2852", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2853", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2854", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2855", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2856", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2857", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2858", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2859", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2860", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2861", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2862", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2863", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2864", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2865", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2866", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2867", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2868", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2869", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2870", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2871", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2872", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2873", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2874", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2875", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2876", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2877", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2878", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2879", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2880", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2881", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2882", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2883", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2884", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2885", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2886", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2887", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2888", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2889", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2890", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2891", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2892", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2893", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2894", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2895", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "2896", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2897", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1" + }, + "name": { + "$id": "2898", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset1" + }, + "type": { + "$id": "2899", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2900", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2901", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2902", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2903", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2904", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2905", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "2906", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2907", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2908", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2909", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2910", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2911", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "2912", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "2913", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "2914", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "enabled": { + "$id": "2915", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "2916", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "9AVD7KLPU03377981" + }, + "displayName": { + "$id": "2917", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName 1" + }, + "description": { + "$id": "2918", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset 1" + }, + "assetEndpointProfileRef": { + "$id": "2919", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "2920", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "2921", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "2922", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "2923", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "2924", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "2925", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "2926", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "2927", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "2928", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "12-984302-792341-8" + }, + "defaultDatasetsConfiguration": { + "$id": "2929", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "2930", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "2931", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2932", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "2933", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "2934", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "2935", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "2936", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "2937", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "2938", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2939", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "2940", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "2941", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "2942", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2943", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "2944", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "2945", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "2946", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "2947", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "2948", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "2949", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "2950", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "2951", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "2952", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "2953", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2954", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "2955", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "2956", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "2957", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "2958", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "2959", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "2960", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "2961", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "2962", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "2963", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "2964", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "2965", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "2966", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2967", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2968", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2969", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "125" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "591" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "2970", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List Asset resources by subscription ID", + "operation": { + "$id": "2971", + "name": "listBySubscription", + "resourceName": "Asset", + "doc": "List Asset resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "2972", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2974", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "2975", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2976", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2977", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription.subscriptionId" + }, + { + "$id": "2978", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "127" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "589" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2979", + "kind": "http", + "name": "List_Assets_BySubscription", + "description": "List_Assets_BySubscription", + "filePath": "2025-11-01-preview/List_Assets_BySubscription.json", + "parameters": [ + { + "parameter": { + "$ref": "2972" + }, + "value": { + "$id": "2980", + "kind": "string", + "type": { + "$ref": "2973" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "2975" + }, + "value": { + "$id": "2981", + "kind": "string", + "type": { + "$ref": "2976" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "589" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2982", + "kind": "model", + "type": { + "$ref": "589" + }, + "value": { + "value": { + "$id": "2983", + "kind": "array", + "type": { + "$ref": "591" + }, + "value": [ + { + "$id": "2984", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "2985", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset" + }, + "name": { + "$id": "2986", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset" + }, + "type": { + "$id": "2987", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "2988", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "2989", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "2990", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "2991", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "2992", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "2993", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "2994", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "2995", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "2996", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "2997", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "2998", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "2999", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3000", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3001", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "3002", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "3003", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "3004", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "3005", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "3006", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset" + }, + "assetEndpointProfileRef": { + "$id": "3007", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "3008", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "3009", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "3010", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "3011", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "3012", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "3013", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "3014", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "3015", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "3016", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "3017", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "3018", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "3019", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3020", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "3021", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "3022", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "3023", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "3024", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "3025", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "3026", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3027", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "3028", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "3029", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "3030", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "3031", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "3032", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "3033", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "3034", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "3035", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "3036", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "3037", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "3038", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "3039", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "3040", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "3041", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "3042", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "3043", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "3044", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "3045", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "3046", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3047", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "3048", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "3049", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "3050", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "3051", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "3052", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "3053", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "3054", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3055", + "kind": "model", + "type": { + "$ref": "384" + }, + "value": { + "id": { + "$id": "3056", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1" + }, + "name": { + "$id": "3057", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "my-asset1" + }, + "type": { + "$id": "3058", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assets" + }, + "location": { + "$id": "3059", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3060", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3061", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3062", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3063", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3064", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "3065", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3066", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3067", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3068", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3069", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3070", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3071", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3072", + "kind": "model", + "type": { + "$ref": "423" + }, + "value": { + "uuid": { + "$id": "3073", + "kind": "string", + "type": { + "$ref": "425" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "enabled": { + "$id": "3074", + "kind": "boolean", + "type": { + "$ref": "427" + }, + "value": true + }, + "externalAssetId": { + "$id": "3075", + "kind": "string", + "type": { + "$ref": "429" + }, + "value": "9AVD7KLPU03377981" + }, + "displayName": { + "$id": "3076", + "kind": "string", + "type": { + "$ref": "431" + }, + "value": "AssetDisplayName 1" + }, + "description": { + "$id": "3077", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "This is a sample Asset 1" + }, + "assetEndpointProfileRef": { + "$id": "3078", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "myAssetEndpointProfile" + }, + "version": { + "$id": "3079", + "kind": "number", + "type": { + "$ref": "437" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "3080", + "kind": "string", + "type": { + "$ref": "439" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "3081", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "3082", + "kind": "string", + "type": { + "$ref": "443" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "3083", + "kind": "string", + "type": { + "$ref": "445" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "3084", + "kind": "string", + "type": { + "$ref": "447" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "3085", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "3086", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "3087", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "12-984302-792341-8" + }, + "defaultDatasetsConfiguration": { + "$id": "3088", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "3089", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultTopic": { + "$id": "3090", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3091", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/defaultTopic" + }, + "retain": { + "$id": "3092", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "datasets": { + "$id": "3093", + "kind": "array", + "type": { + "$ref": "471" + }, + "value": [ + { + "$id": "3094", + "kind": "model", + "type": { + "$ref": "472" + }, + "value": { + "name": { + "$id": "3095", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "3096", + "kind": "string", + "type": { + "$ref": "476" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "topic": { + "$id": "3097", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3098", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/dataset1" + }, + "retain": { + "$id": "3099", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + }, + "dataPoints": { + "$id": "3100", + "kind": "array", + "type": { + "$ref": "479" + }, + "value": [ + { + "$id": "3101", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "3102", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "3103", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "observabilityMode": { + "$id": "3104", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "Counter" + }, + "dataPointConfiguration": { + "$id": "3105", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + } + } + }, + { + "$id": "3106", + "kind": "model", + "type": { + "$ref": "480" + }, + "value": { + "name": { + "$id": "3107", + "kind": "string", + "type": { + "$ref": "483" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "3108", + "kind": "string", + "type": { + "$ref": "485" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "observabilityMode": { + "$id": "3109", + "kind": "string", + "type": { + "$ref": "13" + }, + "value": "None" + }, + "dataPointConfiguration": { + "$id": "3110", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "events": { + "$id": "3111", + "kind": "array", + "type": { + "$ref": "490" + }, + "value": [ + { + "$id": "3112", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "3113", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event1" + }, + "eventNotifier": { + "$id": "3114", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "observabilityMode": { + "$id": "3115", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "None" + }, + "eventConfiguration": { + "$id": "3116", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "topic": { + "$id": "3117", + "kind": "model", + "type": { + "$ref": "466" + }, + "value": { + "path": { + "$id": "3118", + "kind": "string", + "type": { + "$ref": "468" + }, + "value": "/path/event1" + }, + "retain": { + "$id": "3119", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + } + } + } + } + }, + { + "$id": "3120", + "kind": "model", + "type": { + "$ref": "491" + }, + "value": { + "name": { + "$id": "3121", + "kind": "string", + "type": { + "$ref": "494" + }, + "value": "event2" + }, + "eventNotifier": { + "$id": "3122", + "kind": "string", + "type": { + "$ref": "496" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "observabilityMode": { + "$id": "3123", + "kind": "string", + "type": { + "$ref": "20" + }, + "value": "Log" + }, + "eventConfiguration": { + "$id": "3124", + "kind": "string", + "type": { + "$ref": "498" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + }, + "provisioningState": { + "$id": "3125", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3126", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "127" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "591" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "3127", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "3128", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "3129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "3130", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "3132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$ref": "1615" + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "3133", + "kind": "client", + "name": "AssetEndpointProfiles", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "3134", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a AssetEndpointProfile", + "operation": { + "$id": "3135", + "name": "get", + "resourceName": "AssetEndpointProfile", + "doc": "Get a AssetEndpointProfile", + "accessibility": "public", + "parameters": [ + { + "$id": "3136", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3138", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.apiVersion", + "readOnly": false + }, + { + "$id": "3139", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3140", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.subscriptionId" + }, + { + "$id": "3142", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.resourceGroupName" + }, + { + "$id": "3144", + "kind": "path", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.assetEndpointProfileName" + }, + { + "$id": "3146", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "129" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3147", + "kind": "http", + "name": "Get_AssetEndpointProfile", + "description": "Get_AssetEndpointProfile", + "filePath": "2025-11-01-preview/Get_AssetEndpointProfile.json", + "parameters": [ + { + "parameter": { + "$ref": "3136" + }, + "value": { + "$id": "3148", + "kind": "string", + "type": { + "$ref": "3137" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3139" + }, + "value": { + "$id": "3149", + "kind": "string", + "type": { + "$ref": "3140" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3142" + }, + "value": { + "$id": "3150", + "kind": "string", + "type": { + "$ref": "3143" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3144" + }, + "value": { + "$id": "3151", + "kind": "string", + "type": { + "$ref": "3145" + }, + "value": "my-assetendpointprofile" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3152", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3153", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3154", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3155", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3156", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3157", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3158", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3159", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3160", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3161", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3162", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3163", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3164", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3165", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3166", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3167", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3168", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3169", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3170", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "targetAddress": { + "$id": "3171", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3172", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3173", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3174", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "3175", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "3176", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "usernameRef" + }, + "passwordSecretName": { + "$id": "3177", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "passwordRef" + } + } + } + } + }, + "provisioningState": { + "$id": "3178", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "3179", + "kind": "http", + "name": "Get_AssetEndpointProfile_With_SyncStatus", + "description": "Get_AssetEndpointProfile_With_SyncStatus", + "filePath": "2025-11-01-preview/Get_AssetEndpointProfile_With_SyncStatus.json", + "parameters": [ + { + "parameter": { + "$ref": "3136" + }, + "value": { + "$id": "3180", + "kind": "string", + "type": { + "$ref": "3137" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3139" + }, + "value": { + "$id": "3181", + "kind": "string", + "type": { + "$ref": "3140" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3142" + }, + "value": { + "$id": "3182", + "kind": "string", + "type": { + "$ref": "3143" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3144" + }, + "value": { + "$id": "3183", + "kind": "string", + "type": { + "$ref": "3145" + }, + "value": "my-assetendpointprofile" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3184", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3185", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3186", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3187", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3188", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3189", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3190", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3191", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3192", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3193", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3194", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3195", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3196", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3197", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3198", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3199", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3200", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3201", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3202", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "targetAddress": { + "$id": "3203", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3204", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3205", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3206", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "3207", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "3208", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "usernameRef" + }, + "passwordSecretName": { + "$id": "3209", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "passwordRef" + } + } + } + } + }, + "status": { + "$id": "3210", + "kind": "model", + "type": { + "$ref": "628" + }, + "value": { + "errors": { + "$id": "3211", + "kind": "array", + "type": { + "$ref": "630" + }, + "value": [ + { + "$id": "3212", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "code": { + "$id": "3213", + "kind": "number", + "type": { + "$ref": "633" + }, + "value": 500 + }, + "message": { + "$id": "3214", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Internal Server Error" + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "3215", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3216", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3218", + "kind": "method", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.assetEndpointProfileName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3220", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "129" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "595" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get" + }, + { + "$id": "3221", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a AssetEndpointProfile", + "operation": { + "$id": "3222", + "name": "createOrReplace", + "resourceName": "AssetEndpointProfile", + "doc": "Create a AssetEndpointProfile", + "accessibility": "public", + "parameters": [ + { + "$id": "3223", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "3226", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3227", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.subscriptionId" + }, + { + "$id": "3229", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.resourceGroupName" + }, + { + "$id": "3231", + "kind": "path", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.assetEndpointProfileName" + }, + { + "$id": "3233", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "131" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.contentType" + }, + { + "$id": "3234", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "133" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.accept" + }, + { + "$id": "3235", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "595" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "3236", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3237", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3238", + "kind": "http", + "name": "CreateOrReplace_AssetEndpointProfile", + "description": "CreateOrReplace_AssetEndpointProfile", + "filePath": "2025-11-01-preview/CreateOrReplace_AssetEndpointProfile.json", + "parameters": [ + { + "parameter": { + "$ref": "3223" + }, + "value": { + "$id": "3239", + "kind": "string", + "type": { + "$ref": "3224" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3226" + }, + "value": { + "$id": "3240", + "kind": "string", + "type": { + "$ref": "3227" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3229" + }, + "value": { + "$id": "3241", + "kind": "string", + "type": { + "$ref": "3230" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3231" + }, + "value": { + "$id": "3242", + "kind": "string", + "type": { + "$ref": "3232" + }, + "value": "my-assetendpointprofile" + } + }, + { + "parameter": { + "$ref": "3235" + }, + "value": { + "$id": "3243", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "location": { + "$id": "3244", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3245", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3246", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3247", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3248", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3249", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "3250", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "targetAddress": { + "$id": "3251", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3252", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3253", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3254", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3255", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3256", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3257", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3258", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3259", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3260", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3261", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3262", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3263", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3264", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3265", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3266", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3267", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3268", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3269", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3270", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3271", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3272", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3273", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3274", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3275", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3276", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3277", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3278", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "3236" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3237" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "3279", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3280", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3281", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3282", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3283", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3284", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3285", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3286", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3287", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3288", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3289", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3290", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3291", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3292", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3293", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3294", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3295", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3296", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3297", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3298", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3299", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3300", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3301", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3302", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + }, + { + "$id": "3303", + "kind": "http", + "name": "CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef", + "description": "CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef", + "filePath": "2025-11-01-preview/CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.json", + "parameters": [ + { + "parameter": { + "$ref": "3223" + }, + "value": { + "$id": "3304", + "kind": "string", + "type": { + "$ref": "3224" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3226" + }, + "value": { + "$id": "3305", + "kind": "string", + "type": { + "$ref": "3227" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3229" + }, + "value": { + "$id": "3306", + "kind": "string", + "type": { + "$ref": "3230" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3231" + }, + "value": { + "$id": "3307", + "kind": "string", + "type": { + "$ref": "3232" + }, + "value": "my-assetendpointprofile" + } + }, + { + "parameter": { + "$ref": "3235" + }, + "value": { + "$id": "3308", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "location": { + "$id": "3309", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3310", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3311", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3312", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3313", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3314", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "3315", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "targetAddress": { + "$id": "3316", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3317", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "discoveredAssetEndpointProfileRef": { + "$id": "3318", + "kind": "string", + "type": { + "$ref": "626" + }, + "value": "discoveredAssetEndpointProfile1" + }, + "authentication": { + "$id": "3319", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3320", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3321", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3322", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3323", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3324", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3325", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3326", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3327", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3328", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3329", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3330", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3331", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3332", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3333", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3334", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3335", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3336", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3337", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3338", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3339", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3340", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3341", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "discoveredAssetEndpointProfileRef": { + "$id": "3342", + "kind": "string", + "type": { + "$ref": "626" + }, + "value": "discoveredAssetEndpointProfile1" + }, + "authentication": { + "$id": "3343", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3344", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3345", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "3236" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3237" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "3346", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3347", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3348", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3349", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3350", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3351", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3352", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3353", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3354", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3355", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3356", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3357", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3358", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3359", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3360", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3361", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3362", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3363", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3364", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3365", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3366", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "discoveredAssetEndpointProfileRef": { + "$id": "3367", + "kind": "string", + "type": { + "$ref": "626" + }, + "value": "discoveredAssetEndpointProfile1" + }, + "authentication": { + "$id": "3368", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3369", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3370", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3371", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3373", + "kind": "method", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3374", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.assetEndpointProfileName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3375", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "595" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3376", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "135" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3377", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "137" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "595" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + } + } + } + }, + { + "$id": "3378", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a AssetEndpointProfile", + "operation": { + "$id": "3379", + "name": "update", + "resourceName": "AssetEndpointProfile", + "doc": "Update a AssetEndpointProfile", + "accessibility": "public", + "parameters": [ + { + "$id": "3380", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3382", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.apiVersion", + "readOnly": false + }, + { + "$id": "3383", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3384", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.subscriptionId" + }, + { + "$id": "3386", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.resourceGroupName" + }, + { + "$id": "3388", + "kind": "path", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3389", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.assetEndpointProfileName" + }, + { + "$id": "3390", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "139" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.contentType" + }, + { + "$id": "3391", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "141" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.accept" + }, + { + "$id": "3392", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "640" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3393", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3394", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3395", + "kind": "http", + "name": "Update_AssetEndpointProfile", + "description": "Update_AssetEndpointProfile", + "filePath": "2025-11-01-preview/Update_AssetEndpointProfile.json", + "parameters": [ + { + "parameter": { + "$ref": "3380" + }, + "value": { + "$id": "3396", + "kind": "string", + "type": { + "$ref": "3381" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3383" + }, + "value": { + "$id": "3397", + "kind": "string", + "type": { + "$ref": "3384" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3386" + }, + "value": { + "$id": "3398", + "kind": "string", + "type": { + "$ref": "3387" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3388" + }, + "value": { + "$id": "3399", + "kind": "string", + "type": { + "$ref": "3389" + }, + "value": "my-assetendpointprofile" + } + }, + { + "parameter": { + "$ref": "3392" + }, + "value": { + "$id": "3400", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "properties": { + "$id": "3401", + "kind": "model", + "type": { + "$ref": "643" + }, + "value": { + "targetAddress": { + "$id": "3402", + "kind": "string", + "type": { + "$ref": "645" + }, + "value": "https://www.example.com/myTargetAddress" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3403", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3404", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3405", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3406", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3407", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3408", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3409", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3410", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3411", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3412", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3413", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3414", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3415", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3416", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3417", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3418", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3419", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3420", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3421", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3422", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3423", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3424", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3425", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3426", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "3393" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3394" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3427", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3429", + "kind": "method", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3430", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.assetEndpointProfileName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3431", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "640" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3432", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "143" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3433", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "145" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "595" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "595" + } + } + } + }, + { + "$id": "3434", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a AssetEndpointProfile", + "operation": { + "$id": "3435", + "name": "delete", + "resourceName": "AssetEndpointProfile", + "doc": "Delete a AssetEndpointProfile", + "accessibility": "public", + "parameters": [ + { + "$id": "3436", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3437", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.apiVersion", + "readOnly": false + }, + { + "$id": "3439", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3440", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.subscriptionId" + }, + { + "$id": "3442", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3443", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.resourceGroupName" + }, + { + "$id": "3444", + "kind": "path", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3445", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.assetEndpointProfileName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3446", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3447", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3448", + "kind": "http", + "name": "Delete_AssetEndpointProfile", + "description": "Delete_AssetEndpointProfile", + "filePath": "2025-11-01-preview/Delete_AssetEndpointProfile.json", + "parameters": [ + { + "parameter": { + "$ref": "3436" + }, + "value": { + "$id": "3449", + "kind": "string", + "type": { + "$ref": "3437" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3439" + }, + "value": { + "$id": "3450", + "kind": "string", + "type": { + "$ref": "3440" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3442" + }, + "value": { + "$id": "3451", + "kind": "string", + "type": { + "$ref": "3443" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3444" + }, + "value": { + "$id": "3452", + "kind": "string", + "type": { + "$ref": "3445" + }, + "value": "my-assetendpointprofile" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "3446" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3447" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3453", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3454", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3455", + "kind": "method", + "name": "assetEndpointProfileName", + "serializedName": "assetEndpointProfileName", + "doc": "Asset Endpoint Profile name parameter.", + "type": { + "$id": "3456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete.assetEndpointProfileName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "3457", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List AssetEndpointProfile resources by resource group", + "operation": { + "$id": "3458", + "name": "listByResourceGroup", + "resourceName": "AssetEndpointProfile", + "doc": "List AssetEndpointProfile resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "3459", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3460", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "3462", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3463", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3464", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.subscriptionId" + }, + { + "$id": "3465", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.resourceGroupName" + }, + { + "$id": "3467", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "147" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "651" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3468", + "kind": "http", + "name": "List_AssetEndpointProfiles_ByResourceGroup", + "description": "List_AssetEndpointProfiles_ByResourceGroup", + "filePath": "2025-11-01-preview/List_AssetEndpointProfiles_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "3459" + }, + "value": { + "$id": "3469", + "kind": "string", + "type": { + "$ref": "3460" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3462" + }, + "value": { + "$id": "3470", + "kind": "string", + "type": { + "$ref": "3463" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3465" + }, + "value": { + "$id": "3471", + "kind": "string", + "type": { + "$ref": "3466" + }, + "value": "myResourceGroup" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "651" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3472", + "kind": "model", + "type": { + "$ref": "651" + }, + "value": { + "value": { + "$id": "3473", + "kind": "array", + "type": { + "$ref": "653" + }, + "value": [ + { + "$id": "3474", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3475", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3476", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3477", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3478", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3479", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3480", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3481", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3482", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3483", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3484", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3485", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3486", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3487", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3488", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3489", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3490", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3491", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3492", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3493", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3494", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3495", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3496", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3497", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3498", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3499", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1" + }, + "name": { + "$id": "3500", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile1" + }, + "type": { + "$id": "3501", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3502", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3503", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3504", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3505", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3506", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3507", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "3508", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3509", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3510", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3511", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3512", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3513", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3514", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3515", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3516", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "targetAddress": { + "$id": "3517", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress1" + }, + "endpointProfileType": { + "$id": "3518", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3519", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3520", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "3521", + "kind": "model", + "type": { + "$ref": "620" + }, + "value": { + "certificateSecretName": { + "$id": "3522", + "kind": "string", + "type": { + "$ref": "622" + }, + "value": "certificatRef" + } + } + } + } + }, + "provisioningState": { + "$id": "3523", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3524", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3525", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2" + }, + "name": { + "$id": "3526", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile2" + }, + "type": { + "$id": "3527", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3528", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3529", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3530", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3531", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3532", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3533", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "3534", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3535", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3536", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3537", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3538", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3539", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3540", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3541", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3542", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "targetAddress": { + "$id": "3543", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress2" + }, + "endpointProfileType": { + "$id": "3544", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3545", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3546", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "3547", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "3548", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "usernameRef" + }, + "passwordSecretName": { + "$id": "3549", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "passwordRef" + } + } + } + } + }, + "provisioningState": { + "$id": "3550", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3551", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3553", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "147" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "653" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "3554", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List AssetEndpointProfile resources by subscription ID", + "operation": { + "$id": "3555", + "name": "listBySubscription", + "resourceName": "AssetEndpointProfile", + "doc": "List AssetEndpointProfile resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "3556", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3558", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "3559", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3560", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription.subscriptionId" + }, + { + "$id": "3562", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "149" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "651" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3563", + "kind": "http", + "name": "List_AssetEndpointProfiles_BySubscription", + "description": "List_AssetEndpointProfiles_BySubscription", + "filePath": "2025-11-01-preview/List_AssetEndpointProfiles_BySubscription.json", + "parameters": [ + { + "parameter": { + "$ref": "3556" + }, + "value": { + "$id": "3564", + "kind": "string", + "type": { + "$ref": "3557" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3559" + }, + "value": { + "$id": "3565", + "kind": "string", + "type": { + "$ref": "3560" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "651" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3566", + "kind": "model", + "type": { + "$ref": "651" + }, + "value": { + "value": { + "$id": "3567", + "kind": "array", + "type": { + "$ref": "653" + }, + "value": [ + { + "$id": "3568", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3569", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile" + }, + "name": { + "$id": "3570", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile" + }, + "type": { + "$id": "3571", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3572", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3573", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3574", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3575", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3576", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3577", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "3578", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3579", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3580", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3581", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3582", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3583", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3584", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3585", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3586", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "targetAddress": { + "$id": "3587", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress" + }, + "endpointProfileType": { + "$id": "3588", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3589", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3590", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + }, + "provisioningState": { + "$id": "3591", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3592", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3593", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1" + }, + "name": { + "$id": "3594", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile1" + }, + "type": { + "$id": "3595", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3596", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3597", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3598", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3599", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3600", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3601", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "3602", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3603", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3604", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3605", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3606", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3607", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3608", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3609", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3610", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "targetAddress": { + "$id": "3611", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress1" + }, + "endpointProfileType": { + "$id": "3612", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3613", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3614", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "3615", + "kind": "model", + "type": { + "$ref": "620" + }, + "value": { + "certificateSecretName": { + "$id": "3616", + "kind": "string", + "type": { + "$ref": "622" + }, + "value": "certificatRef" + } + } + } + } + }, + "provisioningState": { + "$id": "3617", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3618", + "kind": "model", + "type": { + "$ref": "595" + }, + "value": { + "id": { + "$id": "3619", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2" + }, + "name": { + "$id": "3620", + "kind": "string", + "type": { + "$ref": "638" + }, + "value": "my-assetendpointprofile2" + }, + "type": { + "$id": "3621", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/assetEndpointProfiles" + }, + "location": { + "$id": "3622", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "3623", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "3624", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "3625", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "3626", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "3627", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "3628", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3629", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "3630", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3631", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "3632", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "3633", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3634", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "3635", + "kind": "model", + "type": { + "$ref": "603" + }, + "value": { + "uuid": { + "$id": "3636", + "kind": "string", + "type": { + "$ref": "605" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "targetAddress": { + "$id": "3637", + "kind": "string", + "type": { + "$ref": "607" + }, + "value": "https://www.example.com/myTargetAddress2" + }, + "endpointProfileType": { + "$id": "3638", + "kind": "string", + "type": { + "$ref": "609" + }, + "value": "myEndpointProfileType" + }, + "authentication": { + "$id": "3639", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "method": { + "$id": "3640", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "3641", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "3642", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "usernameRef" + }, + "passwordSecretName": { + "$id": "3643", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "passwordRef" + } + } + } + } + }, + "provisioningState": { + "$id": "3644", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3645", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "149" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "653" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "3646", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "3647", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "3648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "3649", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3650", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "3651", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3652", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3653", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3654", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles", + "apiVersions": [ + "2023-11-01-preview", + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "3655", + "kind": "client", + "name": "BillingContainers", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "3656", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a BillingContainer", + "operation": { + "$id": "3657", + "name": "get", + "resourceName": "BillingContainer", + "doc": "Get a BillingContainer", + "accessibility": "public", + "parameters": [ + { + "$id": "3658", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3659", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3660", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.apiVersion", + "readOnly": false + }, + { + "$id": "3661", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3662", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3663", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.subscriptionId" + }, + { + "$id": "3664", + "kind": "path", + "name": "billingContainerName", + "serializedName": "billingContainerName", + "doc": "Name of the billing container.", + "type": { + "$id": "3665", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.billingContainerName" + }, + { + "$id": "3666", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "151" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "657" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3667", + "kind": "http", + "name": "Get_BillingContainer", + "description": "Get_BillingContainer", + "filePath": "2025-11-01-preview/Get_BillingContainer.json", + "parameters": [ + { + "parameter": { + "$ref": "3658" + }, + "value": { + "$id": "3668", + "kind": "string", + "type": { + "$ref": "3659" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3661" + }, + "value": { + "$id": "3669", + "kind": "string", + "type": { + "$ref": "3662" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3664" + }, + "value": { + "$id": "3670", + "kind": "string", + "type": { + "$ref": "3665" + }, + "value": "my-billingContainer" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "657" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3671", + "kind": "model", + "type": { + "$ref": "657" + }, + "value": { + "id": { + "$id": "3672", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer" + }, + "name": { + "$id": "3673", + "kind": "string", + "type": { + "$ref": "665" + }, + "value": "my-billingContainer" + }, + "type": { + "$id": "3674", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/billingcontainers" + }, + "etag": { + "$id": "3675", + "kind": "string", + "type": { + "$ref": "667" + }, + "value": "\"00001300-0000-0100-0000-6671f0170000\"" + }, + "systemData": { + "$id": "3676", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3677", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "createdByType": { + "$id": "3678", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3679", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-05-20T21:51:21.169954Z" + }, + "lastModifiedBy": { + "$id": "3680", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "lastModifiedByType": { + "$id": "3681", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3682", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-06-18T20:37:41.9371846Z" + } + } + }, + "properties": { + "$id": "3683", + "kind": "model", + "type": { + "$ref": "662" + }, + "value": { + "provisioningState": { + "$id": "3684", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3685", + "kind": "method", + "name": "billingContainerName", + "serializedName": "billingContainerName", + "doc": "Name of the billing container.", + "type": { + "$id": "3686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.billingContainerName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3687", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "151" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "657" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get" + }, + { + "$id": "3688", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List BillingContainer resources by subscription ID", + "operation": { + "$id": "3689", + "name": "listBySubscription", + "resourceName": "BillingContainer", + "doc": "List BillingContainer resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "3690", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3692", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "3693", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3694", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3695", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription.subscriptionId" + }, + { + "$id": "3696", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "153" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "669" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3697", + "kind": "http", + "name": "List_BillingContainers_BySubscription", + "description": "List_BillingContainers_BySubscription", + "filePath": "2025-11-01-preview/List_BillingContainers_BySubscription.json", + "parameters": [ + { + "parameter": { + "$ref": "3690" + }, + "value": { + "$id": "3698", + "kind": "string", + "type": { + "$ref": "3691" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3693" + }, + "value": { + "$id": "3699", + "kind": "string", + "type": { + "$ref": "3694" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "669" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3700", + "kind": "model", + "type": { + "$ref": "669" + }, + "value": { + "value": { + "$id": "3701", + "kind": "array", + "type": { + "$ref": "671" + }, + "value": [ + { + "$id": "3702", + "kind": "model", + "type": { + "$ref": "657" + }, + "value": { + "id": { + "$id": "3703", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer1" + }, + "name": { + "$id": "3704", + "kind": "string", + "type": { + "$ref": "665" + }, + "value": "my-billingContainer1" + }, + "type": { + "$id": "3705", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/billingcontainers" + }, + "etag": { + "$id": "3706", + "kind": "string", + "type": { + "$ref": "667" + }, + "value": "\"4b036688-0000-0100-0000-6632c7bf0000\"" + }, + "systemData": { + "$id": "3707", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3708", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "createdByType": { + "$id": "3709", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3710", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-05-01T22:52:46.0165055Z" + }, + "lastModifiedBy": { + "$id": "3711", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "lastModifiedByType": { + "$id": "3712", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3713", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-05-01T22:52:46.0165055Z" + } + } + }, + "properties": { + "$id": "3714", + "kind": "model", + "type": { + "$ref": "662" + }, + "value": { + "provisioningState": { + "$id": "3715", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "3716", + "kind": "model", + "type": { + "$ref": "657" + }, + "value": { + "id": { + "$id": "3717", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer2" + }, + "name": { + "$id": "3718", + "kind": "string", + "type": { + "$ref": "665" + }, + "value": "my-billingContainer2" + }, + "type": { + "$id": "3719", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/billingcontainers" + }, + "etag": { + "$id": "3720", + "kind": "string", + "type": { + "$ref": "667" + }, + "value": "\"4e03ed61-0000-0100-0000-6632d7200000\"" + }, + "systemData": { + "$id": "3721", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3722", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "createdByType": { + "$id": "3723", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3724", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-05-01T23:58:23.3213061Z" + }, + "lastModifiedBy": { + "$id": "3725", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e" + }, + "lastModifiedByType": { + "$id": "3726", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3727", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-05-01T23:58:23.3213061Z" + } + } + }, + "properties": { + "$id": "3728", + "kind": "model", + "type": { + "$ref": "662" + }, + "value": { + "provisioningState": { + "$id": "3729", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3730", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "153" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "671" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "3731", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "3732", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "3733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "3734", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3735", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "3736", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3737", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3738", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3739", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers", + "apiVersions": [ + "2024-09-01-preview", + "2024-11-01", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "3740", + "kind": "client", + "name": "Namespaces", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "3741", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a Namespace", + "operation": { + "$id": "3742", + "name": "get", + "resourceName": "Namespace", + "doc": "Get a Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "3743", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3744", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.apiVersion", + "readOnly": false + }, + { + "$id": "3746", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3747", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3748", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.subscriptionId" + }, + { + "$id": "3749", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3750", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.resourceGroupName" + }, + { + "$id": "3751", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3752", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.namespaceName" + }, + { + "$id": "3753", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "155" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3754", + "kind": "http", + "name": "Get_Namespace", + "description": "Get_Namespace", + "filePath": "2025-11-01-preview/Get_Namespace.json", + "parameters": [ + { + "parameter": { + "$ref": "3743" + }, + "value": { + "$id": "3755", + "kind": "string", + "type": { + "$ref": "3744" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3746" + }, + "value": { + "$id": "3756", + "kind": "string", + "type": { + "$ref": "3747" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3749" + }, + "value": { + "$id": "3757", + "kind": "string", + "type": { + "$ref": "3750" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3751" + }, + "value": { + "$id": "3758", + "kind": "string", + "type": { + "$ref": "3752" + }, + "value": "adr-namespace-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3759", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "3760", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-namespace-gbk1001-n01" + }, + "name": { + "$id": "3761", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-namespace-gbk1001-n01" + }, + "type": { + "$id": "3762", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "3763", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "3764", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3765", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "3766", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3767", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-01T21:39:27.7050447Z" + }, + "lastModifiedBy": { + "$id": "3768", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "3769", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3770", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-01T21:39:27.7050447Z" + } + } + }, + "identity": { + "$id": "3771", + "kind": "model", + "type": { + "$ref": "703" + }, + "value": { + "principalId": { + "$id": "3772", + "kind": "string", + "type": { + "$ref": "705" + }, + "value": "4a06b859-8c07-4d9f-822d-3348a09f72c2" + }, + "tenantId": { + "$id": "3773", + "kind": "string", + "type": { + "$ref": "708" + }, + "value": "0006f47a-0000-0000-0000-99be82dea000" + }, + "type": { + "$id": "3774", + "kind": "string", + "type": { + "$ref": "47" + }, + "value": "SystemAssigned" + } + } + }, + "properties": { + "$id": "3775", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "uuid": { + "$id": "3776", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "cfbef47a-6971-4c90-a7a9-99be82dea167" + }, + "messaging": { + "$id": "3777", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3778", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "myPrimaryEventGridEndpoint": { + "$id": "3779", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "address": { + "$id": "3780", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic1.westeurope-1.eventgrid.azure.net" + }, + "endpointType": { + "$id": "3781", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + } + } + }, + "mySecondaryEventGridEndpoint": { + "$id": "3782", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "address": { + "$id": "3783", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net" + }, + "endpointType": { + "$id": "3784", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + } + } + } + } + } + } + }, + "provisioningState": { + "$id": "3785", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3786", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3787", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3788", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3789", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3790", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "155" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "675" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get" + }, + { + "$id": "3791", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a Namespace", + "operation": { + "$id": "3792", + "name": "createOrReplace", + "resourceName": "Namespace", + "doc": "Create a Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "3793", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3795", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "3796", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3797", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3798", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.subscriptionId" + }, + { + "$id": "3799", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3800", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.resourceGroupName" + }, + { + "$id": "3801", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3802", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.namespaceName" + }, + { + "$id": "3803", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "157" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.contentType" + }, + { + "$id": "3804", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "159" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.accept" + }, + { + "$id": "3805", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "675" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "3806", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3807", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3808", + "kind": "http", + "name": "CreateOrReplace_Namespace_With_Endpoints", + "description": "CreateOrReplace_Namespace_With_Endpoints", + "filePath": "2025-11-01-preview/CreateOrReplace_Namespace_With_Endpoints.json", + "parameters": [ + { + "parameter": { + "$ref": "3793" + }, + "value": { + "$id": "3809", + "kind": "string", + "type": { + "$ref": "3794" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3796" + }, + "value": { + "$id": "3810", + "kind": "string", + "type": { + "$ref": "3797" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3799" + }, + "value": { + "$id": "3811", + "kind": "string", + "type": { + "$ref": "3800" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3801" + }, + "value": { + "$id": "3812", + "kind": "string", + "type": { + "$ref": "3802" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "3805" + }, + "value": { + "$id": "3813", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "location": { + "$id": "3814", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "properties": { + "$id": "3815", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "messaging": { + "$id": "3816", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3817", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "eventGridEndpoint": { + "$id": "3818", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3819", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3820", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "anotherEventGridEndpoint": { + "$id": "3821", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3822", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3823", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "identity": { + "$id": "3824", + "kind": "model", + "type": { + "$ref": "703" + }, + "value": { + "type": { + "$id": "3825", + "kind": "string", + "type": { + "$ref": "47" + }, + "value": "SystemAssigned" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3826", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "3827", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-namespace-gbk0925-n01" + }, + "name": { + "$id": "3828", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-namespace-gbk0925-n01" + }, + "type": { + "$id": "3829", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "3830", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "3831", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3832", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "3833", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3834", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-25T23:41:41.8591157Z" + }, + "lastModifiedBy": { + "$id": "3835", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "3836", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3837", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-01T21:03:33.5993192Z" + } + } + }, + "identity": { + "$id": "3838", + "kind": "model", + "type": { + "$ref": "703" + }, + "value": { + "principalId": { + "$id": "3839", + "kind": "string", + "type": { + "$ref": "705" + }, + "value": "00000000-0000-0000-9d20-8a5570c3eb6e" + }, + "tenantId": { + "$id": "3840", + "kind": "string", + "type": { + "$ref": "708" + }, + "value": "0006f47a-0000-0000-0000-99be82dea000" + }, + "type": { + "$id": "3841", + "kind": "string", + "type": { + "$ref": "47" + }, + "value": "SystemAssigned" + } + } + }, + "properties": { + "$id": "3842", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "3843", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "messaging": { + "$id": "3844", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3845", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "eventGridEndpoint": { + "$id": "3846", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3847", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3848", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "anotherEventGridEndpoint": { + "$id": "3849", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3850", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3851", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "3806" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3807" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "3852", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "3853", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-namespace-gbk0925-n01" + }, + "name": { + "$id": "3854", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-namespace-gbk0925-n01" + }, + "type": { + "$id": "3855", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "3856", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "3857", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3858", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "3859", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3860", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-25T23:41:41.8591157Z" + }, + "lastModifiedBy": { + "$id": "3861", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "3862", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3863", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-01T21:03:33.5993192Z" + } + } + }, + "identity": { + "$id": "3864", + "kind": "model", + "type": { + "$ref": "703" + }, + "value": { + "principalId": { + "$id": "3865", + "kind": "string", + "type": { + "$ref": "705" + }, + "value": "00000000-0000-0000-9d20-8a5570c3eb6e" + }, + "tenantId": { + "$id": "3866", + "kind": "string", + "type": { + "$ref": "708" + }, + "value": "0006f47a-0000-0000-0000-99be82dea000" + }, + "type": { + "$id": "3867", + "kind": "string", + "type": { + "$ref": "47" + }, + "value": "SystemAssigned" + } + } + }, + "properties": { + "$id": "3868", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "3869", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "messaging": { + "$id": "3870", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3871", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "eventGridEndpoint": { + "$id": "3872", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3873", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3874", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "anotherEventGridEndpoint": { + "$id": "3875", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3876", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3877", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3878", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3879", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3880", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3881", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3882", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "675" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3883", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "161" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3884", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "163" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "675" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + } + } + } + }, + { + "$id": "3885", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a Namespace", + "operation": { + "$id": "3886", + "name": "update", + "resourceName": "Namespace", + "doc": "Update a Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "3887", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3888", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3889", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.apiVersion", + "readOnly": false + }, + { + "$id": "3890", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3891", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3892", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.subscriptionId" + }, + { + "$id": "3893", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3894", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.resourceGroupName" + }, + { + "$id": "3895", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3896", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.namespaceName" + }, + { + "$id": "3897", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "165" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.contentType" + }, + { + "$id": "3898", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "167" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.accept" + }, + { + "$id": "3899", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "711" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3900", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3901", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3902", + "kind": "http", + "name": "Update_Namespace_Endpoints", + "description": "Update_Namespace_Endpoints", + "filePath": "2025-11-01-preview/Update_Namespace_Endpoints.json", + "parameters": [ + { + "parameter": { + "$ref": "3887" + }, + "value": { + "$id": "3903", + "kind": "string", + "type": { + "$ref": "3888" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3890" + }, + "value": { + "$id": "3904", + "kind": "string", + "type": { + "$ref": "3891" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3893" + }, + "value": { + "$id": "3905", + "kind": "string", + "type": { + "$ref": "3894" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3895" + }, + "value": { + "$id": "3906", + "kind": "string", + "type": { + "$ref": "3896" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "3899" + }, + "value": { + "$id": "3907", + "kind": "model", + "type": { + "$ref": "711" + }, + "value": { + "properties": { + "$id": "3908", + "kind": "model", + "type": { + "$ref": "715" + }, + "value": { + "messaging": { + "$id": "3909", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3910", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "eventGridEndpoint": { + "$id": "3911", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3912", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3913", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3914", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "3915", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-namespace-gbk0925-n01" + }, + "name": { + "$id": "3916", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-namespace-gbk0925-n01" + }, + "type": { + "$id": "3917", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "3918", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "3919", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3920", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "3921", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3922", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-25T23:41:41.8591157Z" + }, + "lastModifiedBy": { + "$id": "3923", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "3924", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "3925", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-01T21:03:33.5993192Z" + } + } + }, + "identity": { + "$id": "3926", + "kind": "model", + "type": { + "$ref": "703" + }, + "value": { + "principalId": { + "$id": "3927", + "kind": "string", + "type": { + "$ref": "705" + }, + "value": "00000000-0000-0000-9d20-8a5570c3eb6e" + }, + "tenantId": { + "$id": "3928", + "kind": "string", + "type": { + "$ref": "708" + }, + "value": "0006f47a-0000-0000-0000-99be82dea000" + }, + "type": { + "$id": "3929", + "kind": "string", + "type": { + "$ref": "47" + }, + "value": "SystemAssigned" + } + } + }, + "properties": { + "$id": "3930", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "uuid": { + "$id": "3931", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "cbfe124a-6971-4c90-a7a9-99be82def1ab" + }, + "provisioningState": { + "$id": "3932", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "messaging": { + "$id": "3933", + "kind": "model", + "type": { + "$ref": "688" + }, + "value": { + "endpoints": { + "$id": "3934", + "kind": "dict", + "type": { + "$ref": "690" + }, + "value": { + "eventGridEndpoint1": { + "$id": "3935", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3936", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3937", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic1.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "eventGridEndpoint2": { + "$id": "3938", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3939", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3940", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "eventGridEndpoint3": { + "$id": "3941", + "kind": "model", + "type": { + "$ref": "692" + }, + "value": { + "endpointType": { + "$id": "3942", + "kind": "string", + "type": { + "$ref": "694" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "3943", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "https://myeventgridtopic3.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "3900" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3901" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3944", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3945", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3946", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3947", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3948", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "711" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3949", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "169" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3950", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "171" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "675" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "675" + } + } + } + }, + { + "$id": "3951", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a Namespace", + "operation": { + "$id": "3952", + "name": "delete", + "resourceName": "Namespace", + "doc": "Delete a Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "3953", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3954", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3955", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.apiVersion", + "readOnly": false + }, + { + "$id": "3956", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3957", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3958", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.subscriptionId" + }, + { + "$id": "3959", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3960", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.resourceGroupName" + }, + { + "$id": "3961", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3962", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.namespaceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3963", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "3964", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3965", + "kind": "http", + "name": "Delete_Namespace", + "description": "Delete_Namespace", + "filePath": "2025-11-01-preview/Delete_Namespace.json", + "parameters": [ + { + "parameter": { + "$ref": "3953" + }, + "value": { + "$id": "3966", + "kind": "string", + "type": { + "$ref": "3954" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3956" + }, + "value": { + "$id": "3967", + "kind": "string", + "type": { + "$ref": "3957" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3959" + }, + "value": { + "$id": "3968", + "kind": "string", + "type": { + "$ref": "3960" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "3961" + }, + "value": { + "$id": "3969", + "kind": "string", + "type": { + "$ref": "3962" + }, + "value": "adr-namespace-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "3963" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "3964" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "3970", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3971", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "3972", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "3973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "3974", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List Namespace resources by resource group", + "operation": { + "$id": "3975", + "name": "listByResourceGroup", + "resourceName": "Namespace", + "doc": "List Namespace resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "3976", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3977", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "3978", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "3979", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3980", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3981", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.subscriptionId" + }, + { + "$id": "3982", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3983", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.resourceGroupName" + }, + { + "$id": "3984", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "173" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "717" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "3985", + "kind": "http", + "name": "List_Namespaces_ByResourceGroup", + "description": "List_Namespaces_ByResourceGroup", + "filePath": "2025-11-01-preview/List_Namespace_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "3976" + }, + "value": { + "$id": "3986", + "kind": "string", + "type": { + "$ref": "3977" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "3979" + }, + "value": { + "$id": "3987", + "kind": "string", + "type": { + "$ref": "3980" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "3982" + }, + "value": { + "$id": "3988", + "kind": "string", + "type": { + "$ref": "3983" + }, + "value": "myResourceGroup" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "717" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "3989", + "kind": "model", + "type": { + "$ref": "717" + }, + "value": { + "value": { + "$id": "3990", + "kind": "array", + "type": { + "$ref": "719" + }, + "value": [ + { + "$id": "3991", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "3992", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01" + }, + "name": { + "$id": "3993", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-ns-gbk-01" + }, + "type": { + "$id": "3994", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "3995", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "3996", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "3997", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "3998", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "3999", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4000", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4001", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4002", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + }, + "properties": { + "$id": "4003", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "4004", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "4005", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "4006", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-02" + }, + "name": { + "$id": "4007", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-ns-gbk-02" + }, + "type": { + "$id": "4008", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "4009", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "4010", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4011", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4012", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4013", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T20:22:49.5920101Z" + }, + "lastModifiedBy": { + "$id": "4014", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4015", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4016", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T20:22:49.5920101Z" + } + } + }, + "properties": { + "$id": "4017", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "4018", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "uuid": { + "$id": "4019", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "cbfe124a-6971-4c90-a7a9-99be82def1ab" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4020", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4021", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4022", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "173" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "719" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "4023", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List Namespace resources by subscription ID", + "operation": { + "$id": "4024", + "name": "listBySubscription", + "resourceName": "Namespace", + "doc": "List Namespace resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "4025", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4026", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4027", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "4028", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4029", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4030", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription.subscriptionId" + }, + { + "$id": "4031", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "175" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "717" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/namespaces", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4032", + "kind": "http", + "name": "List_Namespaces_BySubscription", + "description": "List_Namespaces_BySubscription", + "filePath": "2025-11-01-preview/List_Namespace_BySubscription.json", + "parameters": [ + { + "parameter": { + "$ref": "4025" + }, + "value": { + "$id": "4033", + "kind": "string", + "type": { + "$ref": "4026" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4028" + }, + "value": { + "$id": "4034", + "kind": "string", + "type": { + "$ref": "4029" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "717" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4035", + "kind": "model", + "type": { + "$ref": "717" + }, + "value": { + "value": { + "$id": "4036", + "kind": "array", + "type": { + "$ref": "719" + }, + "value": [ + { + "$id": "4037", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "4038", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01" + }, + "name": { + "$id": "4039", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-ns-gbk-01" + }, + "type": { + "$id": "4040", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "4041", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "4042", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4043", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4044", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4045", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4046", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4047", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4048", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + }, + "properties": { + "$id": "4049", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "4050", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "uuid": { + "$id": "4051", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "cefe124a-6971-4c90-a7a9-99be82def1ab" + } + } + } + } + }, + { + "$id": "4052", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "id": { + "$id": "4053", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-02" + }, + "name": { + "$id": "4054", + "kind": "string", + "type": { + "$ref": "701" + }, + "value": "adr-ns-gbk-02" + }, + "type": { + "$id": "4055", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces" + }, + "location": { + "$id": "4056", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "systemData": { + "$id": "4057", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4058", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4059", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4060", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T20:22:49.5920101Z" + }, + "lastModifiedBy": { + "$id": "4061", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4062", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4063", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T20:22:49.5920101Z" + } + } + }, + "properties": { + "$id": "4064", + "kind": "model", + "type": { + "$ref": "684" + }, + "value": { + "provisioningState": { + "$id": "4065", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "uuid": { + "$id": "4066", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "defe124a-6971-4c90-a7a9-99be82def2ab" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4067", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "175" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "719" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "4068", + "kind": "lro", + "name": "migrate", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Migrate the resources into Namespace", + "operation": { + "$id": "4069", + "name": "migrate", + "resourceName": "Namespaces", + "doc": "Migrate the resources into Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "4070", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4071", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4072", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.apiVersion", + "readOnly": false + }, + { + "$id": "4073", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4074", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4075", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.subscriptionId" + }, + { + "$id": "4076", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4077", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.resourceGroupName" + }, + { + "$id": "4078", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4079", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.namespaceName" + }, + { + "$id": "4080", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "177" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.contentType" + }, + { + "$id": "4081", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "179" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.accept" + }, + { + "$id": "4082", + "kind": "body", + "name": "body", + "serializedName": "body", + "doc": "The content of the action request", + "type": { + "$ref": "723" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.body" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4083", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4084", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4085", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "726" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/migrate", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4086", + "kind": "http", + "name": "Namespace Migrate", + "description": "Namespace Migrate", + "filePath": "2025-11-01-preview/Migrate_Assets_Namespace.json", + "parameters": [ + { + "parameter": { + "$ref": "4070" + }, + "value": { + "$id": "4087", + "kind": "string", + "type": { + "$ref": "4071" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4073" + }, + "value": { + "$id": "4088", + "kind": "string", + "type": { + "$ref": "4074" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4076" + }, + "value": { + "$id": "4089", + "kind": "string", + "type": { + "$ref": "4077" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "4078" + }, + "value": { + "$id": "4090", + "kind": "string", + "type": { + "$ref": "4079" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "4082" + }, + "value": { + "$id": "4091", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "scope": { + "$id": "4092", + "kind": "string", + "type": { + "$ref": "51" + }, + "value": "Resources" + }, + "resourceIds": { + "$id": "4093", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "4094", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-1" + }, + { + "$id": "4095", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-2" + }, + { + "$id": "4096", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-3" + } + ] + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "726" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4097", + "kind": "model", + "type": { + "$ref": "726" + }, + "value": { + "migrateResults": { + "$id": "4098", + "kind": "array", + "type": { + "$ref": "728" + }, + "value": [ + { + "$id": "4099", + "kind": "model", + "type": { + "$ref": "729" + }, + "value": { + "resourceId": { + "$id": "4100", + "kind": "string", + "type": { + "$ref": "731" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-1" + }, + "result": { + "$id": "4101", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Succeeded" + } + } + }, + { + "$id": "4102", + "kind": "model", + "type": { + "$ref": "729" + }, + "value": { + "resourceId": { + "$id": "4103", + "kind": "string", + "type": { + "$ref": "731" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-2" + }, + "result": { + "$id": "4104", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Succeeded" + } + } + }, + { + "$id": "4105", + "kind": "model", + "type": { + "$ref": "729" + }, + "value": { + "resourceId": { + "$id": "4106", + "kind": "string", + "type": { + "$ref": "731" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset-3" + }, + "result": { + "$id": "4107", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Failed" + }, + "error": { + "$id": "4108", + "kind": "model", + "type": { + "$ref": "734" + }, + "value": { + "code": { + "$id": "4109", + "kind": "string", + "type": { + "$ref": "736" + }, + "value": "ResourceNotFound" + }, + "message": { + "$id": "4110", + "kind": "string", + "type": { + "$ref": "738" + }, + "value": "The resource was not found." + } + } + } + } + } + ] + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "4083" + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4084" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4085" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4111", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4112", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4113", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4114", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4115", + "kind": "method", + "name": "body", + "serializedName": "body", + "doc": "The content of the action request", + "type": { + "$ref": "723" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4116", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "181" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4117", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "183" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.migrate", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ] + } + } + } + ], + "parameters": [ + { + "$id": "4118", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "4119", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "4120", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "4121", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4122", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "4123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4124", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4125", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Namespaces", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "4127", + "kind": "client", + "name": "Credentials", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "4128", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Get a Credential", + "operation": { + "$id": "4129", + "name": "get", + "resourceName": "Credential", + "doc": "Get a Credential", + "accessibility": "public", + "parameters": [ + { + "$id": "4130", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.apiVersion", + "readOnly": false + }, + { + "$id": "4133", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4134", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.subscriptionId" + }, + { + "$id": "4136", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.resourceGroupName" + }, + { + "$id": "4138", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.namespaceName" + }, + { + "$id": "4140", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "185" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4141", + "kind": "http", + "name": "Get_Credentials", + "description": "Get_Credentials", + "filePath": "2025-11-01-preview/Get_Credentials.json", + "parameters": [ + { + "parameter": { + "$ref": "4130" + }, + "value": { + "$id": "4142", + "kind": "string", + "type": { + "$ref": "4131" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4133" + }, + "value": { + "$id": "4143", + "kind": "string", + "type": { + "$ref": "4134" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4136" + }, + "value": { + "$id": "4144", + "kind": "string", + "type": { + "$ref": "4137" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4138" + }, + "value": { + "$id": "4145", + "kind": "string", + "type": { + "$ref": "4139" + }, + "value": "mynamespace" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4146", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4147", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "provisioningState": { + "$id": "4148", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + }, + "tags": { + "$id": "4149", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key7121": { + "$id": "4150", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "mtdjqipusqaqhdvekrknyjeo" + } + } + }, + "location": { + "$id": "4151", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4152", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default" + }, + "name": { + "$id": "4153", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "default" + }, + "type": { + "$id": "4154", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials" + }, + "systemData": { + "$id": "4155", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4156", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4157", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4158", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4159", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4160", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4161", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4162", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4164", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4166", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "185" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "750" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get" + }, + { + "$id": "4167", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Create a Credential", + "operation": { + "$id": "4168", + "name": "createOrUpdate", + "resourceName": "Credential", + "doc": "Create a Credential", + "accessibility": "public", + "parameters": [ + { + "$id": "4169", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "4172", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4173", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.subscriptionId" + }, + { + "$id": "4175", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.resourceGroupName" + }, + { + "$id": "4177", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.namespaceName" + }, + { + "$id": "4179", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "187" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.contentType" + }, + { + "$id": "4180", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "189" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.accept" + }, + { + "$id": "4181", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "750" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4183", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4184", + "kind": "http", + "name": "CreateOrReplace_Credentials", + "description": "CreateOrReplace_Credentials", + "filePath": "2025-11-01-preview/CreateOrReplace_Credentials.json", + "parameters": [ + { + "parameter": { + "$ref": "4169" + }, + "value": { + "$id": "4185", + "kind": "string", + "type": { + "$ref": "4170" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4172" + }, + "value": { + "$id": "4186", + "kind": "string", + "type": { + "$ref": "4173" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4175" + }, + "value": { + "$id": "4187", + "kind": "string", + "type": { + "$ref": "4176" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4177" + }, + "value": { + "$id": "4188", + "kind": "string", + "type": { + "$ref": "4178" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4181" + }, + "value": { + "$id": "4189", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4190", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": {} + }, + "tags": { + "$id": "4191", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key7121": { + "$id": "4192", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "mtdjqipusqaqhdvekrknyjeo" + } + } + }, + "location": { + "$id": "4193", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4194", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4195", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "provisioningState": { + "$id": "4196", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + }, + "tags": { + "$id": "4197", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key7121": { + "$id": "4198", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "mtdjqipusqaqhdvekrknyjeo" + } + } + }, + "location": { + "$id": "4199", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4200", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default" + }, + "name": { + "$id": "4201", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "default" + }, + "type": { + "$id": "4202", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials" + }, + "systemData": { + "$id": "4203", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4204", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4205", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4206", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4207", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4208", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4209", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "4182" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4183" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "4210", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4211", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "provisioningState": { + "$id": "4212", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + }, + "tags": { + "$id": "4213", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key7121": { + "$id": "4214", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "mtdjqipusqaqhdvekrknyjeo" + } + } + }, + "location": { + "$id": "4215", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4216", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default" + }, + "name": { + "$id": "4217", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "default" + }, + "type": { + "$id": "4218", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials" + }, + "systemData": { + "$id": "4219", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4220", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4221", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4222", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4223", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4224", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4225", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4226", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4228", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4230", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "750" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4231", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "191" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4232", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "193" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "750" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + } + } + } + }, + { + "$id": "4233", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Delete a Credential", + "operation": { + "$id": "4234", + "name": "delete", + "resourceName": "Credential", + "doc": "Delete a Credential", + "accessibility": "public", + "parameters": [ + { + "$id": "4235", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4236", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.apiVersion", + "readOnly": false + }, + { + "$id": "4238", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4239", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.subscriptionId" + }, + { + "$id": "4241", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.resourceGroupName" + }, + { + "$id": "4243", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.namespaceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4246", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4247", + "kind": "http", + "name": "Delete_Credentials", + "description": "Delete_Credentials", + "filePath": "2025-11-01-preview/Delete_Credentials.json", + "parameters": [ + { + "parameter": { + "$ref": "4235" + }, + "value": { + "$id": "4248", + "kind": "string", + "type": { + "$ref": "4236" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4238" + }, + "value": { + "$id": "4249", + "kind": "string", + "type": { + "$ref": "4239" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4241" + }, + "value": { + "$id": "4250", + "kind": "string", + "type": { + "$ref": "4242" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4243" + }, + "value": { + "$id": "4251", + "kind": "string", + "type": { + "$ref": "4244" + }, + "value": "mynamespace" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4245" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4246" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4252", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4254", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "4256", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Update a Credential", + "operation": { + "$id": "4257", + "name": "update", + "resourceName": "Credential", + "doc": "Update a Credential", + "accessibility": "public", + "parameters": [ + { + "$id": "4258", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.apiVersion", + "readOnly": false + }, + { + "$id": "4261", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4262", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.subscriptionId" + }, + { + "$id": "4264", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.resourceGroupName" + }, + { + "$id": "4266", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.namespaceName" + }, + { + "$id": "4268", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "195" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.contentType" + }, + { + "$id": "4269", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "197" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.accept" + }, + { + "$id": "4270", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "761" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4272", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4273", + "kind": "http", + "name": "Update_Credentials", + "description": "Update_Credentials", + "filePath": "2025-11-01-preview/Update_Credentials.json", + "parameters": [ + { + "parameter": { + "$ref": "4258" + }, + "value": { + "$id": "4274", + "kind": "string", + "type": { + "$ref": "4259" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4261" + }, + "value": { + "$id": "4275", + "kind": "string", + "type": { + "$ref": "4262" + }, + "value": "17C6B0DE-82CA-4A56-946C-5DD9701D30D3" + } + }, + { + "parameter": { + "$ref": "4264" + }, + "value": { + "$id": "4276", + "kind": "string", + "type": { + "$ref": "4265" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4266" + }, + "value": { + "$id": "4277", + "kind": "string", + "type": { + "$ref": "4267" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4270" + }, + "value": { + "$id": "4278", + "kind": "model", + "type": { + "$ref": "761" + }, + "value": { + "tags": { + "$id": "4279", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key9580": { + "$id": "4280", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "tpbwnljiiwtlyuiayalpkxyfwnrz" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4281", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4282", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "provisioningState": { + "$id": "4283", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + }, + "tags": { + "$id": "4284", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key9620": { + "$id": "4285", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "ddprkxlfnqejng" + } + } + }, + "location": { + "$id": "4286", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4287", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default" + }, + "name": { + "$id": "4288", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "default" + }, + "type": { + "$id": "4289", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials" + }, + "systemData": { + "$id": "4290", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4291", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4292", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4293", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4294", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4295", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4296", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4271" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4272" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4297", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4299", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4301", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "761" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4302", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "199" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4303", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "201" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "750" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "750" + } + } + } + }, + { + "$id": "4304", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "List Credential resources by Namespace", + "operation": { + "$id": "4305", + "name": "listByResourceGroup", + "resourceName": "Credential", + "doc": "List Credential resources by Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "4306", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4308", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "4309", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4310", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4311", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.subscriptionId" + }, + { + "$id": "4312", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.resourceGroupName" + }, + { + "$id": "4314", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4315", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.namespaceName" + }, + { + "$id": "4316", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "203" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "763" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4317", + "kind": "http", + "name": "List_Credentials_ByResourceGroup", + "description": "List_Credentials_ByResourceGroup", + "filePath": "2025-11-01-preview/List_Credentials_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "4306" + }, + "value": { + "$id": "4318", + "kind": "string", + "type": { + "$ref": "4307" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4309" + }, + "value": { + "$id": "4319", + "kind": "string", + "type": { + "$ref": "4310" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4312" + }, + "value": { + "$id": "4320", + "kind": "string", + "type": { + "$ref": "4313" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4314" + }, + "value": { + "$id": "4321", + "kind": "string", + "type": { + "$ref": "4315" + }, + "value": "mynamespace" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "763" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4322", + "kind": "model", + "type": { + "$ref": "763" + }, + "value": { + "value": { + "$id": "4323", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "4324", + "kind": "model", + "type": { + "$ref": "750" + }, + "value": { + "properties": { + "$id": "4325", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "provisioningState": { + "$id": "4326", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + }, + "tags": { + "$id": "4327", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key7121": { + "$id": "4328", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "mtdjqipusqaqhdvekrknyjeo" + } + } + }, + "location": { + "$id": "4329", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4330", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default" + }, + "name": { + "$id": "4331", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "default" + }, + "type": { + "$id": "4332", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials" + }, + "systemData": { + "$id": "4333", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4334", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4335", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4336", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4337", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4338", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4339", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4340", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4341", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4342", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4344", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "203" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "765" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "4345", + "kind": "lro", + "name": "synchronize", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "A long-running resource action.", + "operation": { + "$id": "4346", + "name": "synchronize", + "resourceName": "Credentials", + "doc": "A long-running resource action.", + "accessibility": "public", + "parameters": [ + { + "$id": "4347", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4348", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.apiVersion", + "readOnly": false + }, + { + "$id": "4350", + "kind": "path", + "name": "subscriptionId", + "serializedName": "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": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.subscriptionId" + }, + { + "$id": "4353", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4354", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.resourceGroupName" + }, + { + "$id": "4355", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4356", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.namespaceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4357", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4358", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/synchronize", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4359", + "kind": "http", + "name": "Credentials_Synchronize", + "description": "Credentials_Synchronize", + "filePath": "2025-11-01-preview/Credentials_Synchronize.json", + "parameters": [ + { + "parameter": { + "$ref": "4347" + }, + "value": { + "$id": "4360", + "kind": "string", + "type": { + "$ref": "4348" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4350" + }, + "value": { + "$id": "4361", + "kind": "string", + "type": { + "$ref": "4351" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4353" + }, + "value": { + "$id": "4362", + "kind": "string", + "type": { + "$ref": "4354" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4355" + }, + "value": { + "$id": "4363", + "kind": "string", + "type": { + "$ref": "4356" + }, + "value": "mynamespace" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4357" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4358" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4364", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4366", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4367", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.synchronize", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ] + } + } + } + ], + "parameters": [ + { + "$id": "4368", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "4369", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "4370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "4371", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "4373", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4374", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4375", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4376", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Credentials", + "apiVersions": [ + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "4377", + "kind": "client", + "name": "Policies", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "4378", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Get a Policy", + "operation": { + "$id": "4379", + "name": "get", + "resourceName": "Policy", + "doc": "Get a Policy", + "accessibility": "public", + "parameters": [ + { + "$id": "4380", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4382", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.apiVersion", + "readOnly": false + }, + { + "$id": "4383", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4384", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.subscriptionId" + }, + { + "$id": "4386", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.resourceGroupName" + }, + { + "$id": "4388", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4389", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.namespaceName" + }, + { + "$id": "4390", + "kind": "path", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4391", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.policyName" + }, + { + "$id": "4392", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "205" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4393", + "kind": "http", + "name": "Get_Policies", + "description": "Get_Policies", + "filePath": "2025-11-01-preview/Get_Policies.json", + "parameters": [ + { + "parameter": { + "$ref": "4380" + }, + "value": { + "$id": "4394", + "kind": "string", + "type": { + "$ref": "4381" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4383" + }, + "value": { + "$id": "4395", + "kind": "string", + "type": { + "$ref": "4384" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4386" + }, + "value": { + "$id": "4396", + "kind": "string", + "type": { + "$ref": "4387" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4388" + }, + "value": { + "$id": "4397", + "kind": "string", + "type": { + "$ref": "4389" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4390" + }, + "value": { + "$id": "4398", + "kind": "string", + "type": { + "$ref": "4391" + }, + "value": "myPolicy" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4399", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4400", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "provisioningState": { + "$id": "4401", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "certificate": { + "$id": "4402", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4403", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4404", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + }, + "subject": { + "$id": "4405", + "kind": "string", + "type": { + "$ref": "784" + }, + "value": "CN=07b5d73a70e046f288ddc64518bc517e" + }, + "validityNotBefore": { + "$id": "4406", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "2025-06-12T20:17:41.741Z" + }, + "validityNotAfter": { + "$id": "4407", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2025-06-12T20:17:41.741Z" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4408", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4409", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4410", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4411", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4412", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4413", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default/policies/mypolicy" + }, + "name": { + "$id": "4414", + "kind": "string", + "type": { + "$ref": "796" + }, + "value": "mypolicy" + }, + "type": { + "$id": "4415", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials/policies" + }, + "systemData": { + "$id": "4416", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4417", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4418", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4419", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4420", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4421", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4422", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4423", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4425", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4426", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4427", + "kind": "method", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.policyName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4429", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "205" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "769" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get" + }, + { + "$id": "4430", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Create a Policy", + "operation": { + "$id": "4431", + "name": "createOrUpdate", + "resourceName": "Policy", + "doc": "Create a Policy", + "accessibility": "public", + "parameters": [ + { + "$id": "4432", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4433", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4434", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "4435", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4436", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4437", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.subscriptionId" + }, + { + "$id": "4438", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4439", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.resourceGroupName" + }, + { + "$id": "4440", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.namespaceName" + }, + { + "$id": "4442", + "kind": "path", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4443", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.policyName" + }, + { + "$id": "4444", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "207" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.contentType" + }, + { + "$id": "4445", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "209" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.accept" + }, + { + "$id": "4446", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "769" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4447", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4448", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4449", + "kind": "http", + "name": "CreateOrReplace_Policies", + "description": "CreateOrReplace_Policies", + "filePath": "2025-11-01-preview/CreateOrReplace_Policies.json", + "parameters": [ + { + "parameter": { + "$ref": "4432" + }, + "value": { + "$id": "4450", + "kind": "string", + "type": { + "$ref": "4433" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4435" + }, + "value": { + "$id": "4451", + "kind": "string", + "type": { + "$ref": "4436" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4438" + }, + "value": { + "$id": "4452", + "kind": "string", + "type": { + "$ref": "4439" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4440" + }, + "value": { + "$id": "4453", + "kind": "string", + "type": { + "$ref": "4441" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4442" + }, + "value": { + "$id": "4454", + "kind": "string", + "type": { + "$ref": "4443" + }, + "value": "mypolicy" + } + }, + { + "parameter": { + "$ref": "4446" + }, + "value": { + "$id": "4455", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4456", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "certificate": { + "$id": "4457", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4458", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4459", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4460", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4461", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4462", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4463", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4464", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "zjqtuvprnxvimzkkxaobgkm" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4465", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4466", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "provisioningState": { + "$id": "4467", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "certificate": { + "$id": "4468", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4469", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4470", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + }, + "subject": { + "$id": "4471", + "kind": "string", + "type": { + "$ref": "784" + }, + "value": "CN=07b5d73a70e046f288ddc64518bc517e" + }, + "validityNotBefore": { + "$id": "4472", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "2025-06-12T20:17:41.741Z" + }, + "validityNotAfter": { + "$id": "4473", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2025-06-12T20:17:41.741Z" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4474", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4475", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4476", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4477", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4478", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4479", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default/policies/mypolicy" + }, + "name": { + "$id": "4480", + "kind": "string", + "type": { + "$ref": "796" + }, + "value": "mypolicy" + }, + "type": { + "$id": "4481", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials/policies" + }, + "systemData": { + "$id": "4482", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4483", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4484", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4485", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4486", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4487", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4488", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "4447" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4448" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "4489", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4490", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "provisioningState": { + "$id": "4491", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "certificate": { + "$id": "4492", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4493", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4494", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + }, + "subject": { + "$id": "4495", + "kind": "string", + "type": { + "$ref": "784" + }, + "value": "CN=07b5d73a70e046f288ddc64518bc517e" + }, + "validityNotBefore": { + "$id": "4496", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "2025-06-12T20:17:41.741Z" + }, + "validityNotAfter": { + "$id": "4497", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2025-06-12T20:17:41.741Z" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4498", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4499", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4500", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4501", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4502", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4503", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default/policies/mypolicy" + }, + "name": { + "$id": "4504", + "kind": "string", + "type": { + "$ref": "796" + }, + "value": "mypolicy" + }, + "type": { + "$id": "4505", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials/policies" + }, + "systemData": { + "$id": "4506", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4507", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4508", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4509", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4510", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4511", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4512", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4513", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4514", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4515", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4517", + "kind": "method", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4518", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.policyName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4519", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "769" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4520", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "211" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4521", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "213" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "769" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + } + } + } + }, + { + "$id": "4522", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Delete a Policy", + "operation": { + "$id": "4523", + "name": "delete", + "resourceName": "Policy", + "doc": "Delete a Policy", + "accessibility": "public", + "parameters": [ + { + "$id": "4524", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4525", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4526", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.apiVersion", + "readOnly": false + }, + { + "$id": "4527", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4528", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4529", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.subscriptionId" + }, + { + "$id": "4530", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4531", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.resourceGroupName" + }, + { + "$id": "4532", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.namespaceName" + }, + { + "$id": "4534", + "kind": "path", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4535", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.policyName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4536", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4537", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4538", + "kind": "http", + "name": "Delete_Policies", + "description": "Delete_Policies", + "filePath": "2025-11-01-preview/Delete_Policies.json", + "parameters": [ + { + "parameter": { + "$ref": "4524" + }, + "value": { + "$id": "4539", + "kind": "string", + "type": { + "$ref": "4525" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4527" + }, + "value": { + "$id": "4540", + "kind": "string", + "type": { + "$ref": "4528" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4530" + }, + "value": { + "$id": "4541", + "kind": "string", + "type": { + "$ref": "4531" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4532" + }, + "value": { + "$id": "4542", + "kind": "string", + "type": { + "$ref": "4533" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4534" + }, + "value": { + "$id": "4543", + "kind": "string", + "type": { + "$ref": "4535" + }, + "value": "mypolicy" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4536" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4537" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4544", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4545", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4546", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4548", + "kind": "method", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4549", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete.policyName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "4550", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "Update a Policy", + "operation": { + "$id": "4551", + "name": "update", + "resourceName": "Policy", + "doc": "Update a Policy", + "accessibility": "public", + "parameters": [ + { + "$id": "4552", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4553", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4554", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.apiVersion", + "readOnly": false + }, + { + "$id": "4555", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4556", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.subscriptionId" + }, + { + "$id": "4558", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4559", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.resourceGroupName" + }, + { + "$id": "4560", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.namespaceName" + }, + { + "$id": "4562", + "kind": "path", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4563", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.policyName" + }, + { + "$id": "4564", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "215" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.contentType" + }, + { + "$id": "4565", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "217" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.accept" + }, + { + "$id": "4566", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "797" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4567", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4568", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4569", + "kind": "http", + "name": "Update_Policies", + "description": "Update_Policies", + "filePath": "2025-11-01-preview/Update_Policies.json", + "parameters": [ + { + "parameter": { + "$ref": "4552" + }, + "value": { + "$id": "4570", + "kind": "string", + "type": { + "$ref": "4553" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4555" + }, + "value": { + "$id": "4571", + "kind": "string", + "type": { + "$ref": "4556" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4558" + }, + "value": { + "$id": "4572", + "kind": "string", + "type": { + "$ref": "4559" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4560" + }, + "value": { + "$id": "4573", + "kind": "string", + "type": { + "$ref": "4561" + }, + "value": "mynamespace" + } + }, + { + "parameter": { + "$ref": "4562" + }, + "value": { + "$id": "4574", + "kind": "string", + "type": { + "$ref": "4563" + }, + "value": "mypolicy" + } + }, + { + "parameter": { + "$ref": "4566" + }, + "value": { + "$id": "4575", + "kind": "model", + "type": { + "$ref": "797" + }, + "value": { + "properties": { + "$id": "4576", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "certificate": { + "$id": "4577", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4578", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": {} + }, + "leafCertificateConfiguration": { + "$id": "4579", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4580", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4581", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key5535": { + "$id": "4582", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "soggdtfwzvheyqvinbwdcowcjvxe" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4583", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4584", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "provisioningState": { + "$id": "4585", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "certificate": { + "$id": "4586", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4587", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4588", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + }, + "subject": { + "$id": "4589", + "kind": "string", + "type": { + "$ref": "784" + }, + "value": "CN=07b5d73a70e046f288ddc64518bc517e" + }, + "validityNotBefore": { + "$id": "4590", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "2025-06-12T20:17:41.741Z" + }, + "validityNotAfter": { + "$id": "4591", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2025-06-12T20:17:41.741Z" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4592", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4593", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4594", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4595", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4596", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4597", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default/policies/mypolicy" + }, + "name": { + "$id": "4598", + "kind": "string", + "type": { + "$ref": "796" + }, + "value": "mypolicy" + }, + "type": { + "$id": "4599", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials/policies" + }, + "systemData": { + "$id": "4600", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4601", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4602", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4603", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4604", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4605", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4606", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "4567" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4568" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4607", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4609", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4610", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4611", + "kind": "method", + "name": "policyName", + "serializedName": "policyName", + "doc": "The name of the Policy tracked resource.", + "type": { + "$id": "4612", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.policyName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4613", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "797" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4614", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "219" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4615", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "221" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "769" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "769" + } + } + } + }, + { + "$id": "4616", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-11-01-preview" + ], + "doc": "List Policy resources by Credential", + "operation": { + "$id": "4617", + "name": "listByResourceGroup", + "resourceName": "Policy", + "doc": "List Policy resources by Credential", + "accessibility": "public", + "parameters": [ + { + "$id": "4618", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4619", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "4621", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4622", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.subscriptionId" + }, + { + "$id": "4624", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.resourceGroupName" + }, + { + "$id": "4626", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4627", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.namespaceName" + }, + { + "$id": "4628", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "223" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "802" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4629", + "kind": "http", + "name": "List_Policies_ByResourceGroup", + "description": "List_Policies_ByResourceGroup", + "filePath": "2025-11-01-preview/List_Policies_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "4618" + }, + "value": { + "$id": "4630", + "kind": "string", + "type": { + "$ref": "4619" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4621" + }, + "value": { + "$id": "4631", + "kind": "string", + "type": { + "$ref": "4622" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4624" + }, + "value": { + "$id": "4632", + "kind": "string", + "type": { + "$ref": "4625" + }, + "value": "rgdeviceregistry" + } + }, + { + "parameter": { + "$ref": "4626" + }, + "value": { + "$id": "4633", + "kind": "string", + "type": { + "$ref": "4627" + }, + "value": "mynamespace" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "802" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4634", + "kind": "model", + "type": { + "$ref": "802" + }, + "value": { + "value": { + "$id": "4635", + "kind": "array", + "type": { + "$ref": "804" + }, + "value": [ + { + "$id": "4636", + "kind": "model", + "type": { + "$ref": "769" + }, + "value": { + "properties": { + "$id": "4637", + "kind": "model", + "type": { + "$ref": "776" + }, + "value": { + "provisioningState": { + "$id": "4638", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "certificate": { + "$id": "4639", + "kind": "model", + "type": { + "$ref": "779" + }, + "value": { + "certificateAuthorityConfiguration": { + "$id": "4640", + "kind": "model", + "type": { + "$ref": "781" + }, + "value": { + "keyType": { + "$id": "4641", + "kind": "string", + "type": { + "$ref": "58" + }, + "value": "ECC" + }, + "subject": { + "$id": "4642", + "kind": "string", + "type": { + "$ref": "784" + }, + "value": "CN=07b5d73a70e046f288ddc64518bc517e" + }, + "validityNotBefore": { + "$id": "4643", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "2025-06-12T20:17:41.741Z" + }, + "validityNotAfter": { + "$id": "4644", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2025-06-12T20:17:41.741Z" + } + } + }, + "leafCertificateConfiguration": { + "$id": "4645", + "kind": "model", + "type": { + "$ref": "792" + }, + "value": { + "validityPeriodInDays": { + "$id": "4646", + "kind": "number", + "type": { + "$ref": "794" + }, + "value": 10 + } + } + } + } + } + } + }, + "tags": { + "$id": "4647", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "key1088": { + "$id": "4648", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "xzrpbqsac" + } + } + }, + "location": { + "$id": "4649", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "East US 2" + }, + "id": { + "$id": "4650", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/adr-ns-gbk-01/credentials/default/policies/mypolicy" + }, + "name": { + "$id": "4651", + "kind": "string", + "type": { + "$ref": "796" + }, + "value": "mypolicy" + }, + "type": { + "$id": "4652", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/credentials/policies" + }, + "systemData": { + "$id": "4653", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4654", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "4655", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4656", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "4657", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "4658", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4659", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4660", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4661", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4662", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4663", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4664", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "223" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "804" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "4665", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "4666", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "4667", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "4668", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4669", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "4670", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4671", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4672", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4673", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Policies", + "apiVersions": [ + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "4674", + "kind": "client", + "name": "NamespaceAssets", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "4675", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a NamespaceAsset", + "operation": { + "$id": "4676", + "name": "get", + "resourceName": "NamespaceAsset", + "doc": "Get a NamespaceAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "4677", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4678", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4679", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.apiVersion", + "readOnly": false + }, + { + "$id": "4680", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4681", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4682", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.subscriptionId" + }, + { + "$id": "4683", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4684", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.resourceGroupName" + }, + { + "$id": "4685", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.namespaceName" + }, + { + "$id": "4687", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "4688", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.assetName" + }, + { + "$id": "4689", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "225" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4690", + "kind": "http", + "name": "Get_NamespaceAsset", + "description": "Get_NamespaceAsset", + "filePath": "2025-11-01-preview/Get_NamespaceAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "4677" + }, + "value": { + "$id": "4691", + "kind": "string", + "type": { + "$ref": "4678" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4680" + }, + "value": { + "$id": "4692", + "kind": "string", + "type": { + "$ref": "4681" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4683" + }, + "value": { + "$id": "4693", + "kind": "string", + "type": { + "$ref": "4684" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "4685" + }, + "value": { + "$id": "4694", + "kind": "string", + "type": { + "$ref": "4686" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "4687" + }, + "value": { + "$id": "4695", + "kind": "string", + "type": { + "$ref": "4688" + }, + "value": "my-asset-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "4696", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "id": { + "$id": "4697", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/assets/my-asset-1" + }, + "name": { + "$id": "4698", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "my-asset-1" + }, + "type": { + "$id": "4699", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets" + }, + "location": { + "$id": "4700", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "4701", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "4702", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "4703", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "4704", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "4705", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "4706", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "4707", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "4708", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "4709", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "4710", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "4711", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "4712", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "4713", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "uuid": { + "$id": "4714", + "kind": "string", + "type": { + "$ref": "817" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "deviceRef": { + "$id": "4715", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "4716", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "device1" + }, + "endpointName": { + "$id": "4717", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "8ZBA6LRHU0A458969" + } + } + }, + "assetTypeRefs": { + "$id": "4718", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "4719", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "4720", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "enabled": { + "$id": "4721", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "4722", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "4723", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "4724", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample Asset" + }, + "version": { + "$id": "4725", + "kind": "number", + "type": { + "$ref": "834" + }, + "value": 12 + }, + "lastTransitionTime": { + "$id": "4726", + "kind": "string", + "type": { + "$ref": "836" + }, + "value": "2025-03-11T20:14:21.949Z" + }, + "manufacturer": { + "$id": "4727", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "4728", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "4729", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "4730", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "4731", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "4732", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "4733", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "4734", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "4735", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "4736", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "discoveredAssetRefs": { + "$id": "4737", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "4738", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "4739", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "4740", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "4741", + "kind": "string", + "type": { + "$ref": "861" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "4742", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "4743", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "4744", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "4745", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "4746", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "4747", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "4748", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "4749", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "4750", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "4751", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "4752", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "4753", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "4754", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "4755", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "4756", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "4757", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "4758", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "4759", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "4760", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "4761", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "4762", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "4763", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "4764", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Oven;i=5" + }, + "typeRef": { + "$id": "4765", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "4766", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "destinations": { + "$id": "4767", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "4768", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "4769", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "4770", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "4771", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "4772", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "4773", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "4774", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "4775", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "4776", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "4777", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint1TypeRef" + } + } + }, + { + "$id": "4778", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "4779", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "4780", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "4781", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "4782", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint2TypeRef" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "4783", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "4784", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "4785", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "4786", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "4787", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "4788", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "4789", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "4790", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "4791", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "4792", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "4793", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "4794", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "4795", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "4796", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "4797", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "4798", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "4799", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "4800", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "4801", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "4802", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "4803", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "4804", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "4805", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "4806", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "4807", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "4808", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "4809", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "4810", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "4811", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "4812", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "4813", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "4814", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "4815", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "4816", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "4817", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "4818", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "4819", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "4820", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "4821", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "4822", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "4823", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "4824", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "4825", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "4826", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "4827", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "4828", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + }, + "status": { + "$id": "4829", + "kind": "model", + "type": { + "$ref": "1019" + }, + "value": { + "config": { + "$id": "4830", + "kind": "model", + "type": { + "$ref": "1021" + }, + "value": { + "version": { + "$id": "4831", + "kind": "number", + "type": { + "$ref": "1023" + }, + "value": 9 + }, + "lastTransitionTime": { + "$id": "4832", + "kind": "string", + "type": { + "$ref": "1025" + }, + "value": "2025-03-11T02:19:16.489Z" + }, + "error": { + "$id": "4833", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "4834", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "4835", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "u" + }, + "details": { + "$id": "4836", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "4837", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "4838", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "4839", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "4840", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "4841", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + "datasets": { + "$id": "4842", + "kind": "array", + "type": { + "$ref": "1035" + }, + "value": [ + { + "$id": "4843", + "kind": "model", + "type": { + "$ref": "1036" + }, + "value": { + "name": { + "$id": "4844", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "dataset1" + }, + "messageSchemaReference": { + "$id": "4845", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4846", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4847", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4848", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "4849", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "4850", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "4851", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "4852", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "4853", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "4854", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "4855", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "4856", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "4857", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "streams": { + "$id": "4858", + "kind": "array", + "type": { + "$ref": "1061" + }, + "value": [ + { + "$id": "4859", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "name": { + "$id": "4860", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "stream1" + }, + "messageSchemaReference": { + "$id": "4861", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4862", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4863", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4864", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "4865", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "4866", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "4867", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "4868", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "4869", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "4870", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "4871", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "4872", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "4873", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "managementGroups": { + "$id": "4874", + "kind": "array", + "type": { + "$ref": "1068" + }, + "value": [ + { + "$id": "4875", + "kind": "model", + "type": { + "$ref": "1069" + }, + "value": { + "name": { + "$id": "4876", + "kind": "string", + "type": { + "$ref": "1071" + }, + "value": "managementGroup1" + }, + "actions": { + "$id": "4877", + "kind": "array", + "type": { + "$ref": "1073" + }, + "value": [ + { + "$id": "4878", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "4879", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action1" + }, + "requestMessageSchemaReference": { + "$id": "4880", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4881", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4882", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4883", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "4884", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4885", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4886", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4887", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "4888", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "4889", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "4890", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "4891", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "4892", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "4893", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "4894", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "4895", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "4896", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + { + "$id": "4897", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "4898", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action2" + }, + "requestMessageSchemaReference": { + "$id": "4899", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4900", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4901", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4902", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "4903", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "4904", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "4905", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "4906", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "4907", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "4908", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "4909", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "4910", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "4911", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "4912", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "4913", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "4914", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "4915", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "4916", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "4917", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4918", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4919", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4920", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4921", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "4922", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "4923", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "225" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "808" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get" + }, + { + "$id": "4924", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a NamespaceAsset", + "operation": { + "$id": "4925", + "name": "createOrReplace", + "resourceName": "NamespaceAsset", + "doc": "Create a NamespaceAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "4926", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4927", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "4928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "4929", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4930", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4931", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.subscriptionId" + }, + { + "$id": "4932", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4933", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.resourceGroupName" + }, + { + "$id": "4934", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "4935", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.namespaceName" + }, + { + "$id": "4936", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "4937", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.assetName" + }, + { + "$id": "4938", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "227" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.contentType" + }, + { + "$id": "4939", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "229" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.accept" + }, + { + "$id": "4940", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "808" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4941", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "4942", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "4943", + "kind": "http", + "name": "CreateOrReplace_NamespaceAsset", + "description": "CreateOrReplace_NamespaceAsset", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "4926" + }, + "value": { + "$id": "4944", + "kind": "string", + "type": { + "$ref": "4927" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "4929" + }, + "value": { + "$id": "4945", + "kind": "string", + "type": { + "$ref": "4930" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "4932" + }, + "value": { + "$id": "4946", + "kind": "string", + "type": { + "$ref": "4933" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "4934" + }, + "value": { + "$id": "4947", + "kind": "string", + "type": { + "$ref": "4935" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "4936" + }, + "value": { + "$id": "4948", + "kind": "string", + "type": { + "$ref": "4937" + }, + "value": "my-asset-1" + } + }, + { + "parameter": { + "$ref": "4940" + }, + "value": { + "$id": "4949", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "location": { + "$id": "4950", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "4951", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "4952", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "4953", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "4954", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "4955", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "4956", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "deviceRef": { + "$id": "4957", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "4958", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "device1" + }, + "endpointName": { + "$id": "4959", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "4960", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "4961", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "4962", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "enabled": { + "$id": "4963", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "4964", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "4965", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "4966", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample Asset" + }, + "manufacturer": { + "$id": "4967", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "4968", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "4969", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "4970", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "4971", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "4972", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "4973", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "4974", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "4975", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "4976", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "discoveredAssetRefs": { + "$id": "4977", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "4978", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "4979", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "4980", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "4981", + "kind": "string", + "type": { + "$ref": "861" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "4982", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "4983", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "4984", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "4985", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "4986", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "4987", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "4988", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "4989", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "4990", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "4991", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "4992", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "4993", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "4994", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "4995", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "4996", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "4997", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "4998", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "4999", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5000", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "5001", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "5002", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "5003", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "5004", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Oven;i=5" + }, + "typeRef": { + "$id": "5005", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "5006", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "destinations": { + "$id": "5007", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5008", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5009", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5010", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5011", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "5012", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "5013", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5014", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "5015", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "5016", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5017", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint1TypeRef" + } + } + }, + { + "$id": "5018", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5019", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "5020", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "5021", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5022", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint2TypeRef" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "5023", + "kind": "array", + "type": { + "$ref": "954" + }, + "value": [ + { + "$id": "5024", + "kind": "model", + "type": { + "$ref": "955" + }, + "value": { + "name": { + "$id": "5025", + "kind": "string", + "type": { + "$ref": "957" + }, + "value": "default" + }, + "events": { + "$id": "5026", + "kind": "array", + "type": { + "$ref": "966" + }, + "value": [ + { + "$id": "5027", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5028", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event1" + }, + "dataSource": { + "$id": "5029", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt5" + }, + "eventConfiguration": { + "$id": "5030", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5031", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5032", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "5033", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5034", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5035", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "5036", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "5037", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5038", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5039", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "5040", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5041", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event2" + }, + "dataSource": { + "$id": "5042", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt8" + }, + "eventConfiguration": { + "$id": "5043", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5044", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5045", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5046", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5047", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5048", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5049", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5050", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5051", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5052", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "5053", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5054", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "5055", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5056", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "5057", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5058", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5059", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "5060", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5061", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "5062", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5063", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "5064", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5065", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5066", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5067", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5068", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "5069", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5070", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5071", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "5072", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "5073", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "5074", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "5075", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "5076", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "5077", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "5078", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "5079", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "5080", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5081", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "5082", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5083", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "5084", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "5085", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "5086", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5087", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "5088", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5089", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "5090", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5091", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "5092", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "5093", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "5094", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5095", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "5096", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "id": { + "$id": "5097", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/assets/my-asset-1" + }, + "name": { + "$id": "5098", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "my-asset-1" + }, + "type": { + "$id": "5099", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets" + }, + "systemData": { + "$id": "5100", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "5101", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "5102", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "5103", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "5104", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "5105", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "5106", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + }, + "location": { + "$id": "5107", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "5108", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "5109", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "5110", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "5111", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "5112", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "5113", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "uuid": { + "$id": "5114", + "kind": "string", + "type": { + "$ref": "817" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "deviceRef": { + "$id": "5115", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "5116", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "device1" + }, + "endpointName": { + "$id": "5117", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "8ZBA6LRHU0A458969" + } + } + }, + "assetTypeRefs": { + "$id": "5118", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5119", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "5120", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "enabled": { + "$id": "5121", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "5122", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "5123", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "5124", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample Asset" + }, + "version": { + "$id": "5125", + "kind": "number", + "type": { + "$ref": "834" + }, + "value": 12 + }, + "lastTransitionTime": { + "$id": "5126", + "kind": "string", + "type": { + "$ref": "836" + }, + "value": "2025-03-11T20:14:21.949Z" + }, + "manufacturer": { + "$id": "5127", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "5128", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "5129", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "5130", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "5131", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "5132", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "5133", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "5134", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "5135", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "5136", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "discoveredAssetRefs": { + "$id": "5137", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5138", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "5139", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "5140", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "5141", + "kind": "string", + "type": { + "$ref": "861" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "5142", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "5143", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5144", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5145", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5146", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5147", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "5148", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5149", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5150", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5151", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5152", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "5153", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5154", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5155", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5156", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5157", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "5158", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5159", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5160", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "5161", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "5162", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "5163", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "5164", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Oven;i=5" + }, + "typeRef": { + "$id": "5165", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "5166", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "destinations": { + "$id": "5167", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5168", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5169", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5170", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5171", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "5172", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "5173", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5174", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "5175", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "5176", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5177", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint1TypeRef" + } + } + }, + { + "$id": "5178", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5179", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "5180", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "5181", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5182", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint2TypeRef" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "5183", + "kind": "array", + "type": { + "$ref": "954" + }, + "value": [ + { + "$id": "5184", + "kind": "model", + "type": { + "$ref": "955" + }, + "value": { + "name": { + "$id": "5185", + "kind": "string", + "type": { + "$ref": "957" + }, + "value": "default" + }, + "events": { + "$id": "5186", + "kind": "array", + "type": { + "$ref": "966" + }, + "value": [ + { + "$id": "5187", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5188", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event1" + }, + "dataSource": { + "$id": "5189", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "5190", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5191", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5192", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "5193", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5194", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5195", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "5196", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "5197", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5198", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5199", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "5200", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5201", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event2" + }, + "dataSource": { + "$id": "5202", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt7" + }, + "eventConfiguration": { + "$id": "5203", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5204", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5205", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5206", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5207", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5208", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5209", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5210", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5211", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5212", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "5213", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5214", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "5215", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5216", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "5217", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5218", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5219", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "5220", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5221", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "5222", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5223", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "5224", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5225", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5226", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5227", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5228", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "5229", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5230", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5231", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "5232", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "5233", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "5234", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "5235", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "5236", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "5237", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "5238", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "5239", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "5240", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5241", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "5242", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5243", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "5244", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "5245", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "5246", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5247", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "5248", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5249", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "5250", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5251", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "5252", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "5253", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "5254", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5255", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + }, + "status": { + "$id": "5256", + "kind": "model", + "type": { + "$ref": "1019" + }, + "value": { + "config": { + "$id": "5257", + "kind": "model", + "type": { + "$ref": "1021" + }, + "value": { + "version": { + "$id": "5258", + "kind": "number", + "type": { + "$ref": "1023" + }, + "value": 9 + }, + "lastTransitionTime": { + "$id": "5259", + "kind": "string", + "type": { + "$ref": "1025" + }, + "value": "2025-03-11T02:19:16.489Z" + }, + "error": { + "$id": "5260", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5261", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5262", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "u" + }, + "details": { + "$id": "5263", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5264", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5265", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5266", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5267", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5268", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + "datasets": { + "$id": "5269", + "kind": "array", + "type": { + "$ref": "1035" + }, + "value": [ + { + "$id": "5270", + "kind": "model", + "type": { + "$ref": "1036" + }, + "value": { + "name": { + "$id": "5271", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "dataset1" + }, + "messageSchemaReference": { + "$id": "5272", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5273", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5274", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5275", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5276", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5277", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5278", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5279", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5280", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5281", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5282", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5283", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5284", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "eventGroups": { + "$id": "5285", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "5286", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "name": { + "$id": "5287", + "kind": "string", + "type": { + "$ref": "1052" + }, + "value": "default" + }, + "events": { + "$id": "5288", + "kind": "array", + "type": { + "$ref": "1054" + }, + "value": [ + { + "$id": "5289", + "kind": "model", + "type": { + "$ref": "1055" + }, + "value": { + "name": { + "$id": "5290", + "kind": "string", + "type": { + "$ref": "1057" + }, + "value": "event1" + }, + "messageSchemaReference": { + "$id": "5291", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5292", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5293", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5294", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5295", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5296", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5297", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5298", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5299", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5300", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5301", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5302", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5303", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5304", + "kind": "array", + "type": { + "$ref": "1061" + }, + "value": [ + { + "$id": "5305", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "name": { + "$id": "5306", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "stream1" + }, + "messageSchemaReference": { + "$id": "5307", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5308", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5309", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5310", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5311", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5312", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5313", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5314", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5315", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5316", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5317", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5318", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5319", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "managementGroups": { + "$id": "5320", + "kind": "array", + "type": { + "$ref": "1068" + }, + "value": [ + { + "$id": "5321", + "kind": "model", + "type": { + "$ref": "1069" + }, + "value": { + "name": { + "$id": "5322", + "kind": "string", + "type": { + "$ref": "1071" + }, + "value": "managementGroup1" + }, + "actions": { + "$id": "5323", + "kind": "array", + "type": { + "$ref": "1073" + }, + "value": [ + { + "$id": "5324", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5325", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action1" + }, + "requestMessageSchemaReference": { + "$id": "5326", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5327", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5328", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5329", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5330", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5331", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5332", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5333", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5334", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5335", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5336", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5337", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5338", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5339", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5340", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5341", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5342", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + { + "$id": "5343", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5344", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action2" + }, + "requestMessageSchemaReference": { + "$id": "5345", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5346", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5347", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5348", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5349", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5350", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5351", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5352", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5353", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5354", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5355", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5356", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5357", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5358", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5359", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5360", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5361", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5362", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "4941" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "4942" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "5363", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "id": { + "$id": "5364", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/assets/my-asset-1" + }, + "name": { + "$id": "5365", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "my-asset-1" + }, + "type": { + "$id": "5366", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets" + }, + "systemData": { + "$id": "5367", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "5368", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "5369", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "5370", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-09-13T19:38:09.5283958Z" + }, + "lastModifiedBy": { + "$id": "5371", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "5372", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "5373", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-09-13T19:38:16.6634263Z" + } + } + }, + "location": { + "$id": "5374", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "5375", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "5376", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "5377", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "5378", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "5379", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "5380", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "uuid": { + "$id": "5381", + "kind": "string", + "type": { + "$ref": "817" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "deviceRef": { + "$id": "5382", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "5383", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "device1" + }, + "endpointName": { + "$id": "5384", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "8ZBA6LRHU0A458969" + } + } + }, + "assetTypeRefs": { + "$id": "5385", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5386", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "5387", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "enabled": { + "$id": "5388", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "5389", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "5390", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "5391", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample Asset" + }, + "version": { + "$id": "5392", + "kind": "number", + "type": { + "$ref": "834" + }, + "value": 12 + }, + "lastTransitionTime": { + "$id": "5393", + "kind": "string", + "type": { + "$ref": "836" + }, + "value": "2025-03-11T20:14:21.949Z" + }, + "manufacturer": { + "$id": "5394", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "5395", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "5396", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "5397", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "5398", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "5399", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "5400", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "5401", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "5402", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "5403", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "discoveredAssetRefs": { + "$id": "5404", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5405", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "5406", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "5407", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "5408", + "kind": "string", + "type": { + "$ref": "861" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "5409", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "5410", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5411", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5412", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5413", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5414", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "5415", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5416", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5417", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5418", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5419", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "5420", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5421", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5422", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5423", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5424", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "5425", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5426", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5427", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "5428", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "5429", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "5430", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "5431", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Oven;i=5" + }, + "typeRef": { + "$id": "5432", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "5433", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "destinations": { + "$id": "5434", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5435", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5436", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5437", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5438", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "5439", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "5440", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5441", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "5442", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "5443", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5444", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset2DataPoint1TypeRef" + } + } + }, + { + "$id": "5445", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5446", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "5447", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "5448", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5449", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint2TypeRef" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "5450", + "kind": "array", + "type": { + "$ref": "954" + }, + "value": [ + { + "$id": "5451", + "kind": "model", + "type": { + "$ref": "955" + }, + "value": { + "name": { + "$id": "5452", + "kind": "string", + "type": { + "$ref": "957" + }, + "value": "default" + }, + "events": { + "$id": "5453", + "kind": "array", + "type": { + "$ref": "966" + }, + "value": [ + { + "$id": "5454", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5455", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event1" + }, + "dataSource": { + "$id": "5456", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "5457", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5458", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5459", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "5460", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5461", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5462", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "5463", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "5464", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5465", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5466", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "5467", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "5468", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event2" + }, + "dataSource": { + "$id": "5469", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt8" + }, + "eventConfiguration": { + "$id": "5470", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "destinations": { + "$id": "5471", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5472", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5473", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5474", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5475", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "5476", + "kind": "string", + "type": { + "$ref": "976" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5477", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5478", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5479", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "5480", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5481", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "5482", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5483", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "5484", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5485", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5486", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "5487", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5488", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "5489", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5490", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "5491", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5492", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5493", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5494", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5495", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "5496", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5497", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5498", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "5499", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "5500", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "5501", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "5502", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "5503", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "5504", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "5505", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "5506", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "5507", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5508", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "5509", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5510", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "5511", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "5512", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "5513", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5514", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "5515", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5516", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "5517", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5518", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "5519", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "5520", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "5521", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5522", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + }, + "status": { + "$id": "5523", + "kind": "model", + "type": { + "$ref": "1019" + }, + "value": { + "config": { + "$id": "5524", + "kind": "model", + "type": { + "$ref": "1021" + }, + "value": { + "version": { + "$id": "5525", + "kind": "number", + "type": { + "$ref": "1023" + }, + "value": 9 + }, + "lastTransitionTime": { + "$id": "5526", + "kind": "string", + "type": { + "$ref": "1025" + }, + "value": "2025-03-11T02:19:16.489Z" + }, + "error": { + "$id": "5527", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5528", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5529", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "u" + }, + "details": { + "$id": "5530", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5531", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5532", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5533", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5534", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5535", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + "datasets": { + "$id": "5536", + "kind": "array", + "type": { + "$ref": "1035" + }, + "value": [ + { + "$id": "5537", + "kind": "model", + "type": { + "$ref": "1036" + }, + "value": { + "name": { + "$id": "5538", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "dataset1" + }, + "messageSchemaReference": { + "$id": "5539", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5540", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5541", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5542", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5543", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5544", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5545", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5546", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5547", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5548", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5549", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5550", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5551", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "eventGroups": { + "$id": "5552", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "5553", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "name": { + "$id": "5554", + "kind": "string", + "type": { + "$ref": "1052" + }, + "value": "default" + }, + "events": { + "$id": "5555", + "kind": "array", + "type": { + "$ref": "1054" + }, + "value": [ + { + "$id": "5556", + "kind": "model", + "type": { + "$ref": "1055" + }, + "value": { + "name": { + "$id": "5557", + "kind": "string", + "type": { + "$ref": "1057" + }, + "value": "event1" + }, + "messageSchemaReference": { + "$id": "5558", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5559", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5560", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5561", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5562", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5563", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5564", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5565", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5566", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5567", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5568", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5569", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5570", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5571", + "kind": "array", + "type": { + "$ref": "1061" + }, + "value": [ + { + "$id": "5572", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "name": { + "$id": "5573", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "stream1" + }, + "messageSchemaReference": { + "$id": "5574", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5575", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5576", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5577", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5578", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5579", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5580", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5581", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5582", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5583", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5584", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5585", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5586", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "managementGroups": { + "$id": "5587", + "kind": "array", + "type": { + "$ref": "1068" + }, + "value": [ + { + "$id": "5588", + "kind": "model", + "type": { + "$ref": "1069" + }, + "value": { + "name": { + "$id": "5589", + "kind": "string", + "type": { + "$ref": "1071" + }, + "value": "managementGroup1" + }, + "actions": { + "$id": "5590", + "kind": "array", + "type": { + "$ref": "1073" + }, + "value": [ + { + "$id": "5591", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5592", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action1" + }, + "requestMessageSchemaReference": { + "$id": "5593", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5594", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5595", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5596", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5597", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5598", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5599", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5600", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5601", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5602", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5603", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5604", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5605", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5606", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5607", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5608", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5609", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + { + "$id": "5610", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5611", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action2" + }, + "requestMessageSchemaReference": { + "$id": "5612", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5613", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5614", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5615", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5616", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5617", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5618", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5619", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5620", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5621", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5622", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5623", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5624", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5625", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5626", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5627", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5628", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5629", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "5630", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5632", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5633", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5634", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "5635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5636", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "808" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5637", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "231" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5638", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "233" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "808" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + } + } + } + }, + { + "$id": "5639", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a NamespaceAsset", + "operation": { + "$id": "5640", + "name": "update", + "resourceName": "NamespaceAsset", + "doc": "Update a NamespaceAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "5641", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5642", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "5643", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.apiVersion", + "readOnly": false + }, + { + "$id": "5644", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5645", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.subscriptionId" + }, + { + "$id": "5647", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.resourceGroupName" + }, + { + "$id": "5649", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5650", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.namespaceName" + }, + { + "$id": "5651", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "5652", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.assetName" + }, + { + "$id": "5653", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "235" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.contentType" + }, + { + "$id": "5654", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "237" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.accept" + }, + { + "$id": "5655", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1084" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "5656", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "5657", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "5658", + "kind": "http", + "name": "Update_NamespaceAssets", + "description": "Update_NamespaceAssets", + "filePath": "2025-11-01-preview/Update_NamespaceAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "5641" + }, + "value": { + "$id": "5659", + "kind": "string", + "type": { + "$ref": "5642" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "5644" + }, + "value": { + "$id": "5660", + "kind": "string", + "type": { + "$ref": "5645" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "5647" + }, + "value": { + "$id": "5661", + "kind": "string", + "type": { + "$ref": "5648" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "5649" + }, + "value": { + "$id": "5662", + "kind": "string", + "type": { + "$ref": "5650" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "5651" + }, + "value": { + "$id": "5663", + "kind": "string", + "type": { + "$ref": "5652" + }, + "value": "my-asset-1" + } + }, + { + "parameter": { + "$ref": "5655" + }, + "value": { + "$id": "5664", + "kind": "model", + "type": { + "$ref": "1084" + }, + "value": { + "properties": { + "$id": "5665", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "enabled": { + "$id": "5666", + "kind": "boolean", + "type": { + "$ref": "1089" + }, + "value": true + }, + "displayName": { + "$id": "5667", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "AssetDisplayNameUpdate" + }, + "description": { + "$id": "5668", + "kind": "string", + "type": { + "$ref": "1093" + }, + "value": "This is a sample updated Asset" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "5669", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "id": { + "$id": "5670", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/assets/my-asset-1" + }, + "name": { + "$id": "5671", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "my-asset-1" + }, + "type": { + "$id": "5672", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets" + }, + "location": { + "$id": "5673", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "5674", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "5675", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "5676", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "5677", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "5678", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "5679", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "5680", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "5681", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "5682", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "5683", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "5684", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "5685", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "5686", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "uuid": { + "$id": "5687", + "kind": "string", + "type": { + "$ref": "817" + }, + "value": "1824a74f-21e1-4458-ae07-604d3a241d2e" + }, + "deviceRef": { + "$id": "5688", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "5689", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "device1" + }, + "endpointName": { + "$id": "5690", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "8ZBA6LRHU0A458969" + } + } + }, + "assetTypeRefs": { + "$id": "5691", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5692", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "5693", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "enabled": { + "$id": "5694", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "5695", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "5696", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayNameUpdate" + }, + "description": { + "$id": "5697", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample updated Asset" + }, + "version": { + "$id": "5698", + "kind": "number", + "type": { + "$ref": "834" + }, + "value": 12 + }, + "lastTransitionTime": { + "$id": "5699", + "kind": "string", + "type": { + "$ref": "836" + }, + "value": "2025-03-11T20:14:21.949Z" + }, + "manufacturer": { + "$id": "5700", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "5701", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "5702", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "5703", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "5704", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "5705", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "5706", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "5707", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "5708", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "5709", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "discoveredAssetRefs": { + "$id": "5710", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5711", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "discoveredAsset1" + } + ] + }, + "defaultDatasetsConfiguration": { + "$id": "5712", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "5713", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "5714", + "kind": "string", + "type": { + "$ref": "861" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "5715", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "5716", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5717", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5718", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5719", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5720", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "5721", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "5722", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "5723", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5724", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5725", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "5726", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5727", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5728", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5729", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5730", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "5731", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5732", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5733", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "5734", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "5735", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "5736", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "5737", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Oven;i=5" + }, + "typeRef": { + "$id": "5738", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "5739", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "destinations": { + "$id": "5740", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "5741", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "5742", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "5743", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "5744", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "5745", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "5746", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5747", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "5748", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "5749", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5750", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint1TypeRef" + } + } + }, + { + "$id": "5751", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5752", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "5753", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "5754", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5755", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint2TypeRef" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "5756", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5757", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5758", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "5759", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5760", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "5761", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5762", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "5763", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "5764", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "5765", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "5766", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "5767", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "5768", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5769", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "5770", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "5771", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "5772", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "5773", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "5774", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "5775", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "5776", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "5777", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "5778", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "5779", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "5780", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "5781", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "5782", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "5783", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "5784", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "5785", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "5786", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5787", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "5788", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5789", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "5790", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "5791", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "5792", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5793", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "5794", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "5795", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "5796", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "5797", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "5798", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "5799", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "5800", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "5801", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + }, + "status": { + "$id": "5802", + "kind": "model", + "type": { + "$ref": "1019" + }, + "value": { + "config": { + "$id": "5803", + "kind": "model", + "type": { + "$ref": "1021" + }, + "value": { + "version": { + "$id": "5804", + "kind": "number", + "type": { + "$ref": "1023" + }, + "value": 9 + }, + "lastTransitionTime": { + "$id": "5805", + "kind": "string", + "type": { + "$ref": "1025" + }, + "value": "2025-03-11T02:19:16.489Z" + }, + "error": { + "$id": "5806", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5807", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5808", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "u" + }, + "details": { + "$id": "5809", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5810", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5811", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5812", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5813", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5814", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + "datasets": { + "$id": "5815", + "kind": "array", + "type": { + "$ref": "1035" + }, + "value": [ + { + "$id": "5816", + "kind": "model", + "type": { + "$ref": "1036" + }, + "value": { + "name": { + "$id": "5817", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "dataset1" + }, + "messageSchemaReference": { + "$id": "5818", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5819", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5820", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5821", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5822", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5823", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5824", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5825", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5826", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5827", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5828", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5829", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5830", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "streams": { + "$id": "5831", + "kind": "array", + "type": { + "$ref": "1061" + }, + "value": [ + { + "$id": "5832", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "name": { + "$id": "5833", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "stream1" + }, + "messageSchemaReference": { + "$id": "5834", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5835", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5836", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5837", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5838", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5839", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5840", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5841", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5842", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5843", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5844", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5845", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5846", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + }, + "managementGroups": { + "$id": "5847", + "kind": "array", + "type": { + "$ref": "1068" + }, + "value": [ + { + "$id": "5848", + "kind": "model", + "type": { + "$ref": "1069" + }, + "value": { + "name": { + "$id": "5849", + "kind": "string", + "type": { + "$ref": "1071" + }, + "value": "managementGroup1" + }, + "actions": { + "$id": "5850", + "kind": "array", + "type": { + "$ref": "1073" + }, + "value": [ + { + "$id": "5851", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5852", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action1" + }, + "requestMessageSchemaReference": { + "$id": "5853", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5854", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5855", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5856", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5857", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5858", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5859", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5860", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5861", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5862", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5863", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5864", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5865", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5866", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5867", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5868", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5869", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + }, + { + "$id": "5870", + "kind": "model", + "type": { + "$ref": "1074" + }, + "value": { + "name": { + "$id": "5871", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "action2" + }, + "requestMessageSchemaReference": { + "$id": "5872", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5873", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5874", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5875", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "responseMessageSchemaReference": { + "$id": "5876", + "kind": "model", + "type": { + "$ref": "1040" + }, + "value": { + "schemaRegistryNamespace": { + "$id": "5877", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "liagdwhnvlhcptvmufws" + }, + "schemaName": { + "$id": "5878", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "lytgdlsvivtcrtuvje" + }, + "schemaVersion": { + "$id": "5879", + "kind": "string", + "type": { + "$ref": "1046" + }, + "value": "1" + } + } + }, + "error": { + "$id": "5880", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "5881", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "400" + }, + "message": { + "$id": "5882", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "Error" + }, + "details": { + "$id": "5883", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "5884", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "5885", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "400.123.456.789" + }, + "message": { + "$id": "5886", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "Validation error" + }, + "info": { + "$id": "5887", + "kind": "string", + "type": { + "$ref": "747" + }, + "value": "Property is not valid." + }, + "correlationId": { + "$id": "5888", + "kind": "string", + "type": { + "$ref": "749" + }, + "value": "xqoettlcdlxchoscv" + } + } + } + ] + } + } + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5889", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "5656" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "5657" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "5890", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5891", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5892", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5893", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5894", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "5895", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5896", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1084" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5897", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "239" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5898", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "241" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "808" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "808" + } + } + } + }, + { + "$id": "5899", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a NamespaceAsset", + "operation": { + "$id": "5900", + "name": "delete", + "resourceName": "NamespaceAsset", + "doc": "Delete a NamespaceAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "5901", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5902", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "5903", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.apiVersion", + "readOnly": false + }, + { + "$id": "5904", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5905", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5906", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.subscriptionId" + }, + { + "$id": "5907", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5908", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.resourceGroupName" + }, + { + "$id": "5909", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5910", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.namespaceName" + }, + { + "$id": "5911", + "kind": "path", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "5912", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.assetName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "5913", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "5914", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "5915", + "kind": "http", + "name": "Delete_NamespaceAsset", + "description": "Delete_NamespaceAsset", + "filePath": "2025-11-01-preview/Delete_NamespaceAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "5901" + }, + "value": { + "$id": "5916", + "kind": "string", + "type": { + "$ref": "5902" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "5904" + }, + "value": { + "$id": "5917", + "kind": "string", + "type": { + "$ref": "5905" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "5907" + }, + "value": { + "$id": "5918", + "kind": "string", + "type": { + "$ref": "5908" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "5909" + }, + "value": { + "$id": "5919", + "kind": "string", + "type": { + "$ref": "5910" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "5911" + }, + "value": { + "$id": "5920", + "kind": "string", + "type": { + "$ref": "5912" + }, + "value": "adr-asset-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "5913" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "5914" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "5921", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5922", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5923", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5924", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "5925", + "kind": "method", + "name": "assetName", + "serializedName": "assetName", + "doc": "The name of the asset.", + "type": { + "$id": "5926", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete.assetName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "5927", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List NamespaceAsset resources by Namespace", + "operation": { + "$id": "5928", + "name": "listByResourceGroup", + "resourceName": "NamespaceAsset", + "doc": "List NamespaceAsset resources by Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "5929", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5930", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "5931", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "5932", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5933", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5934", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.subscriptionId" + }, + { + "$id": "5935", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5936", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.resourceGroupName" + }, + { + "$id": "5937", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "5938", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.namespaceName" + }, + { + "$id": "5939", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "243" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1127" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "5940", + "kind": "http", + "name": "List_NamespaceAssets_ByResourceGroup", + "description": "List_NamespaceAssets_ByResourceGroup", + "filePath": "2025-11-01-preview/List_NamespaceAssets_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "5929" + }, + "value": { + "$id": "5941", + "kind": "string", + "type": { + "$ref": "5930" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "5932" + }, + "value": { + "$id": "5942", + "kind": "string", + "type": { + "$ref": "5933" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "5935" + }, + "value": { + "$id": "5943", + "kind": "string", + "type": { + "$ref": "5936" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "5937" + }, + "value": { + "$id": "5944", + "kind": "string", + "type": { + "$ref": "5938" + }, + "value": "adr-namespace-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1127" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "5945", + "kind": "model", + "type": { + "$ref": "1127" + }, + "value": { + "value": { + "$id": "5946", + "kind": "array", + "type": { + "$ref": "1129" + }, + "value": [ + { + "$id": "5947", + "kind": "model", + "type": { + "$ref": "808" + }, + "value": { + "id": { + "$id": "5948", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/assets/my-asset" + }, + "name": { + "$id": "5949", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "my-asset" + }, + "type": { + "$id": "5950", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/assets" + }, + "location": { + "$id": "5951", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "5952", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "5953", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "5954", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "5955", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "5956", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "5957", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "5958", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "5959", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "5960", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "5961", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "5962", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "5963", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "5964", + "kind": "model", + "type": { + "$ref": "815" + }, + "value": { + "uuid": { + "$id": "5965", + "kind": "string", + "type": { + "$ref": "817" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "enabled": { + "$id": "5966", + "kind": "boolean", + "type": { + "$ref": "819" + }, + "value": true + }, + "externalAssetId": { + "$id": "5967", + "kind": "string", + "type": { + "$ref": "821" + }, + "value": "8ZBA6LRHU0A458969" + }, + "displayName": { + "$id": "5968", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "AssetDisplayName" + }, + "description": { + "$id": "5969", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "This is a sample Asset" + }, + "deviceRef": { + "$id": "5970", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "5971", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "5972", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "5973", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "5974", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "5975", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "version": { + "$id": "5976", + "kind": "number", + "type": { + "$ref": "834" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "5977", + "kind": "string", + "type": { + "$ref": "839" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "5978", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "5979", + "kind": "string", + "type": { + "$ref": "843" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "5980", + "kind": "string", + "type": { + "$ref": "845" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "5981", + "kind": "string", + "type": { + "$ref": "847" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "5982", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "5983", + "kind": "string", + "type": { + "$ref": "851" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "5984", + "kind": "string", + "type": { + "$ref": "853" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "5985", + "kind": "string", + "type": { + "$ref": "857" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "5986", + "kind": "string", + "type": { + "$ref": "859" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "5987", + "kind": "string", + "type": { + "$ref": "863" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "datasets": { + "$id": "5988", + "kind": "array", + "type": { + "$ref": "931" + }, + "value": [ + { + "$id": "5989", + "kind": "model", + "type": { + "$ref": "932" + }, + "value": { + "name": { + "$id": "5990", + "kind": "string", + "type": { + "$ref": "934" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "5991", + "kind": "string", + "type": { + "$ref": "936" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "5992", + "kind": "string", + "type": { + "$ref": "938" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "5993", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "dataPoints": { + "$id": "5994", + "kind": "array", + "type": { + "$ref": "943" + }, + "value": [ + { + "$id": "5995", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "5996", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "5997", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "dataPointConfiguration": { + "$id": "5998", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "5999", + "kind": "string", + "type": { + "$ref": "952" + }, + "value": "dataset1DataPoint1TypeRef" + } + } + }, + { + "$id": "6000", + "kind": "model", + "type": { + "$ref": "944" + }, + "value": { + "name": { + "$id": "6001", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "6002", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "dataPointConfiguration": { + "$id": "6003", + "kind": "string", + "type": { + "$ref": "950" + }, + "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "6004", + "kind": "array", + "type": { + "$ref": "954" + }, + "value": [ + { + "$id": "6005", + "kind": "model", + "type": { + "$ref": "955" + }, + "value": { + "name": { + "$id": "6006", + "kind": "string", + "type": { + "$ref": "957" + }, + "value": "default" + }, + "events": { + "$id": "6007", + "kind": "array", + "type": { + "$ref": "966" + }, + "value": [ + { + "$id": "6008", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "6009", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event1" + }, + "dataSource": { + "$id": "6010", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "6011", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + } + } + }, + { + "$id": "6012", + "kind": "model", + "type": { + "$ref": "967" + }, + "value": { + "name": { + "$id": "6013", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "event2" + }, + "dataSource": { + "$id": "6014", + "kind": "string", + "type": { + "$ref": "971" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "eventConfiguration": { + "$id": "6015", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "6016", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "6017", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "6018", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "6019", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "6020", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "6021", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "6022", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "6023", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "6024", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "6025", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "6026", + "kind": "model", + "type": { + "$ref": "979" + }, + "value": { + "name": { + "$id": "6027", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "6028", + "kind": "string", + "type": { + "$ref": "983" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "6029", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "6030", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "6031", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "6032", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "6033", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "6034", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "6035", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "6036", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "6037", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "6038", + "kind": "array", + "type": { + "$ref": "988" + }, + "value": [ + { + "$id": "6039", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "name": { + "$id": "6040", + "kind": "string", + "type": { + "$ref": "991" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "6041", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "6042", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "6043", + "kind": "string", + "type": { + "$ref": "999" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "6044", + "kind": "number", + "type": { + "$ref": "1001" + }, + "value": 100 + }, + "actions": { + "$id": "6045", + "kind": "array", + "type": { + "$ref": "1003" + }, + "value": [ + { + "$id": "6046", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "6047", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "6048", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "6049", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "6050", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "6051", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "6052", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "6053", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + }, + { + "$id": "6054", + "kind": "model", + "type": { + "$ref": "1004" + }, + "value": { + "name": { + "$id": "6055", + "kind": "string", + "type": { + "$ref": "1006" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "6056", + "kind": "string", + "type": { + "$ref": "1008" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "6057", + "kind": "string", + "type": { + "$ref": "1010" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "6058", + "kind": "string", + "type": { + "$ref": "1014" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "6059", + "kind": "string", + "type": { + "$ref": "1012" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "6060", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "6061", + "kind": "number", + "type": { + "$ref": "1017" + }, + "value": 60 + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "6062", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6063", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6064", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6065", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6066", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6067", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "243" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1129" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "6068", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "6069", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "6070", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "6071", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6072", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "6073", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6074", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6075", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6076", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceAssets", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "6077", + "kind": "client", + "name": "NamespaceDevices", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "6078", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a NamespaceDevice", + "operation": { + "$id": "6079", + "name": "get", + "resourceName": "NamespaceDevice", + "doc": "Get a NamespaceDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "6080", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.apiVersion", + "readOnly": false + }, + { + "$id": "6083", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6084", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6085", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.subscriptionId" + }, + { + "$id": "6086", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6087", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.resourceGroupName" + }, + { + "$id": "6088", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6089", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.namespaceName" + }, + { + "$id": "6090", + "kind": "path", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6091", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.deviceName" + }, + { + "$id": "6092", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "245" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6093", + "kind": "http", + "name": "Get_NamespaceDevice", + "description": "Get_NamespaceDevice", + "filePath": "2025-11-01-preview/Get_NamespaceDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "6080" + }, + "value": { + "$id": "6094", + "kind": "string", + "type": { + "$ref": "6081" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6083" + }, + "value": { + "$id": "6095", + "kind": "string", + "type": { + "$ref": "6084" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6086" + }, + "value": { + "$id": "6096", + "kind": "string", + "type": { + "$ref": "6087" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6088" + }, + "value": { + "$id": "6097", + "kind": "string", + "type": { + "$ref": "6089" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "6090" + }, + "value": { + "$id": "6098", + "kind": "string", + "type": { + "$ref": "6091" + }, + "value": "my-device-name" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6099", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6100", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/devices/adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "name": { + "$id": "6101", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "type": { + "$id": "6102", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/devices" + }, + "location": { + "$id": "6103", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "etag": { + "$id": "6104", + "kind": "string", + "type": { + "$ref": "1223" + }, + "value": "\"c80325f9-0000-0800-0000-66fcb0290000\"" + }, + "tags": { + "$id": "6105", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6106", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6107", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6108", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6109", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6110", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T02:30:01.6394987Z" + }, + "lastModifiedBy": { + "$id": "6111", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6112", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6113", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T02:30:01.6394987Z" + } + } + }, + "properties": { + "$id": "6114", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "externalDeviceId": { + "$id": "6115", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "enabled": { + "$id": "6116", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6117", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6118", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6119", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6120", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6121", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "6122", + "kind": "http", + "name": "Get NamespaceDevice with Endpoint Error Status", + "description": "Get NamespaceDevice with Endpoint Error Status", + "filePath": "2025-11-01-preview/Get_NamespaceDeviceWithEndpointErrorStatus.json", + "parameters": [ + { + "parameter": { + "$ref": "6080" + }, + "value": { + "$id": "6123", + "kind": "string", + "type": { + "$ref": "6081" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6083" + }, + "value": { + "$id": "6124", + "kind": "string", + "type": { + "$ref": "6084" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6086" + }, + "value": { + "$id": "6125", + "kind": "string", + "type": { + "$ref": "6087" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6088" + }, + "value": { + "$id": "6126", + "kind": "string", + "type": { + "$ref": "6089" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "6090" + }, + "value": { + "$id": "6127", + "kind": "string", + "type": { + "$ref": "6091" + }, + "value": "my-device-name" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6128", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6129", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/devices/adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "name": { + "$id": "6130", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "type": { + "$id": "6131", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/devices" + }, + "location": { + "$id": "6132", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "extendedLocation": { + "$id": "6133", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6134", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6135", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "etag": { + "$id": "6136", + "kind": "string", + "type": { + "$ref": "1223" + }, + "value": "\"c80325f9-0000-0800-0000-66fcb0290000\"" + }, + "tags": { + "$id": "6137", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6138", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6139", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6140", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6141", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6142", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T02:30:01.6394987Z" + }, + "lastModifiedBy": { + "$id": "6143", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6144", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6145", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T02:30:01.6394987Z" + } + } + }, + "properties": { + "$id": "6146", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6147", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6148", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "myOPCUABroker": { + "$id": "6149", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6150", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://foo" + }, + "endpointType": { + "$id": "6151", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6152", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6153", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6154", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6155", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6156", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "certificateSecretName" + }, + "keySecretName": { + "$id": "6157", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "keySecretName" + } + } + } + } + } + } + } + } + } + } + }, + "version": { + "$id": "6158", + "kind": "number", + "type": { + "$ref": "1210" + }, + "value": 1 + }, + "status": { + "$id": "6159", + "kind": "model", + "type": { + "$ref": "1200" + }, + "value": { + "config": { + "$id": "6160", + "kind": "model", + "type": { + "$ref": "1021" + }, + "value": { + "version": { + "$id": "6161", + "kind": "number", + "type": { + "$ref": "1023" + }, + "value": 2 + }, + "lastTransitionTime": { + "$id": "6162", + "kind": "string", + "type": { + "$ref": "1025" + }, + "value": "2024-10-02T02:30:01.6394987Z" + } + } + }, + "endpoints": { + "$id": "6163", + "kind": "model", + "type": { + "$ref": "1203" + }, + "value": { + "inbound": { + "$id": "6164", + "kind": "dict", + "type": { + "$ref": "1205" + }, + "value": { + "myOPCUABroker": { + "$id": "6165", + "kind": "model", + "type": { + "$ref": "1207" + }, + "value": { + "error": { + "$id": "6166", + "kind": "model", + "type": { + "$ref": "1028" + }, + "value": { + "code": { + "$id": "6167", + "kind": "string", + "type": { + "$ref": "1030" + }, + "value": "InvalidCertificate" + }, + "message": { + "$id": "6168", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "The client certificate is invalid." + }, + "details": { + "$id": "6169", + "kind": "array", + "type": { + "$ref": "740" + }, + "value": [ + { + "$id": "6170", + "kind": "model", + "type": { + "$ref": "741" + }, + "value": { + "code": { + "$id": "6171", + "kind": "string", + "type": { + "$ref": "743" + }, + "value": "InvalidCertificate" + }, + "message": { + "$id": "6172", + "kind": "string", + "type": { + "$ref": "745" + }, + "value": "The certificate is invalid." + } + } + } + ] + } + } + } + } + } + } + } + } + } + } + }, + "provisioningState": { + "$id": "6173", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6174", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6176", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6178", + "kind": "method", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.deviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6180", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "245" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1133" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get" + }, + { + "$id": "6181", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a NamespaceDevice", + "operation": { + "$id": "6182", + "name": "createOrReplace", + "resourceName": "NamespaceDevice", + "doc": "Create a NamespaceDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "6183", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "6186", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6187", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.subscriptionId" + }, + { + "$id": "6189", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.resourceGroupName" + }, + { + "$id": "6191", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6192", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.namespaceName" + }, + { + "$id": "6193", + "kind": "path", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6194", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.deviceName" + }, + { + "$id": "6195", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "247" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.contentType" + }, + { + "$id": "6196", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "249" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.accept" + }, + { + "$id": "6197", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1133" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "6198", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "6199", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6200", + "kind": "http", + "name": "CreateOrReplace_NamespaceDevices", + "description": "CreateOrReplace_NamespaceDevices", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "6183" + }, + "value": { + "$id": "6201", + "kind": "string", + "type": { + "$ref": "6184" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6186" + }, + "value": { + "$id": "6202", + "kind": "string", + "type": { + "$ref": "6187" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6189" + }, + "value": { + "$id": "6203", + "kind": "string", + "type": { + "$ref": "6190" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6191" + }, + "value": { + "$id": "6204", + "kind": "string", + "type": { + "$ref": "6192" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6193" + }, + "value": { + "$id": "6205", + "kind": "string", + "type": { + "$ref": "6194" + }, + "value": "dev-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6197" + }, + "value": { + "$id": "6206", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "location": { + "$id": "6207", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "properties": { + "$id": "6208", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6209", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6210", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6211", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6212", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6213", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6214", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6215", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "enabled": { + "$id": "6216", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6217", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6218", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6219", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6220", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6221", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6222", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6223", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "type": { + "$id": "6224", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6225", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "tags": { + "$id": "6226", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6227", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6228", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6229", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6230", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6231", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6232", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6233", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6234", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6235", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6236", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6237", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6238", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6239", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6240", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6241", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6242", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "enabled": { + "$id": "6243", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6244", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6245", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6246", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6247", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6248", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "6198" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6199" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "6249", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6250", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6251", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "type": { + "$id": "6252", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6253", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "tags": { + "$id": "6254", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6255", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6256", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6257", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6258", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6259", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6260", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6261", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6262", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6263", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6264", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6265", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6266", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6267", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6268", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6269", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6270", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "enabled": { + "$id": "6271", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6272", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6273", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6274", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6275", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6276", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "6277", + "kind": "http", + "name": "Create edge enabled device with anonymous host authentication.", + "description": "Create edge enabled device with anonymous host authentication.", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_Anonymous.json", + "parameters": [ + { + "parameter": { + "$ref": "6183" + }, + "value": { + "$id": "6278", + "kind": "string", + "type": { + "$ref": "6184" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6186" + }, + "value": { + "$id": "6279", + "kind": "string", + "type": { + "$ref": "6187" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6189" + }, + "value": { + "$id": "6280", + "kind": "string", + "type": { + "$ref": "6190" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6191" + }, + "value": { + "$id": "6281", + "kind": "string", + "type": { + "$ref": "6192" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6193" + }, + "value": { + "$id": "6282", + "kind": "string", + "type": { + "$ref": "6194" + }, + "value": "namespace-device-on-edge" + } + }, + { + "parameter": { + "$ref": "6197" + }, + "value": { + "$id": "6283", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "extendedLocation": { + "$id": "6284", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6285", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6286", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "location": { + "$id": "6287", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "properties": { + "$id": "6288", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6289", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6290", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theOnlyOPCUABroker": { + "$id": "6291", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6292", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6293", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6294", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6295", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6296", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6297", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6298", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6299", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6300", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "dough-maker" + }, + "deviceOwner": { + "$id": "6301", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + }, + "deviceCategory": { + "$id": "6302", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6303", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6304", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6305", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6306", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6307", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6308", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6309", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6310", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6311", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6312", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6313", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6314", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6315", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6316", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6317", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6318", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6319", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6320", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "myonlyOPCUABroker": { + "$id": "6321", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6322", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6323", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6324", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6325", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6326", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6327", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6328", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6329", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6330", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "dough-maker" + }, + "deviceOwner": { + "$id": "6331", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + } + } + }, + "provisioningState": { + "$id": "6332", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "6198" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6199" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "6333", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6334", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6335", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6336", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6337", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6338", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6339", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6340", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6341", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6342", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6343", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6344", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6345", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6346", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6347", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6348", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6349", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6350", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "myonlyOPCUABroker": { + "$id": "6351", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6352", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6353", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6354", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6355", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6356", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Anonymous" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6357", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6358", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6359", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6360", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "dough-maker" + }, + "deviceOwner": { + "$id": "6361", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + } + } + }, + "provisioningState": { + "$id": "6362", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "6363", + "kind": "http", + "name": "Create edge enabled device with UsernamesPassword inbound authentication.", + "description": "Create edge enabled device with UsernamesPassword inbound authentication.", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_UsernamePass.json", + "parameters": [ + { + "parameter": { + "$ref": "6183" + }, + "value": { + "$id": "6364", + "kind": "string", + "type": { + "$ref": "6184" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6186" + }, + "value": { + "$id": "6365", + "kind": "string", + "type": { + "$ref": "6187" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6189" + }, + "value": { + "$id": "6366", + "kind": "string", + "type": { + "$ref": "6190" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6191" + }, + "value": { + "$id": "6367", + "kind": "string", + "type": { + "$ref": "6192" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6193" + }, + "value": { + "$id": "6368", + "kind": "string", + "type": { + "$ref": "6194" + }, + "value": "namespace-device-on-edge" + } + }, + { + "parameter": { + "$ref": "6197" + }, + "value": { + "$id": "6369", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "extendedLocation": { + "$id": "6370", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6371", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6372", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "location": { + "$id": "6373", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "properties": { + "$id": "6374", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6375", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6376", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theOnlyOPCUABroker": { + "$id": "6377", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6378", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6379", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6380", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6381", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6382", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "6383", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "6384", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "user-ref" + }, + "passwordSecretName": { + "$id": "6385", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "pwd-ref" + } + } + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6386", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6387", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6388", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6389", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6390", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6391", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6392", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6393", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6394", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6395", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6396", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6397", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6398", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6399", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6400", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6401", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6402", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6403", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6404", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6405", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6406", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6407", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6408", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6409", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theOnlyOPCUABroker": { + "$id": "6410", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6411", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6412", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6413", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6414", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6415", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "6416", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "6417", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "user-ref" + }, + "passwordSecretName": { + "$id": "6418", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "pwd-ref" + } + } + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6419", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6420", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6421", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6422", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "dough-maker" + }, + "deviceOwner": { + "$id": "6423", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + } + } + }, + "provisioningState": { + "$id": "6424", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "6198" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6199" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "6425", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6426", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6427", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6428", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6429", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6430", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6431", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6432", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6433", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6434", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6435", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6436", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6437", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6438", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6439", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6440", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6441", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6442", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theOnlyOPCUABroker": { + "$id": "6443", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6444", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6445", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6446", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6447", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6448", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "UsernamePassword" + }, + "usernamePasswordCredentials": { + "$id": "6449", + "kind": "model", + "type": { + "$ref": "614" + }, + "value": { + "usernameSecretName": { + "$id": "6450", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "user-ref" + }, + "passwordSecretName": { + "$id": "6451", + "kind": "string", + "type": { + "$ref": "618" + }, + "value": "pwd-ref" + } + } + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6452", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6453", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6454", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6455", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "dough-maker" + }, + "deviceOwner": { + "$id": "6456", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + } + } + }, + "provisioningState": { + "$id": "6457", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "6458", + "kind": "http", + "name": "Create edge enabled device with x509 inbound authentication.", + "description": "Create edge enabled device with x509 inbound authentication.", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_x509.json", + "parameters": [ + { + "parameter": { + "$ref": "6183" + }, + "value": { + "$id": "6459", + "kind": "string", + "type": { + "$ref": "6184" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6186" + }, + "value": { + "$id": "6460", + "kind": "string", + "type": { + "$ref": "6187" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6189" + }, + "value": { + "$id": "6461", + "kind": "string", + "type": { + "$ref": "6190" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6191" + }, + "value": { + "$id": "6462", + "kind": "string", + "type": { + "$ref": "6192" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6193" + }, + "value": { + "$id": "6463", + "kind": "string", + "type": { + "$ref": "6194" + }, + "value": "namespace-device-on-edge" + } + }, + { + "parameter": { + "$ref": "6197" + }, + "value": { + "$id": "6464", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "extendedLocation": { + "$id": "6465", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6466", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6467", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "location": { + "$id": "6468", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "properties": { + "$id": "6469", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6470", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6471", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theV1OPCUAEndpoint": { + "$id": "6472", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6473", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6474", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6475", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6476", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6477", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6478", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6479", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + }, + "keySecretName": { + "$id": "6480", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "key-secret" + }, + "intermediateCertificatesSecretName": { + "$id": "6481", + "kind": "string", + "type": { + "$ref": "1180" + }, + "value": "intermediate-certs-secret" + } + } + } + } + } + } + }, + "theV2OPCUAEndpoint": { + "$id": "6482", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6483", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6484", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6485", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6486", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6487", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6488", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6489", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + } + } + } + } + }, + "trustSettings": { + "$id": "6490", + "kind": "model", + "type": { + "$ref": "1182" + }, + "value": { + "trustList": { + "$id": "6491", + "kind": "string", + "type": { + "$ref": "1184" + }, + "value": "trust-secret-reference" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6492", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6493", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6494", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6495", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OPCUAServers" + }, + "deviceOwner": { + "$id": "6496", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + }, + "deviceCategory": { + "$id": "6497", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6498", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6499", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6500", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6501", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6502", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6503", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6504", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6505", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6506", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6507", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6508", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6509", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6510", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6511", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6512", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6513", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6514", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6515", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theV1OPCUAEndpoint": { + "$id": "6516", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6517", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6518", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6519", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6520", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6521", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6522", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6523", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + }, + "keySecretName": { + "$id": "6524", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "key-secret" + }, + "intermediateCertificatesSecretName": { + "$id": "6525", + "kind": "string", + "type": { + "$ref": "1180" + }, + "value": "intermediate-certs-secret" + } + } + } + } + } + } + }, + "theV2OPCUAEndpoint": { + "$id": "6526", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6527", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6528", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6529", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6530", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6531", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6532", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6533", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + } + } + } + } + }, + "trustSettings": { + "$id": "6534", + "kind": "model", + "type": { + "$ref": "1182" + }, + "value": { + "trustList": { + "$id": "6535", + "kind": "string", + "type": { + "$ref": "1184" + }, + "value": "trust-secret-reference" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6536", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6537", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6538", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6539", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OPCUAServers" + }, + "deviceOwner": { + "$id": "6540", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + } + } + }, + "provisioningState": { + "$id": "6541", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "6198" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6199" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "6542", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6543", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/private.deviceregistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6544", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "namespace-device-on-edge" + }, + "type": { + "$id": "6545", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "private.deviceregistry/namespaces/devices" + }, + "location": { + "$id": "6546", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "tags": { + "$id": "6547", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6548", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity,rotation" + } + } + }, + "systemData": { + "$id": "6549", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6550", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6551", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6552", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6553", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6554", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6555", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6556", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "uuid": { + "$id": "6557", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "3575e690-31d7-4168-a6c9-9ff1b9eed282" + }, + "endpoints": { + "$id": "6558", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "inbound": { + "$id": "6559", + "kind": "dict", + "type": { + "$ref": "1160" + }, + "value": { + "theV1OPCUAEndpoint": { + "$id": "6560", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6561", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6562", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6563", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6564", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6565", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6566", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6567", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + }, + "keySecretName": { + "$id": "6568", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "key-secret" + }, + "intermediateCertificatesSecretName": { + "$id": "6569", + "kind": "string", + "type": { + "$ref": "1180" + }, + "value": "intermediate-certs-secret" + } + } + } + } + } + } + }, + "theV2OPCUAEndpoint": { + "$id": "6570", + "kind": "model", + "type": { + "$ref": "1162" + }, + "value": { + "address": { + "$id": "6571", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "opc.tcp://192.168.86.23:51211/UA/SampleServer" + }, + "endpointType": { + "$id": "6572", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "microsoft.opcua" + }, + "version": { + "$id": "6573", + "kind": "string", + "type": { + "$ref": "1168" + }, + "value": "2" + }, + "authentication": { + "$id": "6574", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "method": { + "$id": "6575", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Certificate" + }, + "x509Credentials": { + "$id": "6576", + "kind": "model", + "type": { + "$ref": "1174" + }, + "value": { + "certificateSecretName": { + "$id": "6577", + "kind": "string", + "type": { + "$ref": "1176" + }, + "value": "cert-secret" + } + } + } + } + }, + "trustSettings": { + "$id": "6578", + "kind": "model", + "type": { + "$ref": "1182" + }, + "value": { + "trustList": { + "$id": "6579", + "kind": "string", + "type": { + "$ref": "1184" + }, + "value": "trust-secret-reference" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6580", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "unique-edge-device-identifier" + }, + "enabled": { + "$id": "6581", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6582", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6583", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OPCUAServers" + }, + "deviceOwner": { + "$id": "6584", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "OT" + } + } + }, + "provisioningState": { + "$id": "6585", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6586", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6587", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6588", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6590", + "kind": "method", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.deviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6592", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1133" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6593", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "251" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6594", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "253" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1133" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + } + } + } + }, + { + "$id": "6595", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a NamespaceDevice", + "operation": { + "$id": "6596", + "name": "update", + "resourceName": "NamespaceDevice", + "doc": "Update a NamespaceDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "6597", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6599", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.apiVersion", + "readOnly": false + }, + { + "$id": "6600", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6601", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.subscriptionId" + }, + { + "$id": "6603", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.resourceGroupName" + }, + { + "$id": "6605", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6606", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.namespaceName" + }, + { + "$id": "6607", + "kind": "path", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.deviceName" + }, + { + "$id": "6609", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "255" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.contentType" + }, + { + "$id": "6610", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "257" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.accept" + }, + { + "$id": "6611", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1225" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "6612", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "6613", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6614", + "kind": "http", + "name": "Update_NamespaceDevices", + "description": "Update_NamespaceDevices", + "filePath": "2025-11-01-preview/Update_NamespaceDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "6597" + }, + "value": { + "$id": "6615", + "kind": "string", + "type": { + "$ref": "6598" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6600" + }, + "value": { + "$id": "6616", + "kind": "string", + "type": { + "$ref": "6601" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6603" + }, + "value": { + "$id": "6617", + "kind": "string", + "type": { + "$ref": "6604" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6605" + }, + "value": { + "$id": "6618", + "kind": "string", + "type": { + "$ref": "6606" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6607" + }, + "value": { + "$id": "6619", + "kind": "string", + "type": { + "$ref": "6608" + }, + "value": "dev-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6611" + }, + "value": { + "$id": "6620", + "kind": "model", + "type": { + "$ref": "1225" + }, + "value": { + "properties": { + "$id": "6621", + "kind": "model", + "type": { + "$ref": "1228" + }, + "value": { + "endpoints": { + "$id": "6622", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6623", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6624", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6625", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6626", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6627", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "enabled": { + "$id": "6628", + "kind": "boolean", + "type": { + "$ref": "1235" + }, + "value": true + }, + "attributes": { + "$id": "6629", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6630", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6631", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6632", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6633", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6634", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/devices/adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "name": { + "$id": "6635", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "type": { + "$id": "6636", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/devices" + }, + "location": { + "$id": "6637", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "tags": { + "$id": "6638", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6639", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6640", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6641", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6642", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6643", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:15:21.8874648Z" + }, + "lastModifiedBy": { + "$id": "6644", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6645", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6646", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:15:21.8874648Z" + } + } + }, + "properties": { + "$id": "6647", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6648", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6649", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6650", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6651", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6652", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6653", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6654", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f" + }, + "enabled": { + "$id": "6655", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6656", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6657", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6658", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6659", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6660", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "6612" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6613" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6661", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6662", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6663", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6664", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6665", + "kind": "method", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6666", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.deviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6667", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1225" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6668", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "259" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6669", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "261" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1133" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1133" + } + } + } + }, + { + "$id": "6670", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a NamespaceDevice", + "operation": { + "$id": "6671", + "name": "delete", + "resourceName": "NamespaceDevice", + "doc": "Delete a NamespaceDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "6672", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6673", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6674", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.apiVersion", + "readOnly": false + }, + { + "$id": "6675", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6676", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6677", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.subscriptionId" + }, + { + "$id": "6678", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6679", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.resourceGroupName" + }, + { + "$id": "6680", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.namespaceName" + }, + { + "$id": "6682", + "kind": "path", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6683", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.deviceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "6684", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "6685", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6686", + "kind": "http", + "name": "Delete_NamespaceDevice", + "description": "Delete_NamespaceDevice", + "filePath": "2025-11-01-preview/Delete_NamespaceDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "6672" + }, + "value": { + "$id": "6687", + "kind": "string", + "type": { + "$ref": "6673" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6675" + }, + "value": { + "$id": "6688", + "kind": "string", + "type": { + "$ref": "6676" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6678" + }, + "value": { + "$id": "6689", + "kind": "string", + "type": { + "$ref": "6679" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6680" + }, + "value": { + "$id": "6690", + "kind": "string", + "type": { + "$ref": "6681" + }, + "value": "adr-namespace-gbk0925-n01" + } + }, + { + "parameter": { + "$ref": "6682" + }, + "value": { + "$id": "6691", + "kind": "string", + "type": { + "$ref": "6683" + }, + "value": "adr-device-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "6684" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6685" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6692", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6694", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6695", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6696", + "kind": "method", + "name": "deviceName", + "serializedName": "deviceName", + "doc": "The name of the device.", + "type": { + "$id": "6697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete.deviceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "6698", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List NamespaceDevice resources by Namespace", + "operation": { + "$id": "6699", + "name": "listByResourceGroup", + "resourceName": "NamespaceDevice", + "doc": "List NamespaceDevice resources by Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "6700", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6702", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "6703", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6704", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.subscriptionId" + }, + { + "$id": "6706", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6707", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.resourceGroupName" + }, + { + "$id": "6708", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.namespaceName" + }, + { + "$id": "6710", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "263" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1236" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6711", + "kind": "http", + "name": "List_NamespaceDevices_ByResourceGroup", + "description": "List_NamespaceDevices_ByResourceGroup", + "filePath": "2025-11-01-preview/List_NamespaceDevices_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "6700" + }, + "value": { + "$id": "6712", + "kind": "string", + "type": { + "$ref": "6701" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6703" + }, + "value": { + "$id": "6713", + "kind": "string", + "type": { + "$ref": "6704" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6706" + }, + "value": { + "$id": "6714", + "kind": "string", + "type": { + "$ref": "6707" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6708" + }, + "value": { + "$id": "6715", + "kind": "string", + "type": { + "$ref": "6709" + }, + "value": "adr-namespace-gbk0925-n01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1236" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6716", + "kind": "model", + "type": { + "$ref": "1236" + }, + "value": { + "value": { + "$id": "6717", + "kind": "array", + "type": { + "$ref": "1238" + }, + "value": [ + { + "$id": "6718", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6719", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/devices/adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "name": { + "$id": "6720", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "type": { + "$id": "6721", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/devices" + }, + "location": { + "$id": "6722", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "etag": { + "$id": "6723", + "kind": "string", + "type": { + "$ref": "1223" + }, + "value": "\"c80325f9-0000-0800-0000-66fcb0290000\"" + }, + "tags": { + "$id": "6724", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6725", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6726", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6727", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6728", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6729", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T02:30:01.6394987Z" + }, + "lastModifiedBy": { + "$id": "6730", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6731", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6732", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T02:30:01.6394987Z" + } + } + }, + "properties": { + "$id": "6733", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "externalDeviceId": { + "$id": "6734", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-f191f536-f652-4eb4-b9a0-1a9d43300cab" + }, + "enabled": { + "$id": "6735", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6736", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6737", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6738", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6739", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6740", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "6741", + "kind": "model", + "type": { + "$ref": "1133" + }, + "value": { + "id": { + "$id": "6742", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-1366-430f-0000-cc873bcf2d27/resourceGroups/gbktestRG/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/devices/adr-smart-device3-67b8b41c-25e9-479a-884e-5502a5e9afbd" + }, + "name": { + "$id": "6743", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "adr-smart-device3-67b8b41c-25e9-479a-884e-5502a5e9afbd" + }, + "type": { + "$id": "6744", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/devices" + }, + "location": { + "$id": "6745", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "North Europe" + }, + "etag": { + "$id": "6746", + "kind": "string", + "type": { + "$ref": "1223" + }, + "value": "\"e103c7dc-0000-0800-0000-66fda99c0000\"" + }, + "tags": { + "$id": "6747", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sensor": { + "$id": "6748", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "temperature,humidity" + } + } + }, + "systemData": { + "$id": "6749", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6750", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "createdByType": { + "$id": "6751", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6752", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2024-10-02T20:14:20.0968397Z" + }, + "lastModifiedBy": { + "$id": "6753", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "00003442-0000-0000-0000-494059220000" + }, + "lastModifiedByType": { + "$id": "6754", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6755", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2024-10-02T20:14:20.0968397Z" + } + } + }, + "properties": { + "$id": "6756", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "endpoints": { + "$id": "6757", + "kind": "model", + "type": { + "$ref": "1158" + }, + "value": { + "outbound": { + "$id": "6758", + "kind": "model", + "type": { + "$ref": "1188" + }, + "value": { + "assigned": { + "$id": "6759", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "6760", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "6761", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "6762", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "externalDeviceId": { + "$id": "6763", + "kind": "string", + "type": { + "$ref": "1146" + }, + "value": "adr-smart-device3-67b8b41c-25e9-479a-884e-5502a5e9afbd" + }, + "enabled": { + "$id": "6764", + "kind": "boolean", + "type": { + "$ref": "1144" + }, + "value": true + }, + "attributes": { + "$id": "6765", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "deviceType": { + "$id": "6766", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "sensor" + }, + "deviceOwner": { + "$id": "6767", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "IT" + }, + "deviceCategory": { + "$id": "6768", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": 16 + } + } + }, + "provisioningState": { + "$id": "6769", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6770", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6772", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6773", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6774", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "263" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1238" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "6775", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "6776", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "6777", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "6778", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6779", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "6780", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6781", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6782", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6783", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDevices", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "6784", + "kind": "client", + "name": "NamespaceDiscoveredAssets", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "6785", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a NamespaceDiscoveredAsset", + "operation": { + "$id": "6786", + "name": "get", + "resourceName": "NamespaceDiscoveredAsset", + "doc": "Get a NamespaceDiscoveredAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "6787", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6788", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6789", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.apiVersion", + "readOnly": false + }, + { + "$id": "6790", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6791", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6792", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.subscriptionId" + }, + { + "$id": "6793", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.resourceGroupName" + }, + { + "$id": "6795", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6796", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.namespaceName" + }, + { + "$id": "6797", + "kind": "path", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "6798", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.discoveredAssetName" + }, + { + "$id": "6799", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "265" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6800", + "kind": "http", + "name": "Get_NamespaceDiscoveredAsset", + "description": "Get_NamespaceDiscoveredAsset", + "filePath": "2025-11-01-preview/Get_NamespaceDiscoveredAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "6787" + }, + "value": { + "$id": "6801", + "kind": "string", + "type": { + "$ref": "6788" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6790" + }, + "value": { + "$id": "6802", + "kind": "string", + "type": { + "$ref": "6791" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6793" + }, + "value": { + "$id": "6803", + "kind": "string", + "type": { + "$ref": "6794" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6795" + }, + "value": { + "$id": "6804", + "kind": "string", + "type": { + "$ref": "6796" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "6797" + }, + "value": { + "$id": "6805", + "kind": "string", + "type": { + "$ref": "6798" + }, + "value": "my-discoveredasset-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "6806", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "6807", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-1" + }, + "name": { + "$id": "6808", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-discoveredasset-1" + }, + "type": { + "$id": "6809", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "6810", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "6811", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6812", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6813", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "6814", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "6815", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "6816", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "6817", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "6818", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "6819", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "6820", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "6821", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "6822", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "6823", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "6824", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "6825", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "6826", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "6827", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "6828", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "6829", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "6830", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "6831", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "6832", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "6833", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "6834", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "6835", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "6836", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "6837", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "6838", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "6839", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "6840", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "6841", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "datasets": { + "$id": "6842", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "6843", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "6844", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "6845", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "6846", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "6847", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "6848", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "dataPoints": { + "$id": "6849", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "6850", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "6851", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "6852", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "typeRef": { + "$id": "6853", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "6854", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "6855", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "6856", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "6857", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "lastUpdatedOn": { + "$id": "6858", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "6859", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "6860", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "6861", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "6862", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "6863", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "6864", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "6865", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "lastUpdatedOn": { + "$id": "6866", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "6867", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "6868", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "6869", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt5" + }, + "lastUpdatedOn": { + "$id": "6870", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "6871", + "kind": "array", + "type": { + "$ref": "1347" + }, + "value": [ + { + "$id": "6872", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "6873", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "6874", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "6875", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream1TypeRef" + }, + "lastUpdatedOn": { + "$id": "6876", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "6877", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "6878", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "6879", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "6880", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "6881", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "6882", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "6883", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "6884", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "6885", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream2TypeRef" + }, + "lastUpdatedOn": { + "$id": "6886", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "6887", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "6888", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "6889", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "6890", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "6891", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "6892", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "6893", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "6894", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "6895", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "6896", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "6897", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "6898", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "6899", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "6900", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "6901", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "lastUpdatedOn": { + "$id": "6902", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "actions": { + "$id": "6903", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "6904", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "6905", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "6906", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "6907", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "6908", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "6909", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "6910", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "6911", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "6912", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "6913", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "6914", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "6915", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "6916", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "6917", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "6918", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "6919", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "6920", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "6921", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "6922", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "6923", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6924", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6925", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6926", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6927", + "kind": "method", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "6928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.discoveredAssetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "6929", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "265" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1242" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get" + }, + { + "$id": "6930", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a NamespaceDiscoveredAsset", + "operation": { + "$id": "6931", + "name": "createOrReplace", + "resourceName": "NamespaceDiscoveredAsset", + "doc": "Create a NamespaceDiscoveredAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "6932", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6933", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "6934", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "6935", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6936", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6937", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.subscriptionId" + }, + { + "$id": "6938", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6939", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.resourceGroupName" + }, + { + "$id": "6940", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "6941", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.namespaceName" + }, + { + "$id": "6942", + "kind": "path", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "6943", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.discoveredAssetName" + }, + { + "$id": "6944", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "267" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.contentType" + }, + { + "$id": "6945", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "269" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.accept" + }, + { + "$id": "6946", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1242" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "6947", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "6948", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "6949", + "kind": "http", + "name": "CreateOrReplace_NamespaceDiscoveredAsset", + "description": "CreateOrReplace_NamespaceDiscoveredAsset", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "6932" + }, + "value": { + "$id": "6950", + "kind": "string", + "type": { + "$ref": "6933" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "6935" + }, + "value": { + "$id": "6951", + "kind": "string", + "type": { + "$ref": "6936" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "6938" + }, + "value": { + "$id": "6952", + "kind": "string", + "type": { + "$ref": "6939" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "6940" + }, + "value": { + "$id": "6953", + "kind": "string", + "type": { + "$ref": "6941" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "6942" + }, + "value": { + "$id": "6954", + "kind": "string", + "type": { + "$ref": "6943" + }, + "value": "my-discoveredasset-1" + } + }, + { + "parameter": { + "$ref": "6946" + }, + "value": { + "$id": "6955", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "location": { + "$id": "6956", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "6957", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "6958", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "6959", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "6960", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "6961", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "6962", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "6963", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "6964", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "6965", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "6966", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "6967", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "6968", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "6969", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "6970", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "6971", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "6972", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "6973", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "6974", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "6975", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "6976", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "6977", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "6978", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "6979", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "6980", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "defaultDatasetsConfiguration": { + "$id": "6981", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "6982", + "kind": "string", + "type": { + "$ref": "1282" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "6983", + "kind": "string", + "type": { + "$ref": "1284" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "6984", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "6985", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "6986", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "6987", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "6988", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "6989", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "6990", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "6991", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "6992", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "6993", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "6994", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "6995", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "6996", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "6997", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "6998", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "6999", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "7000", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7001", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7002", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "7003", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7004", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7005", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "7006", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "7007", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "7008", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7009", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7010", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "7011", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "7012", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "7013", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "7014", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "7015", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7016", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7017", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "7018", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "7019", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7020", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7021", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7022", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7023", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "7024", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "7025", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7026", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint2TypeRef" + }, + "lastUpdatedOn": { + "$id": "7027", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7028", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7029", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7030", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7031", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7032", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7033", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7034", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "7035", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "lastUpdatedOn": { + "$id": "7036", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7037", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7038", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "7039", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7040", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7041", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "7042", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "7043", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7044", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7045", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "7046", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7047", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7048", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "eventConfiguration": { + "$id": "7049", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7050", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7051", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7052", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "7053", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7054", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7055", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7056", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "7057", + "kind": "array", + "type": { + "$ref": "1347" + }, + "value": [ + { + "$id": "7058", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7059", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "7060", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7061", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7062", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "7063", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7064", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "7065", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7066", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7067", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "7068", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7069", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "7070", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7071", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7072", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "7073", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7074", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7075", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7076", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7077", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "7078", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7079", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7080", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "7081", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "7082", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "7083", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "7084", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "7085", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7086", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "defaultTopic": { + "$id": "7087", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "7088", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "actions": { + "$id": "7089", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "7090", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7091", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "7092", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7093", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "7094", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "7095", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "7096", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7097", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7098", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7099", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7100", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "7101", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7102", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "7103", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "7104", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "7105", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7106", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7107", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "7108", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "7109", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-1" + }, + "name": { + "$id": "7110", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-discoveredasset-1" + }, + "type": { + "$id": "7111", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "7112", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7113", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7114", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7115", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7116", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7117", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7118", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7119", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7120", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7121", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7122", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7123", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7124", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7125", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "7126", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "7127", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "7128", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "7129", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "7130", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "7131", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "7132", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "7133", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "7134", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "7135", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "7136", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "7137", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "7138", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "7139", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "7140", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "7141", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "7142", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "7143", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "defaultDatasetsConfiguration": { + "$id": "7144", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "7145", + "kind": "string", + "type": { + "$ref": "1282" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "7146", + "kind": "string", + "type": { + "$ref": "1284" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "7147", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "7148", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "7149", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "7150", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "7151", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "7152", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "7153", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7154", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "7155", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7156", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7157", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "7158", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7159", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7160", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7161", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7162", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "7163", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7164", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7165", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "7166", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7167", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7168", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "7169", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "7170", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "7171", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7172", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7173", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "7174", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "7175", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "7176", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "7177", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "7178", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7179", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7180", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "7181", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "7182", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7183", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7184", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7185", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7186", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "7187", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "7188", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7189", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint2TypeRef" + }, + "lastUpdatedOn": { + "$id": "7190", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7191", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7192", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7193", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7194", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7195", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7196", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7197", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "7198", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "lastUpdatedOn": { + "$id": "7199", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7200", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7201", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "7202", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7203", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7204", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "7205", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "7206", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7207", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7208", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "7209", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7210", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7211", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "eventConfiguration": { + "$id": "7212", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7213", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7214", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7215", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "7216", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7217", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7218", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7219", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "7220", + "kind": "array", + "type": { + "$ref": "1347" + }, + "value": [ + { + "$id": "7221", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7222", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "7223", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7224", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7225", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "7226", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7227", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "7228", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7229", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7230", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "7231", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7232", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "7233", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7234", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7235", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "7236", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7237", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7238", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7239", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7240", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "7241", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7242", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7243", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "7244", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "7245", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "7246", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "7247", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "7248", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7249", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "defaultTopic": { + "$id": "7250", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "7251", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "actions": { + "$id": "7252", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "7253", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7254", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "7255", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7256", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "7257", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "7258", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "7259", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7260", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7261", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7262", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7263", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "7264", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7265", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "7266", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "7267", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "7268", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7269", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7270", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "7271", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "6947" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "6948" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "7272", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "7273", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-1" + }, + "name": { + "$id": "7274", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-discoveredasset-1" + }, + "type": { + "$id": "7275", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "7276", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7277", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7278", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7279", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7280", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7281", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7282", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7283", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7284", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7285", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7286", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7287", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7288", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7289", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "7290", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "7291", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "7292", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "7293", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "7294", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "7295", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "7296", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "7297", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "7298", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "7299", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "7300", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "7301", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "7302", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "7303", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "7304", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "7305", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "attributes": { + "$id": "7306", + "kind": "dict", + "type": { + "$ref": "455" + }, + "value": { + "floor": { + "$id": "7307", + "kind": "unknown", + "type": { + "$ref": "457" + }, + "value": "1" + } + } + }, + "defaultDatasetsConfiguration": { + "$id": "7308", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultEventsConfiguration": { + "$id": "7309", + "kind": "string", + "type": { + "$ref": "1282" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultStreamsConfiguration": { + "$id": "7310", + "kind": "string", + "type": { + "$ref": "1284" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "7311", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "defaultDatasetsDestinations": { + "$id": "7312", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "7313", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "7314", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "7315", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "7316", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "defaultValue" + } + } + } + } + } + ] + }, + "defaultEventsDestinations": { + "$id": "7317", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7318", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "7319", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7320", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7321", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp" + } + } + } + } + } + ] + }, + "defaultStreamsDestinations": { + "$id": "7322", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7323", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7324", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7325", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7326", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/test" + }, + "retain": { + "$id": "7327", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7328", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7329", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 3600 + } + } + } + } + } + ] + }, + "datasets": { + "$id": "7330", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7331", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7332", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "7333", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "7334", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "7335", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7336", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7337", + "kind": "array", + "type": { + "$ref": "865" + }, + "value": [ + { + "$id": "7338", + "kind": "model", + "type": { + "$ref": "884" + }, + "value": { + "target": { + "$id": "7339", + "kind": "string", + "type": { + "$ref": "886" + }, + "value": "BrokerStateStore" + }, + "configuration": { + "$id": "7340", + "kind": "model", + "type": { + "$ref": "888" + }, + "value": { + "key": { + "$id": "7341", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "dataset1" + } + } + } + } + } + ] + }, + "dataPoints": { + "$id": "7342", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7343", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7344", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint1" + }, + "dataSource": { + "$id": "7345", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "dataPointConfiguration": { + "$id": "7346", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7347", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7348", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7349", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7350", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataset1DataPoint2" + }, + "dataSource": { + "$id": "7351", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "dataPointConfiguration": { + "$id": "7352", + "kind": "string", + "type": { + "$ref": "1310" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7353", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint2TypeRef" + }, + "lastUpdatedOn": { + "$id": "7354", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7355", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7356", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7357", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7358", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7359", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7360", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7361", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "eventConfiguration": { + "$id": "7362", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}" + }, + "lastUpdatedOn": { + "$id": "7363", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7364", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7365", + "kind": "model", + "type": { + "$ref": "902" + }, + "value": { + "target": { + "$id": "7366", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7367", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7368", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testEvent1" + }, + "retain": { + "$id": "7369", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Keep" + }, + "qos": { + "$id": "7370", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7371", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7372", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event1Ref" + } + } + }, + { + "$id": "7373", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7374", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7375", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "eventConfiguration": { + "$id": "7376", + "kind": "string", + "type": { + "$ref": "1339" + }, + "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7377", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7378", + "kind": "array", + "type": { + "$ref": "899" + }, + "value": [ + { + "$id": "7379", + "kind": "model", + "type": { + "$ref": "910" + }, + "value": { + "target": { + "$id": "7380", + "kind": "string", + "type": { + "$ref": "912" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7381", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7382", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/event2" + } + } + } + } + } + ] + }, + "typeRef": { + "$id": "7383", + "kind": "string", + "type": { + "$ref": "1342" + }, + "value": "event2Ref" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "7384", + "kind": "array", + "type": { + "$ref": "1347" + }, + "value": [ + { + "$id": "7385", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7386", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "7387", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7388", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7389", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream1TypeRef" + }, + "destinations": { + "$id": "7390", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7391", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "7392", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7393", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7394", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "7395", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7396", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "7397", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "lastUpdatedOn": { + "$id": "7398", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "typeRef": { + "$id": "7399", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream2TypeRef" + }, + "destinations": { + "$id": "7400", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7401", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7402", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7403", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7404", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "7405", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7406", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7407", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "7408", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "7409", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "7410", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "7411", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "7412", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7413", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "defaultTopic": { + "$id": "7414", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "7415", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "actions": { + "$id": "7416", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "7417", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7418", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "7419", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7420", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "7421", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "7422", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "7423", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7424", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7425", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7426", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7427", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "7428", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7429", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "7430", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "7431", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "7432", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7433", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7434", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "7435", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7436", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7437", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7438", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7439", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7440", + "kind": "method", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "7441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.discoveredAssetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7442", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1242" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7443", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "271" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7444", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "273" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1242" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + } + } + } + }, + { + "$id": "7445", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a NamespaceDiscoveredAsset", + "operation": { + "$id": "7446", + "name": "update", + "resourceName": "NamespaceDiscoveredAsset", + "doc": "Update a NamespaceDiscoveredAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "7447", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7448", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.apiVersion", + "readOnly": false + }, + { + "$id": "7450", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7451", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7452", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.subscriptionId" + }, + { + "$id": "7453", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7454", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.resourceGroupName" + }, + { + "$id": "7455", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.namespaceName" + }, + { + "$id": "7457", + "kind": "path", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "7458", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.discoveredAssetName" + }, + { + "$id": "7459", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "275" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.contentType" + }, + { + "$id": "7460", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "277" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.accept" + }, + { + "$id": "7461", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1400" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "7462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "7463", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7464", + "kind": "http", + "name": "Update_NamespaceDiscoveredAsset", + "description": "Update_NamespaceDiscoveredAsset", + "filePath": "2025-11-01-preview/Update_NamespaceDiscoveredAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "7447" + }, + "value": { + "$id": "7465", + "kind": "string", + "type": { + "$ref": "7448" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7450" + }, + "value": { + "$id": "7466", + "kind": "string", + "type": { + "$ref": "7451" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7453" + }, + "value": { + "$id": "7467", + "kind": "string", + "type": { + "$ref": "7454" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7455" + }, + "value": { + "$id": "7468", + "kind": "string", + "type": { + "$ref": "7456" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "7457" + }, + "value": { + "$id": "7469", + "kind": "string", + "type": { + "$ref": "7458" + }, + "value": "my-discoveredasset-1" + } + }, + { + "parameter": { + "$ref": "7461" + }, + "value": { + "$id": "7470", + "kind": "model", + "type": { + "$ref": "1400" + }, + "value": { + "properties": { + "$id": "7471", + "kind": "model", + "type": { + "$ref": "1403" + }, + "value": { + "documentationUri": { + "$id": "7472", + "kind": "string", + "type": { + "$ref": "1427" + }, + "value": "https://www.example.com/manual-2" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "7473", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "7474", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-1" + }, + "name": { + "$id": "7475", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-asset" + }, + "type": { + "$id": "7476", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "7477", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7478", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7479", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7480", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7481", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7482", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7483", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7484", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7485", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7486", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7487", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7488", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7489", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7490", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "7491", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "7492", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "7493", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "7494", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "7495", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "7496", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "7497", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "7498", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "7499", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "7500", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "7501", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "7502", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "7503", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "7504", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "7505", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual-2" + }, + "serialNumber": { + "$id": "7506", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "7507", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "7508", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "datasets": { + "$id": "7509", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7510", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7511", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "7512", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "7513", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "7514", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7515", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "dataPoints": { + "$id": "7516", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7517", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7518", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "7519", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "typeRef": { + "$id": "7520", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7521", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7522", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7523", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "7524", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "lastUpdatedOn": { + "$id": "7525", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7526", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7527", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7528", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7529", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7530", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7531", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7532", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "lastUpdatedOn": { + "$id": "7533", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7534", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7535", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7536", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "lastUpdatedOn": { + "$id": "7537", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "streams": { + "$id": "7538", + "kind": "array", + "type": { + "$ref": "1347" + }, + "value": [ + { + "$id": "7539", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7540", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream1" + }, + "streamConfiguration": { + "$id": "7541", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7542", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7543", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7544", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7545", + "kind": "model", + "type": { + "$ref": "926" + }, + "value": { + "target": { + "$id": "7546", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Storage" + }, + "configuration": { + "$id": "7547", + "kind": "model", + "type": { + "$ref": "895" + }, + "value": { + "path": { + "$id": "7548", + "kind": "string", + "type": { + "$ref": "897" + }, + "value": "/tmp/stream1" + } + } + } + } + } + ] + } + } + }, + { + "$id": "7549", + "kind": "model", + "type": { + "$ref": "1348" + }, + "value": { + "name": { + "$id": "7550", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "stream2" + }, + "streamConfiguration": { + "$id": "7551", + "kind": "string", + "type": { + "$ref": "1352" + }, + "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}" + }, + "typeRef": { + "$id": "7552", + "kind": "string", + "type": { + "$ref": "1354" + }, + "value": "stream2TypeRef" + }, + "lastUpdatedOn": { + "$id": "7553", + "kind": "string", + "type": { + "$ref": "1357" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "destinations": { + "$id": "7554", + "kind": "array", + "type": { + "$ref": "915" + }, + "value": [ + { + "$id": "7555", + "kind": "model", + "type": { + "$ref": "918" + }, + "value": { + "target": { + "$id": "7556", + "kind": "string", + "type": { + "$ref": "920" + }, + "value": "Mqtt" + }, + "configuration": { + "$id": "7557", + "kind": "model", + "type": { + "$ref": "877" + }, + "value": { + "topic": { + "$id": "7558", + "kind": "string", + "type": { + "$ref": "879" + }, + "value": "/contoso/testStream2" + }, + "retain": { + "$id": "7559", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Never" + }, + "qos": { + "$id": "7560", + "kind": "string", + "type": { + "$ref": "66" + }, + "value": "Qos0" + }, + "ttl": { + "$id": "7561", + "kind": "number", + "type": { + "$ref": "883" + }, + "value": 7200 + } + } + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "7562", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "7563", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "7564", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "7565", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "7566", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "7567", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "7568", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "lastUpdatedOn": { + "$id": "7569", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "actions": { + "$id": "7570", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "7571", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7572", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "7573", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7574", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "7575", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "7576", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "7577", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7578", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7579", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7580", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7581", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "7582", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7583", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "7584", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "7585", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "7586", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7587", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7588", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "7589", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "7462" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "7463" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7590", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7592", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7593", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7594", + "kind": "method", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "7595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.discoveredAssetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7596", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1400" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7597", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "279" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7598", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "281" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1242" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1242" + } + } + } + }, + { + "$id": "7599", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a NamespaceDiscoveredAsset", + "operation": { + "$id": "7600", + "name": "delete", + "resourceName": "NamespaceDiscoveredAsset", + "doc": "Delete a NamespaceDiscoveredAsset", + "accessibility": "public", + "parameters": [ + { + "$id": "7601", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7603", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.apiVersion", + "readOnly": false + }, + { + "$id": "7604", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7605", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7606", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.subscriptionId" + }, + { + "$id": "7607", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.resourceGroupName" + }, + { + "$id": "7609", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7610", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.namespaceName" + }, + { + "$id": "7611", + "kind": "path", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "7612", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.discoveredAssetName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "7613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "7614", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7615", + "kind": "http", + "name": "Delete_NamespaceDiscoveredAsset", + "description": "Delete_NamespaceDiscoveredAsset", + "filePath": "2025-11-01-preview/Delete_NamespaceDiscoveredAsset.json", + "parameters": [ + { + "parameter": { + "$ref": "7601" + }, + "value": { + "$id": "7616", + "kind": "string", + "type": { + "$ref": "7602" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7604" + }, + "value": { + "$id": "7617", + "kind": "string", + "type": { + "$ref": "7605" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7607" + }, + "value": { + "$id": "7618", + "kind": "string", + "type": { + "$ref": "7608" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7609" + }, + "value": { + "$id": "7619", + "kind": "string", + "type": { + "$ref": "7610" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "7611" + }, + "value": { + "$id": "7620", + "kind": "string", + "type": { + "$ref": "7612" + }, + "value": "my-discoveredasset-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "7613" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "7614" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7621", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7623", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7624", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7625", + "kind": "method", + "name": "discoveredAssetName", + "serializedName": "discoveredAssetName", + "doc": "The name of the discovered asset.", + "type": { + "$id": "7626", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete.discoveredAssetName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "7627", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List NamespaceDiscoveredAsset resources by Namespace", + "operation": { + "$id": "7628", + "name": "listByResourceGroup", + "resourceName": "NamespaceDiscoveredAsset", + "doc": "List NamespaceDiscoveredAsset resources by Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "7629", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "7632", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7633", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7634", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.subscriptionId" + }, + { + "$id": "7635", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7636", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.resourceGroupName" + }, + { + "$id": "7637", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7638", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.namespaceName" + }, + { + "$id": "7639", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "283" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1446" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7640", + "kind": "http", + "name": "List_NamespaceDiscoveredAssets_ByResourceGroup", + "description": "List_NamespaceDiscoveredAssets_ByResourceGroup", + "filePath": "2025-11-01-preview/List_NamespaceDiscoveredAssets_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "7629" + }, + "value": { + "$id": "7641", + "kind": "string", + "type": { + "$ref": "7630" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7632" + }, + "value": { + "$id": "7642", + "kind": "string", + "type": { + "$ref": "7633" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7635" + }, + "value": { + "$id": "7643", + "kind": "string", + "type": { + "$ref": "7636" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7637" + }, + "value": { + "$id": "7644", + "kind": "string", + "type": { + "$ref": "7638" + }, + "value": "my-namespace-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1446" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "7645", + "kind": "model", + "type": { + "$ref": "1446" + }, + "value": { + "value": { + "$id": "7646", + "kind": "array", + "type": { + "$ref": "1448" + }, + "value": [ + { + "$id": "7647", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "7648", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-1" + }, + "name": { + "$id": "7649", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-discoveredasset-1" + }, + "type": { + "$id": "7650", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "7651", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7652", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7653", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7654", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7655", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7656", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7657", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7658", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7659", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7660", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7661", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7662", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7663", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7664", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "7665", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "7666", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "7667", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "assetTypeRefs": { + "$id": "7668", + "kind": "array", + "type": { + "$ref": "459" + }, + "value": [ + { + "$id": "7669", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef1" + }, + { + "$id": "7670", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "myAssetTypeRef2" + } + ] + }, + "discoveryId": { + "$id": "7671", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "7672", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "7673", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "7674", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "7675", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "7676", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "7677", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "7678", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "7679", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "7680", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "7681", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "defaultManagementGroupsConfiguration": { + "$id": "7682", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "datasets": { + "$id": "7683", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7684", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7685", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "dataSource": { + "$id": "7686", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/Boiler;i=5" + }, + "typeRef": { + "$id": "7687", + "kind": "string", + "type": { + "$ref": "1298" + }, + "value": "dataset1TypeRef" + }, + "datasetConfiguration": { + "$id": "7688", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7689", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "dataPoints": { + "$id": "7690", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7691", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7692", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "7693", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "typeRef": { + "$id": "7694", + "kind": "string", + "type": { + "$ref": "1315" + }, + "value": "dataset1DataPoint1TypeRef" + }, + "lastUpdatedOn": { + "$id": "7695", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7696", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7697", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "7698", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "lastUpdatedOn": { + "$id": "7699", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7700", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7701", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7702", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7703", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7704", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7705", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7706", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "lastUpdatedOn": { + "$id": "7707", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7708", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7709", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7710", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "lastUpdatedOn": { + "$id": "7711", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "managementGroups": { + "$id": "7712", + "kind": "array", + "type": { + "$ref": "1360" + }, + "value": [ + { + "$id": "7713", + "kind": "model", + "type": { + "$ref": "1361" + }, + "value": { + "name": { + "$id": "7714", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "managementGroup1" + }, + "managementGroupConfiguration": { + "$id": "7715", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "{\"retryCount\":10,\"retryBackoffInterval\":15}" + }, + "typeRef": { + "$id": "7716", + "kind": "string", + "type": { + "$ref": "1367" + }, + "value": "managementGroup1TypeRef" + }, + "defaultTopic": { + "$id": "7717", + "kind": "string", + "type": { + "$ref": "1371" + }, + "value": "/contoso/managementGroup1" + }, + "defaultTimeoutInSeconds": { + "$id": "7718", + "kind": "number", + "type": { + "$ref": "1373" + }, + "value": 100 + }, + "lastUpdatedOn": { + "$id": "7719", + "kind": "string", + "type": { + "$ref": "1394" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "actions": { + "$id": "7720", + "kind": "array", + "type": { + "$ref": "1375" + }, + "value": [ + { + "$id": "7721", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7722", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action1" + }, + "actionConfiguration": { + "$id": "7723", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7724", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile1" + }, + "topic": { + "$id": "7725", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action1" + }, + "typeRef": { + "$id": "7726", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action1TypeRef" + }, + "actionType": { + "$id": "7727", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7728", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7729", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7730", + "kind": "model", + "type": { + "$ref": "1376" + }, + "value": { + "name": { + "$id": "7731", + "kind": "string", + "type": { + "$ref": "1378" + }, + "value": "action2" + }, + "actionConfiguration": { + "$id": "7732", + "kind": "string", + "type": { + "$ref": "1380" + }, + "value": "{\"retryCount\":5,\"retryBackoffInterval\":5}" + }, + "targetUri": { + "$id": "7733", + "kind": "string", + "type": { + "$ref": "1382" + }, + "value": "/onvif/device_service?ONVIFProfile=Profile2" + }, + "topic": { + "$id": "7734", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "/contoso/managementGroup1/action2" + }, + "typeRef": { + "$id": "7735", + "kind": "string", + "type": { + "$ref": "1384" + }, + "value": "action2TypeRef" + }, + "actionType": { + "$id": "7736", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Call" + }, + "timeoutInSeconds": { + "$id": "7737", + "kind": "number", + "type": { + "$ref": "1389" + }, + "value": 60 + }, + "lastUpdatedOn": { + "$id": "7738", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "7739", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "7740", + "kind": "model", + "type": { + "$ref": "1242" + }, + "value": { + "id": { + "$id": "7741", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredAssets/my-discoveredasset-2" + }, + "name": { + "$id": "7742", + "kind": "string", + "type": { + "$ref": "1398" + }, + "value": "my-discoveredasset-2" + }, + "type": { + "$id": "7743", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredAssets" + }, + "location": { + "$id": "7744", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7745", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7746", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7747", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7748", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7749", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "7750", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7751", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7752", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7753", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7754", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7755", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7756", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7757", + "kind": "model", + "type": { + "$ref": "1249" + }, + "value": { + "deviceRef": { + "$id": "7758", + "kind": "model", + "type": { + "$ref": "827" + }, + "value": { + "deviceName": { + "$id": "7759", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "myDevice" + }, + "endpointName": { + "$id": "7760", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "opcuaendpointname" + } + } + }, + "discoveryId": { + "$id": "7761", + "kind": "string", + "type": { + "$ref": "1257" + }, + "value": "11111111-1111-1111-1111-111111111111" + }, + "version": { + "$id": "7762", + "kind": "number", + "type": { + "$ref": "1261" + }, + "value": 73766 + }, + "manufacturer": { + "$id": "7763", + "kind": "string", + "type": { + "$ref": "1263" + }, + "value": "Contoso" + }, + "manufacturerUri": { + "$id": "7764", + "kind": "string", + "type": { + "$ref": "1265" + }, + "value": "https://www.contoso.com/manufacturerUri" + }, + "model": { + "$id": "7765", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "ContosoModel" + }, + "productCode": { + "$id": "7766", + "kind": "string", + "type": { + "$ref": "1269" + }, + "value": "SA34VDG" + }, + "hardwareRevision": { + "$id": "7767", + "kind": "string", + "type": { + "$ref": "1271" + }, + "value": "1.0" + }, + "softwareRevision": { + "$id": "7768", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2.0" + }, + "documentationUri": { + "$id": "7769", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "https://www.example.com/manual" + }, + "serialNumber": { + "$id": "7770", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "64-103816-519918-8" + }, + "defaultDatasetsConfiguration": { + "$id": "7771", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "datasets": { + "$id": "7772", + "kind": "array", + "type": { + "$ref": "1291" + }, + "value": [ + { + "$id": "7773", + "kind": "model", + "type": { + "$ref": "1292" + }, + "value": { + "name": { + "$id": "7774", + "kind": "string", + "type": { + "$ref": "1294" + }, + "value": "dataset1" + }, + "datasetConfiguration": { + "$id": "7775", + "kind": "string", + "type": { + "$ref": "1300" + }, + "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}" + }, + "lastUpdatedOn": { + "$id": "7776", + "kind": "string", + "type": { + "$ref": "1317" + }, + "value": "2024-04-09T14:20:00.52Z" + }, + "dataPoints": { + "$id": "7777", + "kind": "array", + "type": { + "$ref": "1303" + }, + "value": [ + { + "$id": "7778", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7779", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint1" + }, + "dataSource": { + "$id": "7780", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1" + }, + "lastUpdatedOn": { + "$id": "7781", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7782", + "kind": "model", + "type": { + "$ref": "1304" + }, + "value": { + "name": { + "$id": "7783", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "dataPoint2" + }, + "dataSource": { + "$id": "7784", + "kind": "string", + "type": { + "$ref": "1308" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2" + }, + "lastUpdatedOn": { + "$id": "7785", + "kind": "string", + "type": { + "$ref": "1312" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "eventGroups": { + "$id": "7786", + "kind": "array", + "type": { + "$ref": "1320" + }, + "value": [ + { + "$id": "7787", + "kind": "model", + "type": { + "$ref": "1321" + }, + "value": { + "name": { + "$id": "7788", + "kind": "string", + "type": { + "$ref": "1323" + }, + "value": "default" + }, + "events": { + "$id": "7789", + "kind": "array", + "type": { + "$ref": "1332" + }, + "value": [ + { + "$id": "7790", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7791", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event1" + }, + "dataSource": { + "$id": "7792", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3" + }, + "lastUpdatedOn": { + "$id": "7793", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + }, + { + "$id": "7794", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "name": { + "$id": "7795", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "event2" + }, + "dataSource": { + "$id": "7796", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4" + }, + "lastUpdatedOn": { + "$id": "7797", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "2024-04-09T14:20:00.52Z" + } + } + } + ] + } + } + } + ] + }, + "provisioningState": { + "$id": "7798", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7799", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7800", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7801", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7802", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7803", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "283" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1448" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "7804", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "7805", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "7806", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "7807", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7808", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "7809", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7810", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7811", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredAssets", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "7813", + "kind": "client", + "name": "NamespaceDiscoveredDevices", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "7814", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a NamespaceDiscoveredDevice", + "operation": { + "$id": "7815", + "name": "get", + "resourceName": "NamespaceDiscoveredDevice", + "doc": "Get a NamespaceDiscoveredDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "7816", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7818", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.apiVersion", + "readOnly": false + }, + { + "$id": "7819", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7820", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7821", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.subscriptionId" + }, + { + "$id": "7822", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7823", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.resourceGroupName" + }, + { + "$id": "7824", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.namespaceName" + }, + { + "$id": "7826", + "kind": "path", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "7827", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.discoveredDeviceName" + }, + { + "$id": "7828", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "285" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7829", + "kind": "http", + "name": "Get_NamespaceDiscoveredDevice", + "description": "Get_NamespaceDiscoveredDevice", + "filePath": "2025-11-01-preview/Get_NamespaceDiscoveredDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "7816" + }, + "value": { + "$id": "7830", + "kind": "string", + "type": { + "$ref": "7817" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7819" + }, + "value": { + "$id": "7831", + "kind": "string", + "type": { + "$ref": "7820" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7822" + }, + "value": { + "$id": "7832", + "kind": "string", + "type": { + "$ref": "7823" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7824" + }, + "value": { + "$id": "7833", + "kind": "string", + "type": { + "$ref": "7825" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "7826" + }, + "value": { + "$id": "7834", + "kind": "string", + "type": { + "$ref": "7827" + }, + "value": "my-discovereddevice-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "7835", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "7836", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevices/my-discovereddevice-1" + }, + "name": { + "$id": "7837", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-1" + }, + "type": { + "$id": "7838", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevices" + }, + "location": { + "$id": "7839", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7840", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7841", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7842", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7843", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7844", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7845", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7846", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7847", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7848", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7849", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7850", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7851", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7852", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "7853", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "7854", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "7855", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "7856", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "7857", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "7858", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "eventGridEndpoint2": { + "$id": "7859", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "7860", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "7861", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "7862", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId2" + }, + "version": { + "$id": "7863", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "7864", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7865", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7866", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7867", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7868", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7869", + "kind": "method", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "7870", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.discoveredDeviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7871", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "285" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1452" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get" + }, + { + "$id": "7872", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a NamespaceDiscoveredDevice", + "operation": { + "$id": "7873", + "name": "createOrReplace", + "resourceName": "NamespaceDiscoveredDevice", + "doc": "Create a NamespaceDiscoveredDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "7874", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7875", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7876", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "7877", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7878", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7879", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.subscriptionId" + }, + { + "$id": "7880", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7881", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.resourceGroupName" + }, + { + "$id": "7882", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7883", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.namespaceName" + }, + { + "$id": "7884", + "kind": "path", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "7885", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.discoveredDeviceName" + }, + { + "$id": "7886", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "287" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.contentType" + }, + { + "$id": "7887", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "289" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.accept" + }, + { + "$id": "7888", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1452" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "7889", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "7890", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7891", + "kind": "http", + "name": "CreateOrReplace_NamespaceDiscoveredDevice", + "description": "CreateOrReplace_NamespaceDiscoveredDevice", + "filePath": "2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "7874" + }, + "value": { + "$id": "7892", + "kind": "string", + "type": { + "$ref": "7875" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7877" + }, + "value": { + "$id": "7893", + "kind": "string", + "type": { + "$ref": "7878" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7880" + }, + "value": { + "$id": "7894", + "kind": "string", + "type": { + "$ref": "7881" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7882" + }, + "value": { + "$id": "7895", + "kind": "string", + "type": { + "$ref": "7883" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "7884" + }, + "value": { + "$id": "7896", + "kind": "string", + "type": { + "$ref": "7885" + }, + "value": "my-discovereddevice-1" + } + }, + { + "parameter": { + "$ref": "7888" + }, + "value": { + "$id": "7897", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "location": { + "$id": "7898", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7899", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7900", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7901", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7902", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7903", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "properties": { + "$id": "7904", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "7905", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "7906", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "7907", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "7908", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "7909", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "7910", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "7911", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId1" + }, + "version": { + "$id": "7912", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "7913", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "7914", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevices/my-discovereddevice-1" + }, + "name": { + "$id": "7915", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-1" + }, + "type": { + "$id": "7916", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevices" + }, + "location": { + "$id": "7917", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7918", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7919", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7920", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7921", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7922", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7923", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7924", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7925", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7926", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7927", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7928", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7929", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7930", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "7931", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "7932", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "7933", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "7934", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "7935", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "7936", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "7937", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId1" + }, + "version": { + "$id": "7938", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "7939", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "7889" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "7890" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "7940", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "7941", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevices/my-discovereddevice-1" + }, + "name": { + "$id": "7942", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-1" + }, + "type": { + "$id": "7943", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevices" + }, + "location": { + "$id": "7944", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "7945", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "7946", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "7947", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "7948", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "7949", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "7950", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "7951", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "7952", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "7953", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "7954", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "7955", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "7956", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "7957", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "7958", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "7959", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "7960", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "7961", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "7962", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "7963", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "7964", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId1" + }, + "version": { + "$id": "7965", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "7966", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "7967", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7968", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7969", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7970", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7971", + "kind": "method", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "7972", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.discoveredDeviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7973", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1452" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7974", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "291" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "7975", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "293" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1452" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + } + } + } + }, + { + "$id": "7976", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a NamespaceDiscoveredDevice", + "operation": { + "$id": "7977", + "name": "update", + "resourceName": "NamespaceDiscoveredDevice", + "doc": "Update a NamespaceDiscoveredDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "7978", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7979", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "7980", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.apiVersion", + "readOnly": false + }, + { + "$id": "7981", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7982", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7983", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.subscriptionId" + }, + { + "$id": "7984", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.resourceGroupName" + }, + { + "$id": "7986", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "7987", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.namespaceName" + }, + { + "$id": "7988", + "kind": "path", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "7989", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.discoveredDeviceName" + }, + { + "$id": "7990", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "295" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.contentType" + }, + { + "$id": "7991", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "297" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.accept" + }, + { + "$id": "7992", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1501" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "7993", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "7994", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "7995", + "kind": "http", + "name": "Update_NamespaceDiscoveredDevice", + "description": "Update_NamespaceDiscoveredDevice", + "filePath": "2025-11-01-preview/Update_NamespaceDiscoveredDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "7978" + }, + "value": { + "$id": "7996", + "kind": "string", + "type": { + "$ref": "7979" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "7981" + }, + "value": { + "$id": "7997", + "kind": "string", + "type": { + "$ref": "7982" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "7984" + }, + "value": { + "$id": "7998", + "kind": "string", + "type": { + "$ref": "7985" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "7986" + }, + "value": { + "$id": "7999", + "kind": "string", + "type": { + "$ref": "7987" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "7988" + }, + "value": { + "$id": "8000", + "kind": "string", + "type": { + "$ref": "7989" + }, + "value": "my-discovereddevice-1" + } + }, + { + "parameter": { + "$ref": "7992" + }, + "value": { + "$id": "8001", + "kind": "model", + "type": { + "$ref": "1501" + }, + "value": { + "properties": { + "$id": "8002", + "kind": "model", + "type": { + "$ref": "1504" + }, + "value": { + "endpoints": { + "$id": "8003", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "8004", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "8005", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "newEventGridEndpoint": { + "$id": "8006", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "8007", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "8008", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myneweventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8009", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "8010", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevice/my-discovereddevice-1" + }, + "name": { + "$id": "8011", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-1" + }, + "type": { + "$id": "8012", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevice" + }, + "location": { + "$id": "8013", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "8014", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "8015", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "8016", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "8017", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "8018", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "8019", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8020", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8021", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8022", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8023", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8024", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8025", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8026", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "8027", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "8028", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "8029", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "newEventGridEndpoint": { + "$id": "8030", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "8031", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "8032", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myneweventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "8033", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId1" + }, + "version": { + "$id": "8034", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "8035", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "7993" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "7994" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8036", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8037", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8038", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "8039", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8040", + "kind": "method", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "8041", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.discoveredDeviceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8042", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1501" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8043", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "299" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8044", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "301" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1452" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1452" + } + } + } + }, + { + "$id": "8045", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a NamespaceDiscoveredDevice", + "operation": { + "$id": "8046", + "name": "delete", + "resourceName": "NamespaceDiscoveredDevice", + "doc": "Delete a NamespaceDiscoveredDevice", + "accessibility": "public", + "parameters": [ + { + "$id": "8047", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8048", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8049", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.apiVersion", + "readOnly": false + }, + { + "$id": "8050", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8051", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.subscriptionId" + }, + { + "$id": "8053", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8054", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.resourceGroupName" + }, + { + "$id": "8055", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "8056", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.namespaceName" + }, + { + "$id": "8057", + "kind": "path", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "8058", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.discoveredDeviceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "8059", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8060", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices/{discoveredDeviceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8061", + "kind": "http", + "name": "Delete_NamespaceDiscoveredDevice", + "description": "Delete_NamespaceDiscoveredDevice", + "filePath": "2025-11-01-preview/Delete_NamespaceDiscoveredDevice.json", + "parameters": [ + { + "parameter": { + "$ref": "8047" + }, + "value": { + "$id": "8062", + "kind": "string", + "type": { + "$ref": "8048" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8050" + }, + "value": { + "$id": "8063", + "kind": "string", + "type": { + "$ref": "8051" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8053" + }, + "value": { + "$id": "8064", + "kind": "string", + "type": { + "$ref": "8054" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8055" + }, + "value": { + "$id": "8065", + "kind": "string", + "type": { + "$ref": "8056" + }, + "value": "my-namespace-1" + } + }, + { + "parameter": { + "$ref": "8057" + }, + "value": { + "$id": "8066", + "kind": "string", + "type": { + "$ref": "8058" + }, + "value": "my-discovereddevice-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "8059" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8060" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8067", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8068", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8069", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "8070", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8071", + "kind": "method", + "name": "discoveredDeviceName", + "serializedName": "discoveredDeviceName", + "doc": "The name of the discovered device.", + "type": { + "$id": "8072", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete.discoveredDeviceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "8073", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List NamespaceDiscoveredDevice resources by Namespace", + "operation": { + "$id": "8074", + "name": "listByResourceGroup", + "resourceName": "NamespaceDiscoveredDevice", + "doc": "List NamespaceDiscoveredDevice resources by Namespace", + "accessibility": "public", + "parameters": [ + { + "$id": "8075", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8076", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8077", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "8078", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8079", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8080", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.subscriptionId" + }, + { + "$id": "8081", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.resourceGroupName" + }, + { + "$id": "8083", + "kind": "path", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "8084", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.namespaceName" + }, + { + "$id": "8085", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "303" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1515" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredDevices", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8086", + "kind": "http", + "name": "List_NamespaceDiscoveredDevices_ByResourceGroup", + "description": "List_NamespaceDiscoveredDevices_ByResourceGroup", + "filePath": "2025-11-01-preview/List_NamespaceDiscoveredDevices_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "8075" + }, + "value": { + "$id": "8087", + "kind": "string", + "type": { + "$ref": "8076" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8078" + }, + "value": { + "$id": "8088", + "kind": "string", + "type": { + "$ref": "8079" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8081" + }, + "value": { + "$id": "8089", + "kind": "string", + "type": { + "$ref": "8082" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8083" + }, + "value": { + "$id": "8090", + "kind": "string", + "type": { + "$ref": "8084" + }, + "value": "my-namespace-1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1515" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8091", + "kind": "model", + "type": { + "$ref": "1515" + }, + "value": { + "value": { + "$id": "8092", + "kind": "array", + "type": { + "$ref": "1517" + }, + "value": [ + { + "$id": "8093", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "8094", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevices/my-discovereddevice-1" + }, + "name": { + "$id": "8095", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-1" + }, + "type": { + "$id": "8096", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevices" + }, + "location": { + "$id": "8097", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "8098", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "8099", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "8100", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "8101", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "8102", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-1" + } + } + }, + "systemData": { + "$id": "8103", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8104", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8105", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8106", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8107", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8108", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8109", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8110", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "8111", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "8112", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "8113", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint": { + "$id": "8114", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "8115", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "8116", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "8117", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId1" + }, + "version": { + "$id": "8118", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "8119", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "8120", + "kind": "model", + "type": { + "$ref": "1452" + }, + "value": { + "id": { + "$id": "8121", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/namespaces/my-namespace-1/discoveredDevices/my-discovereddevice-2" + }, + "name": { + "$id": "8122", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "my-discovereddevice-2" + }, + "type": { + "$id": "8123", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/namespaces/discoveredDevices" + }, + "location": { + "$id": "8124", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "extendedLocation": { + "$id": "8125", + "kind": "model", + "type": { + "$ref": "535" + }, + "value": { + "type": { + "$id": "8126", + "kind": "string", + "type": { + "$ref": "537" + }, + "value": "CustomLocation" + }, + "name": { + "$id": "8127", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1" + } + } + }, + "tags": { + "$id": "8128", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "site": { + "$id": "8129", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "building-2" + } + } + }, + "systemData": { + "$id": "8130", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8131", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8132", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8133", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8134", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8135", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8136", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8137", + "kind": "model", + "type": { + "$ref": "1459" + }, + "value": { + "endpoints": { + "$id": "8138", + "kind": "model", + "type": { + "$ref": "1463" + }, + "value": { + "outbound": { + "$id": "8139", + "kind": "model", + "type": { + "$ref": "1482" + }, + "value": { + "assigned": { + "$id": "8140", + "kind": "dict", + "type": { + "$ref": "1190" + }, + "value": { + "eventGridEndpoint2": { + "$id": "8141", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "8142", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "8143", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events" + } + } + }, + "eventGridEndpoint3": { + "$id": "8144", + "kind": "model", + "type": { + "$ref": "1192" + }, + "value": { + "endpointType": { + "$id": "8145", + "kind": "string", + "type": { + "$ref": "1194" + }, + "value": "Microsoft.Devices/IoTHubs" + }, + "address": { + "$id": "8146", + "kind": "string", + "type": { + "$ref": "1196" + }, + "value": "https://myeventgridtopic3.westeurope-1.eventgrid.azure.net/api/events" + } + } + } + } + } + } + } + } + }, + "discoveryId": { + "$id": "8147", + "kind": "string", + "type": { + "$ref": "1494" + }, + "value": "discoveryId2" + }, + "version": { + "$id": "8148", + "kind": "number", + "type": { + "$ref": "1496" + }, + "value": 1 + }, + "provisioningState": { + "$id": "8149", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8150", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8152", + "kind": "method", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The name of the namespace.", + "type": { + "$id": "8153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.namespaceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8154", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "303" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1517" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "8155", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "8156", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "8157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "8158", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "8160", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8161", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8162", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.NamespaceDiscoveredDevices", + "apiVersions": [ + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "8164", + "kind": "client", + "name": "SchemaRegistries", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "8165", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a SchemaRegistry", + "operation": { + "$id": "8166", + "name": "get", + "resourceName": "SchemaRegistry", + "doc": "Get a SchemaRegistry", + "accessibility": "public", + "parameters": [ + { + "$id": "8167", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.apiVersion", + "readOnly": false + }, + { + "$id": "8170", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8171", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.subscriptionId" + }, + { + "$id": "8173", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.resourceGroupName" + }, + { + "$id": "8175", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.schemaRegistryName" + }, + { + "$id": "8177", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "305" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8178", + "kind": "http", + "name": "Get_SchemaRegistry", + "description": "Get_SchemaRegistry", + "filePath": "2025-11-01-preview/Get_SchemaRegistry.json", + "parameters": [ + { + "parameter": { + "$ref": "8167" + }, + "value": { + "$id": "8179", + "kind": "string", + "type": { + "$ref": "8168" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8170" + }, + "value": { + "$id": "8180", + "kind": "string", + "type": { + "$ref": "8171" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8173" + }, + "value": { + "$id": "8181", + "kind": "string", + "type": { + "$ref": "8174" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8175" + }, + "value": { + "$id": "8182", + "kind": "string", + "type": { + "$ref": "8176" + }, + "value": "my-schema-registry" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8183", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8184", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8185", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8186", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8187", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8188", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8189", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8190", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8191", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8192", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8193", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8194", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8195", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8196", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8197", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8198", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8199", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8200", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8201", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8202", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8203", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8205", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8207", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "305" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1521" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get" + }, + { + "$id": "8208", + "kind": "lro", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a SchemaRegistry", + "operation": { + "$id": "8209", + "name": "createOrReplace", + "resourceName": "SchemaRegistry", + "doc": "Create a SchemaRegistry", + "accessibility": "public", + "parameters": [ + { + "$id": "8210", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "8213", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8214", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.subscriptionId" + }, + { + "$id": "8216", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.resourceGroupName" + }, + { + "$id": "8218", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.schemaRegistryName" + }, + { + "$id": "8220", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "307" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.contentType" + }, + { + "$id": "8221", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "309" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.accept" + }, + { + "$id": "8222", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1521" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "8223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8224", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8225", + "kind": "http", + "name": "CreateOrReplace_SchemaRegistry", + "description": "CreateOrReplace_SchemaRegistry", + "filePath": "2025-11-01-preview/CreateOrReplace_SchemaRegistry.json", + "parameters": [ + { + "parameter": { + "$ref": "8210" + }, + "value": { + "$id": "8226", + "kind": "string", + "type": { + "$ref": "8211" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8213" + }, + "value": { + "$id": "8227", + "kind": "string", + "type": { + "$ref": "8214" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8216" + }, + "value": { + "$id": "8228", + "kind": "string", + "type": { + "$ref": "8217" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8218" + }, + "value": { + "$id": "8229", + "kind": "string", + "type": { + "$ref": "8219" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8222" + }, + "value": { + "$id": "8230", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "properties": { + "$id": "8231", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "namespace": { + "$id": "8232", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8233", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8234", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8235", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + } + } + }, + "tags": { + "$id": "8236", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8237", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8238", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8239", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8240", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8241", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8242", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8243", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8244", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8245", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8246", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8247", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8248", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8249", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8250", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8251", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8252", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8253", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8254", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8255", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8256", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8257", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "8223" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8224" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "8258", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8259", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8260", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8261", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8262", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8263", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8264", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8265", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8266", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8267", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8268", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8269", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8270", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8271", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8272", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8273", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8274", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8275", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8276", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8277", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Accepted" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8278", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8280", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8282", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1521" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8283", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "311" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8284", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "313" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1521" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + } + } + } + }, + { + "$id": "8285", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Update a SchemaRegistry", + "operation": { + "$id": "8286", + "name": "update", + "resourceName": "SchemaRegistry", + "doc": "Update a SchemaRegistry", + "accessibility": "public", + "parameters": [ + { + "$id": "8287", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8289", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.apiVersion", + "readOnly": false + }, + { + "$id": "8290", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8291", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.subscriptionId" + }, + { + "$id": "8293", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.resourceGroupName" + }, + { + "$id": "8295", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.schemaRegistryName" + }, + { + "$id": "8297", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "315" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.contentType" + }, + { + "$id": "8298", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "317" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.accept" + }, + { + "$id": "8299", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1544" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "8300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8301", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8302", + "kind": "http", + "name": "Update_SchemaRegistry", + "description": "Update_SchemaRegistry", + "filePath": "2025-11-01-preview/Update_SchemaRegistry.json", + "parameters": [ + { + "parameter": { + "$ref": "8287" + }, + "value": { + "$id": "8303", + "kind": "string", + "type": { + "$ref": "8288" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8290" + }, + "value": { + "$id": "8304", + "kind": "string", + "type": { + "$ref": "8291" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8293" + }, + "value": { + "$id": "8305", + "kind": "string", + "type": { + "$ref": "8294" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8295" + }, + "value": { + "$id": "8306", + "kind": "string", + "type": { + "$ref": "8296" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8299" + }, + "value": { + "$id": "8307", + "kind": "model", + "type": { + "$ref": "1544" + }, + "value": { + "properties": { + "$id": "8308", + "kind": "model", + "type": { + "$ref": "1548" + }, + "value": { + "displayName": { + "$id": "8309", + "kind": "string", + "type": { + "$ref": "1550" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8310", + "kind": "string", + "type": { + "$ref": "1552" + }, + "value": "This is a sample Schema Registry" + } + } + }, + "tags": { + "$id": "8311", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8312", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8313", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8314", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8315", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8316", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8317", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8318", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8319", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8320", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8321", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8322", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8323", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8324", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8325", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8326", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8327", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8328", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8329", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8330", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8331", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "8300" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8301" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8332", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8333", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8334", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8335", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8336", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1544" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8337", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "319" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8338", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "321" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1521" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1521" + } + } + } + }, + { + "$id": "8339", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a SchemaRegistry", + "operation": { + "$id": "8340", + "name": "delete", + "resourceName": "SchemaRegistry", + "doc": "Delete a SchemaRegistry", + "accessibility": "public", + "parameters": [ + { + "$id": "8341", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8342", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.apiVersion", + "readOnly": false + }, + { + "$id": "8344", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8345", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8346", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.subscriptionId" + }, + { + "$id": "8347", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8348", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.resourceGroupName" + }, + { + "$id": "8349", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.schemaRegistryName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "8351", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8352", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8353", + "kind": "http", + "name": "Delete_SchemaRegistry", + "description": "Delete_SchemaRegistry", + "filePath": "2025-11-01-preview/Delete_SchemaRegistry.json", + "parameters": [ + { + "parameter": { + "$ref": "8341" + }, + "value": { + "$id": "8354", + "kind": "string", + "type": { + "$ref": "8342" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8344" + }, + "value": { + "$id": "8355", + "kind": "string", + "type": { + "$ref": "8345" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8347" + }, + "value": { + "$id": "8356", + "kind": "string", + "type": { + "$ref": "8348" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8349" + }, + "value": { + "$id": "8357", + "kind": "string", + "type": { + "$ref": "8350" + }, + "value": "my-schema-registry" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "8351" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8352" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8358", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8360", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8361", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "8362", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List SchemaRegistry resources by resource group", + "operation": { + "$id": "8363", + "name": "listByResourceGroup", + "resourceName": "SchemaRegistry", + "doc": "List SchemaRegistry resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "8364", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8366", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "8367", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8368", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8369", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.subscriptionId" + }, + { + "$id": "8370", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.resourceGroupName" + }, + { + "$id": "8372", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "323" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1553" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8373", + "kind": "http", + "name": "List_SchemaRegistries_ResourceGroup", + "description": "List_SchemaRegistries_ResourceGroup", + "filePath": "2025-11-01-preview/List_SchemaRegistries_ByResourceGroup.json", + "parameters": [ + { + "parameter": { + "$ref": "8364" + }, + "value": { + "$id": "8374", + "kind": "string", + "type": { + "$ref": "8365" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8367" + }, + "value": { + "$id": "8375", + "kind": "string", + "type": { + "$ref": "8368" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8370" + }, + "value": { + "$id": "8376", + "kind": "string", + "type": { + "$ref": "8371" + }, + "value": "myResourceGroup" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1553" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8377", + "kind": "model", + "type": { + "$ref": "1553" + }, + "value": { + "value": { + "$id": "8378", + "kind": "array", + "type": { + "$ref": "1555" + }, + "value": [ + { + "$id": "8379", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8380", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8381", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8382", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8383", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8384", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8385", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8386", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8387", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8388", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8389", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8390", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8391", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8392", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8393", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8394", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8395", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8396", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8397", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8398", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "8399", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8400", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry-2" + }, + "name": { + "$id": "8401", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry-2" + }, + "type": { + "$id": "8402", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8403", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8404", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8405", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8406", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8407", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8408", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8409", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8410", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8411", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8412", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8413", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "namespace": { + "$id": "8414", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-002" + }, + "displayName": { + "$id": "8415", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 002" + }, + "description": { + "$id": "8416", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is another sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8417", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage-2.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8418", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8419", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8420", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8421", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "323" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1555" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "8422", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List SchemaRegistry resources by subscription ID", + "operation": { + "$id": "8423", + "name": "listBySubscription", + "resourceName": "SchemaRegistry", + "doc": "List SchemaRegistry resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "8424", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8425", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8426", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "8427", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8428", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8429", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription.subscriptionId" + }, + { + "$id": "8430", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "325" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1553" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/schemaRegistries", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8431", + "kind": "http", + "name": "List_SchemaRegistries_Subscription", + "description": "List_SchemaRegistries_Subscription", + "filePath": "2025-11-01-preview/List_SchemaRegistries_BySubscription.json", + "parameters": [ + { + "parameter": { + "$ref": "8424" + }, + "value": { + "$id": "8432", + "kind": "string", + "type": { + "$ref": "8425" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8427" + }, + "value": { + "$id": "8433", + "kind": "string", + "type": { + "$ref": "8428" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1553" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8434", + "kind": "model", + "type": { + "$ref": "1553" + }, + "value": { + "value": { + "$id": "8435", + "kind": "array", + "type": { + "$ref": "1555" + }, + "value": [ + { + "$id": "8436", + "kind": "model", + "type": { + "$ref": "1521" + }, + "value": { + "id": { + "$id": "8437", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry" + }, + "name": { + "$id": "8438", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "my-schema-registry" + }, + "type": { + "$id": "8439", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries" + }, + "tags": { + "$id": "8440", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": {} + }, + "location": { + "$id": "8441", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "West Europe" + }, + "systemData": { + "$id": "8442", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8443", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8444", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8445", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8446", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8447", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8448", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8449", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "uuid": { + "$id": "8450", + "kind": "string", + "type": { + "$ref": "1531" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "namespace": { + "$id": "8451", + "kind": "string", + "type": { + "$ref": "1533" + }, + "value": "sr-namespace-001" + }, + "displayName": { + "$id": "8452", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "Schema Registry namespace 001" + }, + "description": { + "$id": "8453", + "kind": "string", + "type": { + "$ref": "1537" + }, + "value": "This is a sample Schema Registry" + }, + "storageAccountContainerUrl": { + "$id": "8454", + "kind": "string", + "type": { + "$ref": "1539" + }, + "value": "my-blob-storage.blob.core.windows.net/my-container" + }, + "provisioningState": { + "$id": "8455", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8456", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "325" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1555" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "8457", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "8458", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "8459", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "8460", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "8462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8463", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8464", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaRegistries", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "8466", + "kind": "client", + "name": "Schemas", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "8467", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a Schema", + "operation": { + "$id": "8468", + "name": "get", + "resourceName": "Schema", + "doc": "Get a Schema", + "accessibility": "public", + "parameters": [ + { + "$id": "8469", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8470", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8471", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.apiVersion", + "readOnly": false + }, + { + "$id": "8472", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8473", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8474", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.subscriptionId" + }, + { + "$id": "8475", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8476", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.resourceGroupName" + }, + { + "$id": "8477", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8478", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.schemaRegistryName" + }, + { + "$id": "8479", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8480", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.schemaName" + }, + { + "$id": "8481", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "327" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8482", + "kind": "http", + "name": "Schemas_Get", + "description": "Schemas_Get", + "filePath": "2025-11-01-preview/Get_Schema.json", + "parameters": [ + { + "parameter": { + "$ref": "8469" + }, + "value": { + "$id": "8483", + "kind": "string", + "type": { + "$ref": "8470" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8472" + }, + "value": { + "$id": "8484", + "kind": "string", + "type": { + "$ref": "8473" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8475" + }, + "value": { + "$id": "8485", + "kind": "string", + "type": { + "$ref": "8476" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8477" + }, + "value": { + "$id": "8486", + "kind": "string", + "type": { + "$ref": "8478" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8479" + }, + "value": { + "$id": "8487", + "kind": "string", + "type": { + "$ref": "8480" + }, + "value": "my-schema" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8488", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "id": { + "$id": "8489", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema" + }, + "name": { + "$id": "8490", + "kind": "string", + "type": { + "$ref": "1577" + }, + "value": "my-schema" + }, + "type": { + "$id": "8491", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas" + }, + "systemData": { + "$id": "8492", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8493", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8494", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8495", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8496", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8497", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8498", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8499", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "uuid": { + "$id": "8500", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "8501", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema" + }, + "description": { + "$id": "8502", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is a sample Schema" + }, + "format": { + "$id": "8503", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8504", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "provisioningState": { + "$id": "8505", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "tags": { + "$id": "8506", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8507", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8508", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8510", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8511", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8512", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8513", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8514", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "327" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1559" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get" + }, + { + "$id": "8515", + "kind": "basic", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a Schema", + "operation": { + "$id": "8516", + "name": "createOrReplace", + "resourceName": "Schema", + "doc": "Create a Schema", + "accessibility": "public", + "parameters": [ + { + "$id": "8517", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8518", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8519", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "8520", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8521", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8522", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.subscriptionId" + }, + { + "$id": "8523", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8524", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.resourceGroupName" + }, + { + "$id": "8525", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8526", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.schemaRegistryName" + }, + { + "$id": "8527", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8528", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.schemaName" + }, + { + "$id": "8529", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "329" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.contentType" + }, + { + "$id": "8530", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "331" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.accept" + }, + { + "$id": "8531", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1559" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8532", + "kind": "http", + "name": "CreateOrReplace_Schema", + "description": "CreateOrReplace_Schema", + "filePath": "2025-11-01-preview/CreateOrReplace_Schema.json", + "parameters": [ + { + "parameter": { + "$ref": "8517" + }, + "value": { + "$id": "8533", + "kind": "string", + "type": { + "$ref": "8518" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8520" + }, + "value": { + "$id": "8534", + "kind": "string", + "type": { + "$ref": "8521" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8523" + }, + "value": { + "$id": "8535", + "kind": "string", + "type": { + "$ref": "8524" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8525" + }, + "value": { + "$id": "8536", + "kind": "string", + "type": { + "$ref": "8526" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8527" + }, + "value": { + "$id": "8537", + "kind": "string", + "type": { + "$ref": "8528" + }, + "value": "my-schema" + } + }, + { + "parameter": { + "$ref": "8531" + }, + "value": { + "$id": "8538", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "properties": { + "$id": "8539", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "displayName": { + "$id": "8540", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema" + }, + "description": { + "$id": "8541", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is a sample Schema" + }, + "format": { + "$id": "8542", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8543", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "tags": { + "$id": "8544", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8545", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8546", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "id": { + "$id": "8547", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema" + }, + "name": { + "$id": "8548", + "kind": "string", + "type": { + "$ref": "1577" + }, + "value": "my-schema" + }, + "type": { + "$id": "8549", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas" + }, + "systemData": { + "$id": "8550", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8551", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8552", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8553", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8554", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8555", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8556", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8557", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "uuid": { + "$id": "8558", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "8559", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema" + }, + "description": { + "$id": "8560", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is a sample Schema" + }, + "format": { + "$id": "8561", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8562", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "provisioningState": { + "$id": "8563", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "tags": { + "$id": "8564", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8565", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1559" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "8566", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "id": { + "$id": "8567", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema" + }, + "name": { + "$id": "8568", + "kind": "string", + "type": { + "$ref": "1577" + }, + "value": "my-schema" + }, + "type": { + "$id": "8569", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas" + }, + "systemData": { + "$id": "8570", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8571", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8572", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8573", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8574", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8575", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8576", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8577", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "uuid": { + "$id": "8578", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "8579", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema" + }, + "description": { + "$id": "8580", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is a sample Schema" + }, + "format": { + "$id": "8581", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8582", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "provisioningState": { + "$id": "8583", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "tags": { + "$id": "8584", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8585", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8586", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8587", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8588", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8590", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8592", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1559" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8593", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "329" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8594", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "331" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1559" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.createOrReplace" + }, + { + "$id": "8595", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a Schema", + "operation": { + "$id": "8596", + "name": "delete", + "resourceName": "Schema", + "doc": "Delete a Schema", + "accessibility": "public", + "parameters": [ + { + "$id": "8597", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8599", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.apiVersion", + "readOnly": false + }, + { + "$id": "8600", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8601", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.subscriptionId" + }, + { + "$id": "8603", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.resourceGroupName" + }, + { + "$id": "8605", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8606", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.schemaRegistryName" + }, + { + "$id": "8607", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.schemaName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "8609", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8610", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8611", + "kind": "http", + "name": "Delete_Schema", + "description": "Delete_Schema", + "filePath": "2025-11-01-preview/Delete_Schema.json", + "parameters": [ + { + "parameter": { + "$ref": "8597" + }, + "value": { + "$id": "8612", + "kind": "string", + "type": { + "$ref": "8598" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8600" + }, + "value": { + "$id": "8613", + "kind": "string", + "type": { + "$ref": "8601" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8603" + }, + "value": { + "$id": "8614", + "kind": "string", + "type": { + "$ref": "8604" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8605" + }, + "value": { + "$id": "8615", + "kind": "string", + "type": { + "$ref": "8606" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8607" + }, + "value": { + "$id": "8616", + "kind": "string", + "type": { + "$ref": "8608" + }, + "value": "my-schema" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "8609" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8610" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8617", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8618", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8619", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8621", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "8623", + "kind": "paging", + "name": "listBySchemaRegistry", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List Schema resources by SchemaRegistry", + "operation": { + "$id": "8624", + "name": "listBySchemaRegistry", + "resourceName": "Schema", + "doc": "List Schema resources by SchemaRegistry", + "accessibility": "public", + "parameters": [ + { + "$id": "8625", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8626", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8627", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.apiVersion", + "readOnly": false + }, + { + "$id": "8628", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8629", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.subscriptionId" + }, + { + "$id": "8631", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8632", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.resourceGroupName" + }, + { + "$id": "8633", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8634", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.schemaRegistryName" + }, + { + "$id": "8635", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "333" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1578" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8636", + "kind": "http", + "name": "List_Schemas_SchemaRegistry", + "description": "List_Schemas_SchemaRegistry", + "filePath": "2025-11-01-preview/List_Schemas_BySchemaRegistry.json", + "parameters": [ + { + "parameter": { + "$ref": "8625" + }, + "value": { + "$id": "8637", + "kind": "string", + "type": { + "$ref": "8626" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8628" + }, + "value": { + "$id": "8638", + "kind": "string", + "type": { + "$ref": "8629" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8631" + }, + "value": { + "$id": "8639", + "kind": "string", + "type": { + "$ref": "8632" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8633" + }, + "value": { + "$id": "8640", + "kind": "string", + "type": { + "$ref": "8634" + }, + "value": "my-schema-registry" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1578" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8641", + "kind": "model", + "type": { + "$ref": "1578" + }, + "value": { + "value": { + "$id": "8642", + "kind": "array", + "type": { + "$ref": "1580" + }, + "value": [ + { + "$id": "8643", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "id": { + "$id": "8644", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema" + }, + "name": { + "$id": "8645", + "kind": "string", + "type": { + "$ref": "1577" + }, + "value": "my-schema" + }, + "type": { + "$id": "8646", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas" + }, + "systemData": { + "$id": "8647", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8648", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8649", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8650", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8651", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8652", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8653", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8654", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "uuid": { + "$id": "8655", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "displayName": { + "$id": "8656", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema" + }, + "description": { + "$id": "8657", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is a sample Schema" + }, + "format": { + "$id": "8658", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8659", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "provisioningState": { + "$id": "8660", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "tags": { + "$id": "8661", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8662", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + }, + { + "$id": "8663", + "kind": "model", + "type": { + "$ref": "1559" + }, + "value": { + "id": { + "$id": "8664", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema-2" + }, + "name": { + "$id": "8665", + "kind": "string", + "type": { + "$ref": "1577" + }, + "value": "my-schema-2" + }, + "type": { + "$id": "8666", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas" + }, + "systemData": { + "$id": "8667", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8668", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8669", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8670", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8671", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8672", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8673", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8674", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "uuid": { + "$id": "8675", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "7824a74f-21e1-4458-ae06-604d3a241d2c" + }, + "displayName": { + "$id": "8676", + "kind": "string", + "type": { + "$ref": "1569" + }, + "value": "My Schema 2" + }, + "description": { + "$id": "8677", + "kind": "string", + "type": { + "$ref": "1571" + }, + "value": "This is another sample Schema" + }, + "format": { + "$id": "8678", + "kind": "string", + "type": { + "$ref": "88" + }, + "value": "JsonSchema/draft-07" + }, + "schemaType": { + "$id": "8679", + "kind": "string", + "type": { + "$ref": "92" + }, + "value": "MessageSchema" + }, + "provisioningState": { + "$id": "8680", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + }, + "tags": { + "$id": "8681", + "kind": "dict", + "type": { + "$ref": "416" + }, + "value": { + "sampleKey": { + "$id": "8682", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "sampleValue" + } + } + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8683", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8684", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8685", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8687", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "333" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1580" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "8688", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "8689", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "8690", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "8691", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8692", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "8693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8694", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8695", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Schemas", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + }, + { + "$id": "8697", + "kind": "client", + "name": "SchemaVersions", + "namespace": "Azure.ResourceManager.DeviceRegistry", + "methods": [ + { + "$id": "8698", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Get a SchemaVersion", + "operation": { + "$id": "8699", + "name": "get", + "resourceName": "SchemaVersion", + "doc": "Get a SchemaVersion", + "accessibility": "public", + "parameters": [ + { + "$id": "8700", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8702", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.apiVersion", + "readOnly": false + }, + { + "$id": "8703", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8704", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.subscriptionId" + }, + { + "$id": "8706", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8707", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.resourceGroupName" + }, + { + "$id": "8708", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaRegistryName" + }, + { + "$id": "8710", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8711", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaName" + }, + { + "$id": "8712", + "kind": "path", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8713", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaVersionName" + }, + { + "$id": "8714", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "335" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8715", + "kind": "http", + "name": "Get_SchemaVersion", + "description": "Get_SchemaVersion", + "filePath": "2025-11-01-preview/Get_SchemaVersion.json", + "parameters": [ + { + "parameter": { + "$ref": "8700" + }, + "value": { + "$id": "8716", + "kind": "string", + "type": { + "$ref": "8701" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8703" + }, + "value": { + "$id": "8717", + "kind": "string", + "type": { + "$ref": "8704" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8706" + }, + "value": { + "$id": "8718", + "kind": "string", + "type": { + "$ref": "8707" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8708" + }, + "value": { + "$id": "8719", + "kind": "string", + "type": { + "$ref": "8709" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8710" + }, + "value": { + "$id": "8720", + "kind": "string", + "type": { + "$ref": "8711" + }, + "value": "my-schema" + } + }, + { + "parameter": { + "$ref": "8712" + }, + "value": { + "$id": "8721", + "kind": "string", + "type": { + "$ref": "8713" + }, + "value": "1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8722", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "id": { + "$id": "8723", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema/schemaVersions/1" + }, + "name": { + "$id": "8724", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "1" + }, + "type": { + "$id": "8725", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions" + }, + "systemData": { + "$id": "8726", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8727", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8728", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8729", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8730", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8731", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8732", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8733", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "uuid": { + "$id": "8734", + "kind": "string", + "type": { + "$ref": "1592" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "description": { + "$id": "8735", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 1" + }, + "schemaContent": { + "$id": "8736", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}}}" + }, + "hash": { + "$id": "8737", + "kind": "string", + "type": { + "$ref": "1598" + }, + "value": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" + }, + "provisioningState": { + "$id": "8738", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8739", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8740", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8741", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8742", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8743", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8744", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8745", + "kind": "method", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8746", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.schemaVersionName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8747", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "335" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1584" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get" + }, + { + "$id": "8748", + "kind": "basic", + "name": "createOrReplace", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Create a SchemaVersion", + "operation": { + "$id": "8749", + "name": "createOrReplace", + "resourceName": "SchemaVersion", + "doc": "Create a SchemaVersion", + "accessibility": "public", + "parameters": [ + { + "$id": "8750", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8751", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8752", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.apiVersion", + "readOnly": false + }, + { + "$id": "8753", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8754", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8755", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.subscriptionId" + }, + { + "$id": "8756", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8757", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.resourceGroupName" + }, + { + "$id": "8758", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8759", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaRegistryName" + }, + { + "$id": "8760", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8761", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaName" + }, + { + "$id": "8762", + "kind": "path", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8763", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaVersionName" + }, + { + "$id": "8764", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "337" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.contentType" + }, + { + "$id": "8765", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "339" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.accept" + }, + { + "$id": "8766", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1584" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8767", + "kind": "http", + "name": "CreateOrReplace_SchemaVersion", + "description": "CreateOrReplace_SchemaVersion", + "filePath": "2025-11-01-preview/CreateOrReplace_SchemaVersion.json", + "parameters": [ + { + "parameter": { + "$ref": "8750" + }, + "value": { + "$id": "8768", + "kind": "string", + "type": { + "$ref": "8751" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8753" + }, + "value": { + "$id": "8769", + "kind": "string", + "type": { + "$ref": "8754" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8756" + }, + "value": { + "$id": "8770", + "kind": "string", + "type": { + "$ref": "8757" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8758" + }, + "value": { + "$id": "8771", + "kind": "string", + "type": { + "$ref": "8759" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8760" + }, + "value": { + "$id": "8772", + "kind": "string", + "type": { + "$ref": "8761" + }, + "value": "my-schema" + } + }, + { + "parameter": { + "$ref": "8762" + }, + "value": { + "$id": "8773", + "kind": "string", + "type": { + "$ref": "8763" + }, + "value": "1" + } + }, + { + "parameter": { + "$ref": "8766" + }, + "value": { + "$id": "8774", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "properties": { + "$id": "8775", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "description": { + "$id": "8776", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 1" + }, + "schemaContent": { + "$id": "8777", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}}}" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8778", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "id": { + "$id": "8779", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema/schemaVersions/1" + }, + "name": { + "$id": "8780", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "1" + }, + "type": { + "$id": "8781", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions" + }, + "systemData": { + "$id": "8782", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8783", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8784", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8785", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8786", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8787", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8788", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8789", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "uuid": { + "$id": "8790", + "kind": "string", + "type": { + "$ref": "1592" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "description": { + "$id": "8791", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 1" + }, + "schemaContent": { + "$id": "8792", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}}}" + }, + "hash": { + "$id": "8793", + "kind": "string", + "type": { + "$ref": "1598" + }, + "value": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" + }, + "provisioningState": { + "$id": "8794", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1584" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "8795", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "id": { + "$id": "8796", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema/schemaVersions/1" + }, + "name": { + "$id": "8797", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "1" + }, + "type": { + "$id": "8798", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions" + }, + "systemData": { + "$id": "8799", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8800", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8801", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8802", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8803", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8804", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8805", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8806", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "uuid": { + "$id": "8807", + "kind": "string", + "type": { + "$ref": "1592" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "description": { + "$id": "8808", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 1" + }, + "schemaContent": { + "$id": "8809", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}}}" + }, + "hash": { + "$id": "8810", + "kind": "string", + "type": { + "$ref": "1598" + }, + "value": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" + }, + "provisioningState": { + "$id": "8811", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8812", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8813", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8814", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8815", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8816", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8818", + "kind": "method", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8819", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.schemaVersionName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8820", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1584" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8821", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "337" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8822", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "339" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1584" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.createOrReplace" + }, + { + "$id": "8823", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "Delete a SchemaVersion", + "operation": { + "$id": "8824", + "name": "delete", + "resourceName": "SchemaVersion", + "doc": "Delete a SchemaVersion", + "accessibility": "public", + "parameters": [ + { + "$id": "8825", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8826", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8827", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.apiVersion", + "readOnly": false + }, + { + "$id": "8828", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8829", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8830", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.subscriptionId" + }, + { + "$id": "8831", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8832", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.resourceGroupName" + }, + { + "$id": "8833", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8834", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaRegistryName" + }, + { + "$id": "8835", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8836", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaName" + }, + { + "$id": "8837", + "kind": "path", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8838", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaVersionName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "8839", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "8840", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8841", + "kind": "http", + "name": "Delete_SchemaVersion", + "description": "Delete_SchemaVersion", + "filePath": "2025-11-01-preview/Delete_SchemaVersion.json", + "parameters": [ + { + "parameter": { + "$ref": "8825" + }, + "value": { + "$id": "8842", + "kind": "string", + "type": { + "$ref": "8826" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8828" + }, + "value": { + "$id": "8843", + "kind": "string", + "type": { + "$ref": "8829" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8831" + }, + "value": { + "$id": "8844", + "kind": "string", + "type": { + "$ref": "8832" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8833" + }, + "value": { + "$id": "8845", + "kind": "string", + "type": { + "$ref": "8834" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8835" + }, + "value": { + "$id": "8846", + "kind": "string", + "type": { + "$ref": "8836" + }, + "value": "my-schema" + } + }, + { + "parameter": { + "$ref": "8837" + }, + "value": { + "$id": "8847", + "kind": "string", + "type": { + "$ref": "8838" + }, + "value": "1" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "8839" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "8840" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8848", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8849", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8850", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8851", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8852", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8853", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8854", + "kind": "method", + "name": "schemaVersionName", + "serializedName": "schemaVersionName", + "doc": "Schema version name parameter.", + "type": { + "$id": "8855", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete.schemaVersionName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "8856", + "kind": "paging", + "name": "listBySchema", + "accessibility": "public", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "doc": "List SchemaVersion resources by Schema", + "operation": { + "$id": "8857", + "name": "listBySchema", + "resourceName": "SchemaVersion", + "doc": "List SchemaVersion resources by Schema", + "accessibility": "public", + "parameters": [ + { + "$id": "8858", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8859", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "8860", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.apiVersion", + "readOnly": false + }, + { + "$id": "8861", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8862", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8863", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.subscriptionId" + }, + { + "$id": "8864", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8865", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.resourceGroupName" + }, + { + "$id": "8866", + "kind": "path", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8867", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.schemaRegistryName" + }, + { + "$id": "8868", + "kind": "path", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8869", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.schemaName" + }, + { + "$id": "8870", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "341" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1602" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "8871", + "kind": "http", + "name": "List_SchemaVersions_Schema", + "description": "List_SchemaVersions_Schema", + "filePath": "2025-11-01-preview/List_SchemaVersions_BySchema.json", + "parameters": [ + { + "parameter": { + "$ref": "8858" + }, + "value": { + "$id": "8872", + "kind": "string", + "type": { + "$ref": "8859" + }, + "value": "2025-11-01-preview" + } + }, + { + "parameter": { + "$ref": "8861" + }, + "value": { + "$id": "8873", + "kind": "string", + "type": { + "$ref": "8862" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "8864" + }, + "value": { + "$id": "8874", + "kind": "string", + "type": { + "$ref": "8865" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "8866" + }, + "value": { + "$id": "8875", + "kind": "string", + "type": { + "$ref": "8867" + }, + "value": "my-schema-registry" + } + }, + { + "parameter": { + "$ref": "8868" + }, + "value": { + "$id": "8876", + "kind": "string", + "type": { + "$ref": "8869" + }, + "value": "my-schema" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1602" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "8877", + "kind": "model", + "type": { + "$ref": "1602" + }, + "value": { + "value": { + "$id": "8878", + "kind": "array", + "type": { + "$ref": "1604" + }, + "value": [ + { + "$id": "8879", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "id": { + "$id": "8880", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema/schemaVersions/1" + }, + "name": { + "$id": "8881", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "1" + }, + "type": { + "$id": "8882", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions" + }, + "systemData": { + "$id": "8883", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8884", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8885", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8886", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8887", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8888", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8889", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8890", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "uuid": { + "$id": "8891", + "kind": "string", + "type": { + "$ref": "1592" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "description": { + "$id": "8892", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 1" + }, + "schemaContent": { + "$id": "8893", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}}}" + }, + "hash": { + "$id": "8894", + "kind": "string", + "type": { + "$ref": "1598" + }, + "value": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" + }, + "provisioningState": { + "$id": "8895", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + }, + { + "$id": "8896", + "kind": "model", + "type": { + "$ref": "1584" + }, + "value": { + "id": { + "$id": "8897", + "kind": "string", + "type": { + "$ref": "394" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/schemaRegistries/my-schema-registry/schemas/my-schema/schemaVersions/2" + }, + "name": { + "$id": "8898", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "2" + }, + "type": { + "$id": "8899", + "kind": "string", + "type": { + "$ref": "399" + }, + "value": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions" + }, + "systemData": { + "$id": "8900", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "createdBy": { + "$id": "8901", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "createdByType": { + "$id": "8902", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "createdAt": { + "$id": "8903", + "kind": "string", + "type": { + "$ref": "407" + }, + "value": "2022-11-16T00:36:43.2516899Z" + }, + "lastModifiedBy": { + "$id": "8904", + "kind": "string", + "type": { + "$ref": "410" + }, + "value": "2ta23112-4596-44ff-b773-19405922bfc1" + }, + "lastModifiedByType": { + "$id": "8905", + "kind": "string", + "type": { + "$ref": "31" + }, + "value": "Application" + }, + "lastModifiedAt": { + "$id": "8906", + "kind": "string", + "type": { + "$ref": "413" + }, + "value": "2022-11-16T01:37:16.0922793Z" + } + } + }, + "properties": { + "$id": "8907", + "kind": "model", + "type": { + "$ref": "1590" + }, + "value": { + "uuid": { + "$id": "8908", + "kind": "string", + "type": { + "$ref": "1592" + }, + "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d" + }, + "description": { + "$id": "8909", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "Schema version 2" + }, + "schemaContent": { + "$id": "8910", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "{\"$schema\": \"http://json-schema.org/draft-07/schema#\",\"type\": \"object\",\"properties\": {\"humidity\": {\"type\": \"string\"},\"temperature\": {\"type\":\"number\"}, {\"pressure\": {\"type\": \"number\"}}}" + }, + "hash": { + "$id": "8911", + "kind": "string", + "type": { + "$ref": "1598" + }, + "value": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" + }, + "provisioningState": { + "$id": "8912", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "8913", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "8914", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8915", + "kind": "method", + "name": "schemaRegistryName", + "serializedName": "schemaRegistryName", + "doc": "Schema registry name parameter.", + "type": { + "$id": "8916", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.schemaRegistryName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8917", + "kind": "method", + "name": "schemaName", + "serializedName": "schemaName", + "doc": "Schema name parameter.", + "type": { + "$id": "8918", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.schemaName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8919", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "341" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "1604" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.listBySchema", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "8920", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "8921", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "8922", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.endpoint" + }, + { + "$id": "8923", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "8924", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "8925", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-11-01-preview" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8926", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "8927", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "8928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.SchemaVersions", + "apiVersions": [ + "2024-09-01-preview", + "2025-07-01-preview", + "2025-10-01", + "2025-11-01-preview" + ], + "parent": { + "$ref": "1608" + } + } + ] + } + ], + "auth": { + "oAuth2": { + "flows": [ + { + "scopes": [ + "user_impersonation" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenMemberAttribute.cs index ae1227a12708..72778edeb7e4 100644 --- a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DurableTask +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSerializationAttribute.cs index 76967e48f7e6..dfcabf517497 100644 --- a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DurableTask +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSuppressAttribute.cs index a9a12cfe93f9..38d536e69173 100644 --- a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DurableTask +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenTypeAttribute.cs index 51fe8ec73c75..f36b5f513173 100644 --- a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.DurableTask +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/dynatrace/Azure.ResourceManager.Dynatrace/Configuration.json b/sdk/dynatrace/Azure.ResourceManager.Dynatrace/Configuration.json new file mode 100644 index 000000000000..0da44e76ab80 --- /dev/null +++ b/sdk/dynatrace/Azure.ResourceManager.Dynatrace/Configuration.json @@ -0,0 +1,12 @@ +{ + "package-name": "Azure.ResourceManager.Dynatrace", + "namespace": "Azure.ResourceManager.Dynatrace", + "model-namespace": true, + "license": { + "name": "MIT License", + "company": "Microsoft Corporation", + "link": "https://mit-license.org", + "header": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.", + "description": "Copyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + } +} diff --git a/sdk/dynatrace/Azure.ResourceManager.Dynatrace/tspCodeModel.json b/sdk/dynatrace/Azure.ResourceManager.Dynatrace/tspCodeModel.json new file mode 100644 index 000000000000..088dcbedaa22 --- /dev/null +++ b/sdk/dynatrace/Azure.ResourceManager.Dynatrace/tspCodeModel.json @@ -0,0 +1,30673 @@ +{ + "name": "Azure.ResourceManager.Dynatrace", + "apiVersions": [ + "2024-04-24" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "5", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "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": "6", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "8", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$ref": "7" + }, + "enumType": { + "$ref": "6" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "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": "9", + "kind": "enum", + "name": "DynatraceMonitoredSubscriptionOperation", + "crossLanguageDefinitionId": "Dynatrace.Observability.SubscriptionListOperation", + "valueType": { + "$id": "10", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "11", + "kind": "enumvalue", + "name": "AddBegin", + "value": "AddBegin", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "AddComplete", + "value": "AddComplete", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "decorators": [] + }, + { + "$id": "13", + "kind": "enumvalue", + "name": "DeleteBegin", + "value": "DeleteBegin", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "DeleteComplete", + "value": "DeleteComplete", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "decorators": [] + }, + { + "$id": "15", + "kind": "enumvalue", + "name": "Active", + "value": "Active", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The operation for the patch on the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "16", + "kind": "enum", + "name": "DynatraceMonitoringState", + "crossLanguageDefinitionId": "Dynatrace.Observability.Status", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "18", + "kind": "enumvalue", + "name": "InProgress", + "value": "InProgress", + "valueType": { + "$ref": "17" + }, + "enumType": { + "$ref": "16" + }, + "decorators": [] + }, + { + "$id": "19", + "kind": "enumvalue", + "name": "Active", + "value": "Active", + "valueType": { + "$ref": "17" + }, + "enumType": { + "$ref": "16" + }, + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "17" + }, + "enumType": { + "$ref": "16" + }, + "decorators": [] + }, + { + "$id": "21", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$ref": "17" + }, + "enumType": { + "$ref": "16" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The state of monitoring.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "22", + "kind": "enum", + "name": "AadLogsSendingStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SendAadLogsStatus", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "24", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "23" + }, + "enumType": { + "$ref": "22" + }, + "decorators": [] + }, + { + "$id": "25", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "23" + }, + "enumType": { + "$ref": "22" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether AAD logs are being sent.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "26", + "kind": "enum", + "name": "SubscriptionLogsSendingStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SendSubscriptionLogsStatus", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "28", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "27" + }, + "enumType": { + "$ref": "26" + }, + "decorators": [] + }, + { + "$id": "29", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "27" + }, + "enumType": { + "$ref": "26" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether subscription logs are being sent.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "30", + "kind": "enum", + "name": "ActivityLogsSendingStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SendActivityLogsStatus", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "32", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "31" + }, + "enumType": { + "$ref": "30" + }, + "decorators": [] + }, + { + "$id": "33", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "31" + }, + "enumType": { + "$ref": "30" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether activity logs are being sent.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "34", + "kind": "enum", + "name": "DynatraceMonitorResourceTagAction", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagAction", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "36", + "kind": "enumvalue", + "name": "Include", + "value": "Include", + "valueType": { + "$ref": "35" + }, + "enumType": { + "$ref": "34" + }, + "decorators": [] + }, + { + "$id": "37", + "kind": "enumvalue", + "name": "Exclude", + "value": "Exclude", + "valueType": { + "$ref": "35" + }, + "enumType": { + "$ref": "34" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "38", + "kind": "enum", + "name": "MetricsSendingStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SendingMetricsStatus", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "40", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "39" + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "41", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "39" + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether metrics are being sent.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "42", + "kind": "enum", + "name": "DynatraceProvisioningState", + "crossLanguageDefinitionId": "Dynatrace.Observability.ProvisioningState", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "44", + "kind": "enumvalue", + "name": "Accepted", + "value": "Accepted", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "45", + "kind": "enumvalue", + "name": "Creating", + "value": "Creating", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "46", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "47", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "49", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "51", + "kind": "enumvalue", + "name": "Deleted", + "value": "Deleted", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + }, + { + "$id": "52", + "kind": "enumvalue", + "name": "NotSpecified", + "value": "NotSpecified", + "valueType": { + "$ref": "43" + }, + "enumType": { + "$ref": "42" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Provisioning state of the monitoring resource", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "53", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "55", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$ref": "54" + }, + "enumType": { + "$ref": "53" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "56", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$ref": "54" + }, + "enumType": { + "$ref": "53" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "57", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$ref": "54" + }, + "enumType": { + "$ref": "53" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$ref": "54" + }, + "enumType": { + "$ref": "53" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "59", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "60", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "61", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "60" + }, + "enumType": { + "$ref": "59" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "62", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "60" + }, + "enumType": { + "$ref": "59" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "63", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "60" + }, + "enumType": { + "$ref": "59" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "64", + "kind": "enum", + "name": "DynatraceMonitoringStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringStatus", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "66", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "65" + }, + "enumType": { + "$ref": "64" + }, + "decorators": [] + }, + { + "$id": "67", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "65" + }, + "enumType": { + "$ref": "64" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Flag specifying if the resource monitoring is enabled or disabled.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "68", + "kind": "enum", + "name": "DynatraceMonitorMarketplaceSubscriptionStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSubscriptionStatus", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "70", + "kind": "enumvalue", + "name": "Active", + "value": "Active", + "valueType": { + "$ref": "69" + }, + "enumType": { + "$ref": "68" + }, + "decorators": [] + }, + { + "$id": "71", + "kind": "enumvalue", + "name": "Suspended", + "value": "Suspended", + "valueType": { + "$ref": "69" + }, + "enumType": { + "$ref": "68" + }, + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "Unsubscribed", + "value": "Unsubscribed", + "valueType": { + "$ref": "69" + }, + "enumType": { + "$ref": "68" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "73", + "kind": "enum", + "name": "MarketplaceSaasAutoRenew", + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaasAutoRenew", + "valueType": { + "$id": "74", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "75", + "kind": "enumvalue", + "name": "On", + "value": "On", + "valueType": { + "$ref": "74" + }, + "enumType": { + "$ref": "73" + }, + "decorators": [] + }, + { + "$id": "76", + "kind": "enumvalue", + "name": "Off", + "value": "Off", + "valueType": { + "$ref": "74" + }, + "enumType": { + "$ref": "73" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Marketplace resource autorenew flag", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "77", + "kind": "enum", + "name": "DynatraceSingleSignOnState", + "crossLanguageDefinitionId": "Dynatrace.Observability.SingleSignOnStates", + "valueType": { + "$id": "78", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "79", + "kind": "enumvalue", + "name": "Initial", + "value": "Initial", + "valueType": { + "$ref": "78" + }, + "enumType": { + "$ref": "77" + }, + "decorators": [] + }, + { + "$id": "80", + "kind": "enumvalue", + "name": "Enable", + "value": "Enable", + "valueType": { + "$ref": "78" + }, + "enumType": { + "$ref": "77" + }, + "decorators": [] + }, + { + "$id": "81", + "kind": "enumvalue", + "name": "Disable", + "value": "Disable", + "valueType": { + "$ref": "78" + }, + "enumType": { + "$ref": "77" + }, + "decorators": [] + }, + { + "$id": "82", + "kind": "enumvalue", + "name": "Existing", + "value": "Existing", + "valueType": { + "$ref": "78" + }, + "enumType": { + "$ref": "77" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Various states of the SSO resource", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "83", + "kind": "enum", + "name": "LiftrResourceCategory", + "crossLanguageDefinitionId": "Dynatrace.Observability.LiftrResourceCategories", + "valueType": { + "$id": "84", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "85", + "kind": "enumvalue", + "name": "Unknown", + "value": "Unknown", + "valueType": { + "$ref": "84" + }, + "enumType": { + "$ref": "83" + }, + "decorators": [] + }, + { + "$id": "86", + "kind": "enumvalue", + "name": "MonitorLogs", + "value": "MonitorLogs", + "valueType": { + "$ref": "84" + }, + "enumType": { + "$ref": "83" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Liftr resource category", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "87", + "kind": "enum", + "name": "ManagedIdentityType", + "crossLanguageDefinitionId": "Dynatrace.Observability.ManagedIdentityType", + "valueType": { + "$id": "88", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "89", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$ref": "88" + }, + "enumType": { + "$ref": "87" + }, + "decorators": [] + }, + { + "$id": "90", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$ref": "88" + }, + "enumType": { + "$ref": "87" + }, + "decorators": [] + }, + { + "$id": "91", + "kind": "enumvalue", + "name": "SystemAndUserAssigned", + "value": "SystemAndUserAssigned", + "valueType": { + "$ref": "88" + }, + "enumType": { + "$ref": "87" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The kind of managed identity assigned to this resource.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "92", + "kind": "enum", + "name": "ManagedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "94", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "93" + }, + "enumType": { + "$ref": "92" + }, + "doc": "No managed identity.", + "decorators": [] + }, + { + "$id": "95", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$ref": "93" + }, + "enumType": { + "$ref": "92" + }, + "doc": "System assigned managed identity.", + "decorators": [] + }, + { + "$id": "96", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$ref": "93" + }, + "enumType": { + "$ref": "92" + }, + "doc": "User assigned managed identity.", + "decorators": [] + }, + { + "$id": "97", + "kind": "enumvalue", + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned", + "valueType": { + "$ref": "93" + }, + "enumType": { + "$ref": "92" + }, + "doc": "System and user assigned managed identity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "98", + "kind": "enum", + "name": "LogsSendingStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SendingLogsStatus", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "100", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "99" + }, + "enumType": { + "$ref": "98" + }, + "decorators": [] + }, + { + "$id": "101", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "99" + }, + "enumType": { + "$ref": "98" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether logs are being sent.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "102", + "kind": "enum", + "name": "DynatraceAgentAction", + "crossLanguageDefinitionId": "Dynatrace.Observability.Action", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "104", + "kind": "enumvalue", + "name": "Install", + "value": "Install", + "valueType": { + "$ref": "103" + }, + "enumType": { + "$ref": "102" + }, + "decorators": [] + }, + { + "$id": "105", + "kind": "enumvalue", + "name": "Uninstall", + "value": "Uninstall", + "valueType": { + "$ref": "103" + }, + "enumType": { + "$ref": "102" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Install/Uninstall action.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "106", + "kind": "enum", + "name": "DynatraceOneAgentMonitoringType", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringType", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "108", + "kind": "enumvalue", + "name": "CloudInfrastructure", + "value": "CLOUD_INFRASTRUCTURE", + "valueType": { + "$ref": "107" + }, + "enumType": { + "$ref": "106" + }, + "decorators": [] + }, + { + "$id": "109", + "kind": "enumvalue", + "name": "FullStack", + "value": "FULL_STACK", + "valueType": { + "$ref": "107" + }, + "enumType": { + "$ref": "106" + }, + "decorators": [] + }, + { + "$id": "110", + "kind": "enumvalue", + "name": "Discovery", + "value": "DISCOVERY", + "valueType": { + "$ref": "107" + }, + "enumType": { + "$ref": "106" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The monitoring mode of OneAgent", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "111", + "kind": "enum", + "name": "DynatraceOneAgentAutoUpdateSetting", + "crossLanguageDefinitionId": "Dynatrace.Observability.AutoUpdateSetting", + "valueType": { + "$id": "112", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "113", + "kind": "enumvalue", + "name": "Enabled", + "value": "ENABLED", + "valueType": { + "$ref": "112" + }, + "enumType": { + "$ref": "111" + }, + "decorators": [] + }, + { + "$id": "114", + "kind": "enumvalue", + "name": "Disabled", + "value": "DISABLED", + "valueType": { + "$ref": "112" + }, + "enumType": { + "$ref": "111" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Update settings of OneAgent.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "115", + "kind": "enum", + "name": "DynatraceOneAgentUpdateStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.UpdateStatus", + "valueType": { + "$id": "116", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "117", + "kind": "enumvalue", + "name": "Incompatible", + "value": "INCOMPATIBLE", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "118", + "kind": "enumvalue", + "name": "Outdated", + "value": "OUTDATED", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "119", + "kind": "enumvalue", + "name": "Scheduled", + "value": "SCHEDULED", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "120", + "kind": "enumvalue", + "name": "Suppressed", + "value": "SUPPRESSED", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "121", + "kind": "enumvalue", + "name": "Unknown", + "value": "UNKNOWN", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "122", + "kind": "enumvalue", + "name": "UpToDate", + "value": "UP2DATE", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "123", + "kind": "enumvalue", + "name": "UpdateInProgress", + "value": "UPDATE_IN_PROGRESS", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "124", + "kind": "enumvalue", + "name": "UpdatePending", + "value": "UPDATE_PENDING", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + }, + { + "$id": "125", + "kind": "enumvalue", + "name": "UpdateProblem", + "value": "UPDATE_PROBLEM", + "valueType": { + "$ref": "116" + }, + "enumType": { + "$ref": "115" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The current update status of OneAgent.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "126", + "kind": "enum", + "name": "DynatraceOneAgentAvailabilityState", + "crossLanguageDefinitionId": "Dynatrace.Observability.AvailabilityState", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "128", + "kind": "enumvalue", + "name": "Crashed", + "value": "CRASHED", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "129", + "kind": "enumvalue", + "name": "Lost", + "value": "LOST", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "130", + "kind": "enumvalue", + "name": "Monitored", + "value": "MONITORED", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "131", + "kind": "enumvalue", + "name": "PreMonitored", + "value": "PRE_MONITORED", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "132", + "kind": "enumvalue", + "name": "Shutdown", + "value": "SHUTDOWN", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "133", + "kind": "enumvalue", + "name": "UnexpectedShutdown", + "value": "UNEXPECTED_SHUTDOWN", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "134", + "kind": "enumvalue", + "name": "Unknown", + "value": "UNKNOWN", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + }, + { + "$id": "135", + "kind": "enumvalue", + "name": "Unmonitored", + "value": "UNMONITORED", + "valueType": { + "$ref": "127" + }, + "enumType": { + "$ref": "126" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The availability state of OneAgent.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "136", + "kind": "enum", + "name": "DynatraceLogModuleState", + "crossLanguageDefinitionId": "Dynatrace.Observability.LogModule", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "138", + "kind": "enumvalue", + "name": "Enabled", + "value": "ENABLED", + "valueType": { + "$ref": "137" + }, + "enumType": { + "$ref": "136" + }, + "decorators": [] + }, + { + "$id": "139", + "kind": "enumvalue", + "name": "Disabled", + "value": "DISABLED", + "valueType": { + "$ref": "137" + }, + "enumType": { + "$ref": "136" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Tells whether log modules are enabled or not", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "140", + "kind": "enum", + "name": "DynatraceSsoStatus", + "crossLanguageDefinitionId": "Dynatrace.Observability.SSOStatus", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "142", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "141" + }, + "enumType": { + "$ref": "140" + }, + "decorators": [] + }, + { + "$id": "143", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "141" + }, + "enumType": { + "$ref": "140" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "Indicates whether SSO is enabled or not", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "144", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Dynatrace.Observability.Versions", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "146", + "kind": "enumvalue", + "name": "v2024_04_24", + "value": "2024-04-24", + "valueType": { + "$ref": "145" + }, + "enumType": { + "$ref": "144" + }, + "doc": "The 2024-04-24 API version.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "doc": "The available API versions.", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "constants": [ + { + "$id": "147", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "148", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "149", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "151", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "153", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "154", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "155", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "157", + "kind": "constant", + "name": "updateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "158", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "159", + "kind": "constant", + "name": "updateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "160", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "161", + "kind": "constant", + "name": "updateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "162", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "163", + "kind": "constant", + "name": "listContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "164", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "165", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "167", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "169", + "kind": "constant", + "name": "createOrUpdateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "171", + "kind": "constant", + "name": "createOrUpdateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "173", + "kind": "constant", + "name": "createOrUpdateContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "175", + "kind": "constant", + "name": "listContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "177", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "179", + "kind": "constant", + "name": "createOrUpdateContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "181", + "kind": "constant", + "name": "createOrUpdateContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "183", + "kind": "constant", + "name": "createOrUpdateContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "185", + "kind": "constant", + "name": "createOrUpdateContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "186", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "187", + "kind": "constant", + "name": "updateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "189", + "kind": "constant", + "name": "updateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "191", + "kind": "constant", + "name": "listByResourceGroupContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "192", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "193", + "kind": "constant", + "name": "listBySubscriptionIdContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "194", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "195", + "kind": "constant", + "name": "listMonitoredResourcesContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "197", + "kind": "constant", + "name": "listMonitoredResourcesContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "198", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "199", + "kind": "constant", + "name": "getVMHostPayloadContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "200", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "201", + "kind": "constant", + "name": "manageAgentInstallationContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "202", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "203", + "kind": "constant", + "name": "listHostsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "205", + "kind": "constant", + "name": "getMetricStatusContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "207", + "kind": "constant", + "name": "getMetricStatusContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "208", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "209", + "kind": "constant", + "name": "listAppServicesContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "210", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "211", + "kind": "constant", + "name": "upgradePlanContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "213", + "kind": "constant", + "name": "upgradePlanContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "214", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "215", + "kind": "constant", + "name": "getSSODetailsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "217", + "kind": "constant", + "name": "getSSODetailsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "219", + "kind": "constant", + "name": "listLinkableEnvironmentsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "221", + "kind": "constant", + "name": "listLinkableEnvironmentsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "223", + "kind": "constant", + "name": "getMarketplaceSaaSResourceDetailsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "225", + "kind": "constant", + "name": "getMarketplaceSaaSResourceDetailsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "227", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "229", + "kind": "constant", + "name": "createOrUpdateContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "231", + "kind": "constant", + "name": "createOrUpdateContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "233", + "kind": "constant", + "name": "createOrUpdateContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "234", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "235", + "kind": "constant", + "name": "createOrUpdateContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "236", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "237", + "kind": "constant", + "name": "listContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "238", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "239", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "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": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "240", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "241", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "242", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "summary": "REST API Operation", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "243", + "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": "244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "245", + "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": "246", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "json": { + "name": "isDataAction" + } + }, + "isHttpMetadata": false + }, + { + "$id": "247", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "248", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "249", + "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": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "json": { + "name": "provider" + } + }, + "isHttpMetadata": false + }, + { + "$id": "251", + "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": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "json": { + "name": "resource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "253", + "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": "254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "255", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "json": { + "name": "display" + } + }, + "isHttpMetadata": false + }, + { + "$id": "257", + "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": "1" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "json": { + "name": "origin" + } + }, + "isHttpMetadata": false + }, + { + "$id": "258", + "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": "6" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "259", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "260", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "261", + "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": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "242" + }, + { + "$ref": "248" + }, + { + "$id": "262", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "summary": "Error response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "263", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "264", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "265", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "266", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "267", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "269", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "270", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "271", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "272", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "264" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "273", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "274", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "275", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "276", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "278", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "279", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "json": { + "name": "info" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "json": { + "name": "additionalInfo" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "264" + }, + { + "$ref": "275" + }, + { + "$id": "280", + "kind": "model", + "name": "DynatraceMonitoredSubscription", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.@singleton", + "arguments": { + "keyValue": "default" + } + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "resourceType": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "methods": [ + { + "$id": "281", + "methodId": "Dynatrace.Observability.MonitoredSubscriptions.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default" + }, + { + "$id": "282", + "methodId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default" + }, + { + "$id": "283", + "methodId": "Dynatrace.Observability.MonitoredSubscriptions.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default" + }, + { + "$id": "284", + "methodId": "Dynatrace.Observability.MonitoredSubscriptions.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default" + }, + { + "$id": "285", + "methodId": "Dynatrace.Observability.MonitoredSubscriptions.list", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "singletonResourceName": "default", + "resourceName": "DynatraceMonitoredSubscription" + } + } + ], + "baseModel": { + "$id": "286", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "summary": "Proxy Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$id": "287", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "summary": "Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "288", + "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": "289", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "290", + "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": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "291", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "293", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "294", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "295", + "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": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "296", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "297", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "298", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "json": { + "name": "createdBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "300", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "53" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "json": { + "name": "createdByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "301", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "302", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "303", + "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": { + "json": { + "name": "createdAt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "304", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "json": { + "name": "lastModifiedBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "306", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "53" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "json": { + "name": "lastModifiedByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "307", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "308", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "309", + "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": { + "json": { + "name": "lastModifiedAt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "json": { + "name": "systemData" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [] + }, + "properties": [ + { + "$id": "310", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "type": { + "$id": "311", + "kind": "model", + "name": "DynatraceMonitoredSubscriptionProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.SubscriptionList", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "312", + "kind": "property", + "name": "operation", + "serializedName": "operation", + "doc": "The operation for the patch on the resource.", + "type": { + "$ref": "9" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SubscriptionList.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "313", + "kind": "property", + "name": "monitoredSubscriptionList", + "serializedName": "monitoredSubscriptionList", + "doc": "List of subscriptions and the state of the monitoring.", + "type": { + "$id": "314", + "kind": "array", + "name": "ArrayMonitoredSubscription", + "valueType": { + "$id": "315", + "kind": "model", + "name": "DynatraceMonitoredSubscriptionStatus", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscription", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The list of subscriptions and it's monitoring status by current Dynatrace monitor.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "316", + "kind": "property", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The subscriptionId to be monitored.", + "type": { + "$id": "317", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "318", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscription.subscriptionId", + "serializationOptions": { + "json": { + "name": "subscriptionId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "319", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The state of monitoring.", + "type": { + "$ref": "16" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscription.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "320", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The reason of not monitoring the subscription.", + "type": { + "$id": "321", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscription.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + }, + { + "$id": "322", + "kind": "property", + "name": "tagRules", + "serializedName": "tagRules", + "doc": "Properties for the Tag rules resource of a Monitor account.", + "type": { + "$id": "323", + "kind": "model", + "name": "DynatraceTagRuleProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringTagRulesProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Properties for the Tag rules resource of a Monitor account.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "324", + "kind": "property", + "name": "logRules", + "serializedName": "logRules", + "doc": "Set of rules for sending logs for the Monitor resource.", + "type": { + "$id": "325", + "kind": "model", + "name": "DynatraceMonitorResourceLogRules", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.LogRules", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Set of rules for sending logs for the Monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "326", + "kind": "property", + "name": "sendAadLogs", + "serializedName": "sendAadLogs", + "doc": "Flag specifying if AAD logs should be sent for the Monitor resource.", + "type": { + "$ref": "22" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LogRules.sendAadLogs", + "serializationOptions": { + "json": { + "name": "sendAadLogs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "327", + "kind": "property", + "name": "sendSubscriptionLogs", + "serializedName": "sendSubscriptionLogs", + "doc": "Flag specifying if subscription logs should be sent for the Monitor resource.", + "type": { + "$ref": "26" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LogRules.sendSubscriptionLogs", + "serializationOptions": { + "json": { + "name": "sendSubscriptionLogs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "328", + "kind": "property", + "name": "sendActivityLogs", + "serializedName": "sendActivityLogs", + "doc": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.", + "type": { + "$ref": "30" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LogRules.sendActivityLogs", + "serializationOptions": { + "json": { + "name": "sendActivityLogs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "329", + "kind": "property", + "name": "filteringTags", + "serializedName": "filteringTags", + "doc": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", + "type": { + "$id": "330", + "kind": "array", + "name": "ArrayFilteringTag", + "valueType": { + "$id": "331", + "kind": "model", + "name": "DynatraceMonitorResourceFilteringTag", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.FilteringTag", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "332", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name (also known as the key) of the tag.", + "type": { + "$id": "333", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.FilteringTag.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "334", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The value of the tag.", + "type": { + "$id": "335", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.FilteringTag.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "336", + "kind": "property", + "name": "action", + "serializedName": "action", + "doc": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", + "type": { + "$ref": "34" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.FilteringTag.action", + "serializationOptions": { + "json": { + "name": "action" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LogRules.filteringTags", + "serializationOptions": { + "json": { + "name": "filteringTags" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringTagRulesProperties.logRules", + "serializationOptions": { + "json": { + "name": "logRules" + } + }, + "isHttpMetadata": false + }, + { + "$id": "337", + "kind": "property", + "name": "metricRules", + "serializedName": "metricRules", + "doc": "Set of rules for sending metrics for the Monitor resource.", + "type": { + "$id": "338", + "kind": "model", + "name": "DynatraceMonitorResourceMetricRules", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricRules", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Set of rules for sending metrics for the Monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "339", + "kind": "property", + "name": "sendingMetrics", + "serializedName": "sendingMetrics", + "doc": "Flag specifying if metrics from Azure resources should be sent for the Monitor resource.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricRules.sendingMetrics", + "serializationOptions": { + "json": { + "name": "sendingMetrics" + } + }, + "isHttpMetadata": false + }, + { + "$id": "340", + "kind": "property", + "name": "filteringTags", + "serializedName": "filteringTags", + "doc": "List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", + "type": { + "$ref": "330" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricRules.filteringTags", + "serializationOptions": { + "json": { + "name": "filteringTags" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringTagRulesProperties.metricRules", + "serializationOptions": { + "json": { + "name": "metricRules" + } + }, + "isHttpMetadata": false + }, + { + "$id": "341", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "42" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoringTagRulesProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscription.tagRules", + "serializationOptions": { + "json": { + "name": "tagRules" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SubscriptionList.monitoredSubscriptionList", + "serializationOptions": { + "json": { + "name": "monitoredSubscriptionList" + } + }, + "isHttpMetadata": false + }, + { + "$id": "342", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning State of the resource", + "type": { + "$ref": "42" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SubscriptionList.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionProperties.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "343", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "", + "type": { + "$id": "344", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionProperties.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "311" + }, + { + "$ref": "315" + }, + { + "$ref": "323" + }, + { + "$ref": "325" + }, + { + "$ref": "331" + }, + { + "$ref": "338" + }, + { + "$ref": "286" + }, + { + "$ref": "287" + }, + { + "$ref": "297" + }, + { + "$id": "345", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "346", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "59" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "347", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier for the operationStatus resource", + "type": { + "$id": "348", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": true + }, + { + "$id": "349", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "351", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "352", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "353", + "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": { + "json": { + "name": "startTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "354", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "355", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "356", + "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": { + "json": { + "name": "endTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "357", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "358", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + }, + "isHttpMetadata": false + }, + { + "$id": "359", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "264" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "360", + "kind": "model", + "name": "MonitoredSubscriptionPropertiesList", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionPropertiesList", + "usage": "Output,Json", + "doc": "Paged collection of MonitoredSubscriptionProperties items", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "361", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The MonitoredSubscriptionProperties items on this page", + "type": { + "$id": "362", + "kind": "array", + "name": "ArrayMonitoredSubscriptionProperties", + "valueType": { + "$ref": "280" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionPropertiesList.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "363", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "364", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "365", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptionPropertiesList.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "366", + "kind": "model", + "name": "DynatraceTagRule", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRule", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Tag rules for a monitor resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "resourceType": "Dynatrace.Observability/monitors/tagRules", + "methods": [ + { + "$id": "367", + "methodId": "Dynatrace.Observability.TagRules.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}" + }, + { + "$id": "368", + "methodId": "Dynatrace.Observability.TagRules.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}" + }, + { + "$id": "369", + "methodId": "Dynatrace.Observability.TagRules.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}" + }, + { + "$id": "370", + "methodId": "Dynatrace.Observability.TagRules.list", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "resourceName": "DynatraceTagRule" + } + } + ], + "baseModel": { + "$ref": "286" + }, + "properties": [ + { + "$id": "371", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$ref": "323" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [ + { + "name": "Azure.ResourceManager.@flattenProperty", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRule.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "372", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Monitor resource name", + "type": { + "$id": "373", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRule.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$id": "374", + "kind": "model", + "name": "TagRuleListResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a TagRule list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "375", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The TagRule items on this page", + "type": { + "$id": "376", + "kind": "array", + "name": "ArrayTagRule", + "valueType": { + "$ref": "366" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "377", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "378", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "379", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "380", + "kind": "model", + "name": "DynatraceMonitor", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dynatrace Monitor Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "resourceType": "Dynatrace.Observability/monitors", + "methods": [ + { + "$id": "381", + "methodId": "Dynatrace.Observability.MonitorResources.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "382", + "methodId": "Dynatrace.Observability.MonitorResources.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "383", + "methodId": "Dynatrace.Observability.MonitorResources.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "384", + "methodId": "Dynatrace.Observability.MonitorResources.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "385", + "methodId": "Dynatrace.Observability.MonitorResources.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors", + "operationScope": "ResourceGroup" + }, + { + "$id": "386", + "methodId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/monitors", + "operationScope": "Subscription" + }, + { + "$id": "387", + "methodId": "Dynatrace.Observability.MonitorResources.listMonitoredResources", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listMonitoredResources", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "388", + "methodId": "Dynatrace.Observability.MonitorResources.getVMHostPayload", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getVMHostPayload", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "389", + "methodId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/manageAgentInstallation", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "390", + "methodId": "Dynatrace.Observability.MonitorResources.listHosts", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listHosts", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "391", + "methodId": "Dynatrace.Observability.MonitorResources.getMetricStatus", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getMetricStatus", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "392", + "methodId": "Dynatrace.Observability.MonitorResources.listAppServices", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "393", + "methodId": "Dynatrace.Observability.MonitorResources.upgradePlan", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "394", + "methodId": "Dynatrace.Observability.MonitorResources.getSSODetails", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getSSODetails", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + }, + { + "$id": "395", + "methodId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments", + "kind": "Action", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listLinkableEnvironments", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DynatraceMonitor" + } + } + ], + "baseModel": { + "$id": "396", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "summary": "Tracked Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "baseModel": { + "$ref": "287" + }, + "properties": [ + { + "$id": "397", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "398", + "kind": "dict", + "keyType": { + "$id": "399", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "400", + "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": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "401", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "402", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "403", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "json": { + "name": "location" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "404", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "405", + "kind": "model", + "name": "DynatraceMonitorProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Properties specific to the monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "406", + "kind": "property", + "name": "monitoringStatus", + "serializedName": "monitoringStatus", + "doc": "Status of the monitor.", + "type": { + "$ref": "64" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.monitoringStatus", + "serializationOptions": { + "json": { + "name": "monitoringStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "407", + "kind": "property", + "name": "marketplaceSubscriptionStatus", + "serializedName": "marketplaceSubscriptionStatus", + "doc": "Marketplace subscription status.", + "type": { + "$ref": "68" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.marketplaceSubscriptionStatus", + "serializationOptions": { + "json": { + "name": "marketplaceSubscriptionStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "408", + "kind": "property", + "name": "marketplaceSaasAutoRenew", + "serializedName": "marketplaceSaasAutoRenew", + "doc": "Marketplace resource autorenew flag", + "type": { + "$ref": "73" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.marketplaceSaasAutoRenew", + "serializationOptions": { + "json": { + "name": "marketplaceSaasAutoRenew" + } + }, + "isHttpMetadata": false + }, + { + "$id": "409", + "kind": "property", + "name": "dynatraceEnvironmentProperties", + "serializedName": "dynatraceEnvironmentProperties", + "doc": "Properties of the Dynatrace environment.", + "type": { + "$id": "410", + "kind": "model", + "name": "DynatraceEnvironmentProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceEnvironmentProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Properties of the Dynatrace environment.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "411", + "kind": "property", + "name": "userId", + "serializedName": "userId", + "doc": "User id", + "type": { + "$id": "412", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceEnvironmentProperties.userId", + "serializationOptions": { + "json": { + "name": "userId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "413", + "kind": "property", + "name": "accountInfo", + "serializedName": "accountInfo", + "doc": "Dynatrace Account Information", + "type": { + "$id": "414", + "kind": "model", + "name": "DynatraceAccountInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.AccountInfo", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dynatrace Account Information", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "415", + "kind": "property", + "name": "accountId", + "serializedName": "accountId", + "doc": "Account Id of the account this environment is linked to", + "type": { + "$id": "416", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AccountInfo.accountId", + "serializationOptions": { + "json": { + "name": "accountId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "417", + "kind": "property", + "name": "regionId", + "serializedName": "regionId", + "doc": "Region in which the account is created", + "type": { + "$id": "418", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AccountInfo.regionId", + "serializationOptions": { + "json": { + "name": "regionId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "419", + "kind": "property", + "name": "companyName", + "serializedName": "companyName", + "doc": "Name of the customer account / company", + "type": { + "$id": "420", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AccountInfo.companyName", + "serializationOptions": { + "json": { + "name": "companyName" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceEnvironmentProperties.accountInfo", + "serializationOptions": { + "json": { + "name": "accountInfo" + } + }, + "isHttpMetadata": false + }, + { + "$id": "421", + "kind": "property", + "name": "environmentInfo", + "serializedName": "environmentInfo", + "doc": "Dynatrace Environment Information", + "type": { + "$id": "422", + "kind": "model", + "name": "DynatraceEnvironmentInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.EnvironmentInfo", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dynatrace Environment Information", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "423", + "kind": "property", + "name": "environmentId", + "serializedName": "environmentId", + "doc": "Id of the environment created", + "type": { + "$id": "424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.EnvironmentInfo.environmentId", + "serializationOptions": { + "json": { + "name": "environmentId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "425", + "kind": "property", + "name": "ingestionKey", + "serializedName": "ingestionKey", + "doc": "Ingestion key of the environment", + "type": { + "$id": "426", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.EnvironmentInfo.ingestionKey", + "serializationOptions": { + "json": { + "name": "ingestionKey" + } + }, + "isHttpMetadata": false + }, + { + "$id": "427", + "kind": "property", + "name": "logsIngestionEndpoint", + "serializedName": "logsIngestionEndpoint", + "doc": "Ingestion endpoint used for sending logs", + "type": { + "$id": "428", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.EnvironmentInfo.logsIngestionEndpoint", + "serializationOptions": { + "json": { + "name": "logsIngestionEndpoint" + } + }, + "isHttpMetadata": false + }, + { + "$id": "429", + "kind": "property", + "name": "LandingUri", + "serializedName": "landingURL", + "doc": "Landing URL for Dynatrace environment", + "type": { + "$id": "430", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.EnvironmentInfo.landingURL", + "serializationOptions": { + "json": { + "name": "landingURL" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceEnvironmentProperties.environmentInfo", + "serializationOptions": { + "json": { + "name": "environmentInfo" + } + }, + "isHttpMetadata": false + }, + { + "$id": "431", + "kind": "property", + "name": "singleSignOnProperties", + "serializedName": "singleSignOnProperties", + "doc": "The details of a Dynatrace single sign-on.", + "type": { + "$id": "432", + "kind": "model", + "name": "DynatraceSingleSignOnProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The details of a Dynatrace single sign-on.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "433", + "kind": "property", + "name": "singleSignOnState", + "serializedName": "singleSignOnState", + "doc": "State of Single Sign On", + "type": { + "$ref": "77" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties.singleSignOnState", + "serializationOptions": { + "json": { + "name": "singleSignOnState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "434", + "kind": "property", + "name": "enterpriseAppId", + "serializedName": "enterpriseAppId", + "doc": "Version of the Dynatrace agent installed on the VM.", + "type": { + "$id": "435", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "436", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties.enterpriseAppId", + "serializationOptions": { + "json": { + "name": "enterpriseAppId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "437", + "kind": "property", + "name": "singleSignOnUrl", + "serializedName": "singleSignOnUrl", + "doc": "The login URL specific to this Dynatrace Environment", + "type": { + "$id": "438", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties.singleSignOnUrl", + "serializationOptions": { + "json": { + "name": "singleSignOnUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "439", + "kind": "property", + "name": "aadDomains", + "serializedName": "aadDomains", + "doc": "array of Aad(azure active directory) domains", + "type": { + "$id": "440", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties.aadDomains", + "serializationOptions": { + "json": { + "name": "aadDomains" + } + }, + "isHttpMetadata": false + }, + { + "$id": "442", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "42" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceEnvironmentProperties.singleSignOnProperties", + "serializationOptions": { + "json": { + "name": "singleSignOnProperties" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.dynatraceEnvironmentProperties", + "serializationOptions": { + "json": { + "name": "dynatraceEnvironmentProperties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "443", + "kind": "property", + "name": "userInfo", + "serializedName": "userInfo", + "doc": "User info.", + "type": { + "$id": "444", + "kind": "model", + "name": "DynatraceMonitorUserInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "User info.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "445", + "kind": "property", + "name": "firstName", + "serializedName": "firstName", + "doc": "First Name of the user", + "type": { + "$id": "446", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo.firstName", + "serializationOptions": { + "json": { + "name": "firstName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "447", + "kind": "property", + "name": "lastName", + "serializedName": "lastName", + "doc": "Last Name of the user", + "type": { + "$id": "448", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo.lastName", + "serializationOptions": { + "json": { + "name": "lastName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "449", + "kind": "property", + "name": "emailAddress", + "serializedName": "emailAddress", + "doc": "Email of the user used by Dynatrace for contacting them if needed", + "type": { + "$id": "450", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo.emailAddress", + "serializationOptions": { + "json": { + "name": "emailAddress" + } + }, + "isHttpMetadata": false + }, + { + "$id": "451", + "kind": "property", + "name": "phoneNumber", + "serializedName": "phoneNumber", + "doc": "Phone number of the user used by Dynatrace for contacting them if needed", + "type": { + "$id": "452", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo.phoneNumber", + "serializationOptions": { + "json": { + "name": "phoneNumber" + } + }, + "isHttpMetadata": false + }, + { + "$id": "453", + "kind": "property", + "name": "country", + "serializedName": "country", + "doc": "Country of the user", + "type": { + "$id": "454", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UserInfo.country", + "serializationOptions": { + "json": { + "name": "country" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.userInfo", + "serializationOptions": { + "json": { + "name": "userInfo" + } + }, + "isHttpMetadata": false + }, + { + "$id": "455", + "kind": "property", + "name": "planData", + "serializedName": "planData", + "doc": "Billing plan information.", + "type": { + "$id": "456", + "kind": "model", + "name": "DynatraceBillingPlanInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.PlanData", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Billing plan information.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "457", + "kind": "property", + "name": "usageType", + "serializedName": "usageType", + "doc": "different usage type like PAYG/COMMITTED. this could be enum", + "type": { + "$id": "458", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.PlanData.usageType", + "serializationOptions": { + "json": { + "name": "usageType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "459", + "kind": "property", + "name": "billingCycle", + "serializedName": "billingCycle", + "doc": "different billing cycles like MONTHLY/WEEKLY. this could be enum", + "type": { + "$id": "460", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.PlanData.billingCycle", + "serializationOptions": { + "json": { + "name": "billingCycle" + } + }, + "isHttpMetadata": false + }, + { + "$id": "461", + "kind": "property", + "name": "planDetails", + "serializedName": "planDetails", + "doc": "plan id as published by Dynatrace", + "type": { + "$id": "462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.PlanData.planDetails", + "serializationOptions": { + "json": { + "name": "planDetails" + } + }, + "isHttpMetadata": false + }, + { + "$id": "463", + "kind": "property", + "name": "effectiveDate", + "serializedName": "effectiveDate", + "doc": "date when plan was applied", + "type": { + "$id": "464", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.PlanData.effectiveDate", + "serializationOptions": { + "json": { + "name": "effectiveDate" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.planData", + "serializationOptions": { + "json": { + "name": "planData" + } + }, + "isHttpMetadata": false + }, + { + "$id": "466", + "kind": "property", + "name": "liftrResourceCategory", + "serializedName": "liftrResourceCategory", + "doc": "Liftr Resource category.", + "type": { + "$ref": "83" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.liftrResourceCategory", + "serializationOptions": { + "json": { + "name": "liftrResourceCategory" + } + }, + "isHttpMetadata": false + }, + { + "$id": "467", + "kind": "property", + "name": "liftrResourcePreference", + "serializedName": "liftrResourcePreference", + "doc": "The priority of the resource.", + "type": { + "$id": "468", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.liftrResourcePreference", + "serializationOptions": { + "json": { + "name": "liftrResourcePreference" + } + }, + "isHttpMetadata": false + }, + { + "$id": "469", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning state of the resource.", + "type": { + "$ref": "42" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [ + { + "name": "Azure.ResourceManager.@flattenProperty", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "470", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Monitor resource name", + "type": { + "$id": "471", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "472", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "473", + "kind": "model", + "name": "IdentityProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.IdentityProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The properties of the managed service identities assigned to this resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "474", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "The Active Directory tenant id of the principal.", + "type": { + "$id": "475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.IdentityProperties.tenantId", + "serializationOptions": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "476", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The active directory identifier of this principal.", + "type": { + "$id": "477", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.IdentityProperties.principalId", + "serializationOptions": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "478", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "87" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.IdentityProperties.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "479", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "480", + "kind": "dict", + "keyType": { + "$id": "481", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "482", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "User assigned identity properties", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "483", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "484", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "485", + "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": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "486", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "487", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "488", + "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": { + "json": { + "name": "clientId" + } + }, + "isHttpMetadata": false + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.IdentityProperties.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResource.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "405" + }, + { + "$ref": "410" + }, + { + "$ref": "414" + }, + { + "$ref": "422" + }, + { + "$ref": "432" + }, + { + "$ref": "444" + }, + { + "$ref": "456" + }, + { + "$ref": "473" + }, + { + "$ref": "482" + }, + { + "$ref": "396" + }, + { + "$id": "489", + "kind": "model", + "name": "DynatraceMonitorPatch", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResourceUpdate", + "usage": "Input,Json", + "doc": "The updatable properties of the MonitorResource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "490", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "398" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResourceUpdate.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "491", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The set of properties that can be updated in a PATCH request to a monitor resource.", + "type": { + "$id": "492", + "kind": "model", + "name": "MonitorUpdateProperties", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorUpdateProperties", + "usage": "Input,Json", + "doc": "The set of properties that can be updated in a PATCH request to a monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "493", + "kind": "property", + "name": "planData", + "serializedName": "planData", + "doc": "The new Billing plan information.", + "type": { + "$ref": "456" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorUpdateProperties.planData", + "serializationOptions": { + "json": { + "name": "planData" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResourceUpdate.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "494", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "495", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Input,Json", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "496", + "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": "497", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "498", + "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": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "499", + "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": "500", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "501", + "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": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "502", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "92" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "503", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "504", + "kind": "dict", + "keyType": { + "$id": "505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "506", + "kind": "nullable", + "type": { + "$ref": "482" + }, + "namespace": "Azure.ResourceManager.Dynatrace" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResourceUpdate.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "492" + }, + { + "$ref": "495" + }, + { + "$id": "507", + "kind": "model", + "name": "MonitorResourceListResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a MonitorResource list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "508", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The MonitorResource items on this page", + "type": { + "$id": "509", + "kind": "array", + "name": "ArrayMonitorResource", + "valueType": { + "$ref": "380" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "510", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "511", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "512", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "513", + "kind": "model", + "name": "DynatraceMonitoredResourceContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.LogStatusRequest", + "usage": "Input,Json", + "doc": "Request for getting log status for given monitored resource Ids", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "514", + "kind": "property", + "name": "monitoredResourceIds", + "serializedName": "monitoredResourceIds", + "doc": "List of azure resource Id of monitored resources for which we get the log status", + "type": { + "$ref": "440" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LogStatusRequest.monitoredResourceIds", + "serializationOptions": { + "json": { + "name": "monitoredResourceIds" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "515", + "kind": "model", + "name": "MonitoredResourceListResponse", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResourceListResponse", + "usage": "Output,Json", + "doc": "List of all the resources being monitored by Dynatrace monitor resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "516", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The MonitoredResource items on this page", + "type": { + "$id": "517", + "kind": "array", + "name": "ArrayMonitoredResource", + "valueType": { + "$id": "518", + "kind": "model", + "name": "DynatraceMonitoredResourceDetails", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource", + "usage": "Output,Json", + "doc": "Details of resource being monitored by Dynatrace monitor resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "519", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The ARM id of the resource.", + "type": { + "$id": "520", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "521", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "522", + "kind": "property", + "name": "SendingMetricsStatus", + "serializedName": "sendingMetrics", + "doc": "Flag indicating if resource is sending metrics to Dynatrace.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource.sendingMetrics", + "serializationOptions": { + "json": { + "name": "sendingMetrics" + } + }, + "isHttpMetadata": false + }, + { + "$id": "523", + "kind": "property", + "name": "reasonForMetricsStatus", + "serializedName": "reasonForMetricsStatus", + "doc": "Reason for why the resource is sending metrics (or why it is not sending).", + "type": { + "$id": "524", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource.reasonForMetricsStatus", + "serializationOptions": { + "json": { + "name": "reasonForMetricsStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "525", + "kind": "property", + "name": "SendingLogsStatus", + "serializedName": "sendingLogs", + "doc": "Flag indicating if resource is sending logs to Dynatrace.", + "type": { + "$ref": "98" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource.sendingLogs", + "serializationOptions": { + "json": { + "name": "sendingLogs" + } + }, + "isHttpMetadata": false + }, + { + "$id": "526", + "kind": "property", + "name": "reasonForLogsStatus", + "serializedName": "reasonForLogsStatus", + "doc": "Reason for why the resource is sending logs (or why it is not sending).", + "type": { + "$id": "527", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResource.reasonForLogsStatus", + "serializationOptions": { + "json": { + "name": "reasonForLogsStatus" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResourceListResponse.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "528", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "529", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "530", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredResourceListResponse.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "518" + }, + { + "$id": "531", + "kind": "model", + "name": "DynatraceVmExtensionPayload", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.VMExtensionPayload", + "usage": "Output,Json", + "doc": "Response of payload to be passed while installing VM agent.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "532", + "kind": "property", + "name": "ingestionKey", + "serializedName": "ingestionKey", + "doc": "Ingestion key of the environment", + "type": { + "$id": "533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMExtensionPayload.ingestionKey", + "serializationOptions": { + "json": { + "name": "ingestionKey" + } + }, + "isHttpMetadata": false + }, + { + "$id": "534", + "kind": "property", + "name": "environmentId", + "serializedName": "environmentId", + "doc": "Id of the environment created", + "type": { + "$id": "535", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMExtensionPayload.environmentId", + "serializationOptions": { + "json": { + "name": "environmentId" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "536", + "kind": "model", + "name": "ManageAgentInstallationContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.ManageAgentInstallationRequest", + "usage": "Input,Json", + "doc": "Request for performing Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of agent resources.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "537", + "kind": "property", + "name": "manageAgentInstallationList", + "serializedName": "manageAgentInstallationList", + "doc": "The list of resources.", + "type": { + "$id": "538", + "kind": "array", + "name": "ArrayManageAgentList", + "valueType": { + "$id": "539", + "kind": "model", + "name": "DynatraceManageAgentDetails", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.ManageAgentList", + "usage": "Input,Json", + "doc": "Details of resource that has Dynatrace agent installed through the Azure Dynatrace resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "540", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The ARM id of the resource to install/uninstall agent.", + "type": { + "$id": "541", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "542", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.ManageAgentList.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.ManageAgentInstallationRequest.manageAgentInstallationList", + "serializationOptions": { + "json": { + "name": "manageAgentInstallationList" + } + }, + "isHttpMetadata": false + }, + { + "$id": "543", + "kind": "property", + "name": "action", + "serializedName": "action", + "doc": "Install/Uninstall action.", + "type": { + "$ref": "102" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.ManageAgentInstallationRequest.action", + "serializationOptions": { + "json": { + "name": "action" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "539" + }, + { + "$id": "544", + "kind": "model", + "name": "VmHostsListResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.VMHostsListResponse", + "usage": "Output,Json", + "doc": "Response of a list VM Host Operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "545", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The VMInfo items on this page", + "type": { + "$id": "546", + "kind": "array", + "name": "ArrayVmInfo", + "valueType": { + "$id": "547", + "kind": "model", + "name": "DynatraceMonitorVmInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo", + "usage": "Output,Json", + "doc": "Details of VM Resource having Dynatrace OneAgent installed", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "548", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "Azure VM resource ID", + "type": { + "$id": "549", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "550", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "551", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "Version of the Dynatrace agent installed on the VM.", + "type": { + "$id": "552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "553", + "kind": "property", + "name": "monitoringType", + "serializedName": "monitoringType", + "doc": "The monitoring mode of OneAgent", + "type": { + "$ref": "106" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.monitoringType", + "serializationOptions": { + "json": { + "name": "monitoringType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "554", + "kind": "property", + "name": "autoUpdateSetting", + "serializedName": "autoUpdateSetting", + "doc": "Update settings of OneAgent.", + "type": { + "$ref": "111" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.autoUpdateSetting", + "serializationOptions": { + "json": { + "name": "autoUpdateSetting" + } + }, + "isHttpMetadata": false + }, + { + "$id": "555", + "kind": "property", + "name": "updateStatus", + "serializedName": "updateStatus", + "doc": "The current update status of OneAgent.", + "type": { + "$ref": "115" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.updateStatus", + "serializationOptions": { + "json": { + "name": "updateStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "556", + "kind": "property", + "name": "availabilityState", + "serializedName": "availabilityState", + "doc": "The availability state of OneAgent.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.availabilityState", + "serializationOptions": { + "json": { + "name": "availabilityState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "557", + "kind": "property", + "name": "logModule", + "serializedName": "logModule", + "doc": "Tells whether log modules are enabled or not", + "type": { + "$ref": "136" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.logModule", + "serializationOptions": { + "json": { + "name": "logModule" + } + }, + "isHttpMetadata": false + }, + { + "$id": "558", + "kind": "property", + "name": "hostGroup", + "serializedName": "hostGroup", + "doc": "The name of the host group", + "type": { + "$id": "559", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.hostGroup", + "serializationOptions": { + "json": { + "name": "hostGroup" + } + }, + "isHttpMetadata": false + }, + { + "$id": "560", + "kind": "property", + "name": "hostName", + "serializedName": "hostName", + "doc": "The name of the host", + "type": { + "$id": "561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMInfo.hostName", + "serializationOptions": { + "json": { + "name": "hostName" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMHostsListResponse.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "562", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "563", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "564", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.VMHostsListResponse.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "547" + }, + { + "$id": "565", + "kind": "model", + "name": "DynatraceMetricStatusContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricStatusRequest", + "usage": "Input,Json", + "doc": "Request for getting metric status for given monitored resource Ids", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "566", + "kind": "property", + "name": "monitoredResourceIds", + "serializedName": "monitoredResourceIds", + "doc": "List of azure resource Id of monitored resources for which we get the metric status", + "type": { + "$ref": "440" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricStatusRequest.monitoredResourceIds", + "serializationOptions": { + "json": { + "name": "monitoredResourceIds" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "567", + "kind": "model", + "name": "DynatraceMetricsStatusResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricsStatusResponse", + "usage": "Output,Json", + "doc": "Response of get metrics status operation", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "568", + "kind": "property", + "name": "azureResourceIds", + "serializedName": "azureResourceIds", + "doc": "Azure resource IDs", + "type": { + "$id": "569", + "kind": "array", + "name": "Array1", + "valueType": { + "$id": "570", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "571", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MetricsStatusResponse.azureResourceIds", + "serializationOptions": { + "json": { + "name": "azureResourceIds" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "572", + "kind": "model", + "name": "AppServiceListResponse", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceListResponse", + "usage": "Output,Json", + "doc": "Response of a list App Services Operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "573", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The AppServiceInfo items on this page", + "type": { + "$id": "574", + "kind": "array", + "name": "ArrayAppServiceInfo", + "valueType": { + "$id": "575", + "kind": "model", + "name": "DynatraceOneAgentEnabledAppServiceInfo", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo", + "usage": "Output,Json", + "doc": "Details of App Services having Dynatrace OneAgent installed", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "576", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "App service resource ID", + "type": { + "$id": "577", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "578", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "579", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "Version of the Dynatrace agent installed on the App Service.", + "type": { + "$id": "580", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "581", + "kind": "property", + "name": "monitoringType", + "serializedName": "monitoringType", + "doc": "The monitoring mode of OneAgent", + "type": { + "$ref": "106" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.monitoringType", + "serializationOptions": { + "json": { + "name": "monitoringType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "582", + "kind": "property", + "name": "autoUpdateSetting", + "serializedName": "autoUpdateSetting", + "doc": "Update settings of OneAgent.", + "type": { + "$ref": "111" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.autoUpdateSetting", + "serializationOptions": { + "json": { + "name": "autoUpdateSetting" + } + }, + "isHttpMetadata": false + }, + { + "$id": "583", + "kind": "property", + "name": "updateStatus", + "serializedName": "updateStatus", + "doc": "The current update status of OneAgent.", + "type": { + "$ref": "115" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.updateStatus", + "serializationOptions": { + "json": { + "name": "updateStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "584", + "kind": "property", + "name": "availabilityState", + "serializedName": "availabilityState", + "doc": "The availability state of OneAgent.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.availabilityState", + "serializationOptions": { + "json": { + "name": "availabilityState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "585", + "kind": "property", + "name": "logModule", + "serializedName": "logModule", + "doc": "Tells whether log modules are enabled or not", + "type": { + "$ref": "136" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.logModule", + "serializationOptions": { + "json": { + "name": "logModule" + } + }, + "isHttpMetadata": false + }, + { + "$id": "586", + "kind": "property", + "name": "hostGroup", + "serializedName": "hostGroup", + "doc": "The name of the host group", + "type": { + "$id": "587", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.hostGroup", + "serializationOptions": { + "json": { + "name": "hostGroup" + } + }, + "isHttpMetadata": false + }, + { + "$id": "588", + "kind": "property", + "name": "hostName", + "serializedName": "hostName", + "doc": "The name of the host", + "type": { + "$id": "589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceInfo.hostName", + "serializationOptions": { + "json": { + "name": "hostName" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceListResponse.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "590", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "591", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "592", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.AppServiceListResponse.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "575" + }, + { + "$id": "593", + "kind": "model", + "name": "DynatraceUpgradePlanContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.UpgradePlanRequest", + "usage": "Input,Json", + "doc": "The billing plan properties for the upgrade plan call.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "594", + "kind": "property", + "name": "planData", + "serializedName": "planData", + "doc": "The new Billing plan information.", + "type": { + "$ref": "456" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.UpgradePlanRequest.planData", + "serializationOptions": { + "json": { + "name": "planData" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "595", + "kind": "model", + "name": "DynatraceSsoDetailsContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsRequest", + "usage": "Input,Json", + "doc": "Request for getting sso details for a user", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "596", + "kind": "property", + "name": "userPrincipal", + "serializedName": "userPrincipal", + "doc": "user principal id of the user", + "type": { + "$id": "597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsRequest.userPrincipal", + "serializationOptions": { + "json": { + "name": "userPrincipal" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "598", + "kind": "model", + "name": "DynatraceSsoDetailsResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse", + "usage": "Output,Json", + "doc": "SSO details from the Dynatrace partner", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "599", + "kind": "property", + "name": "isSsoEnabled", + "serializedName": "isSsoEnabled", + "doc": "Whether the SSO is enabled for this resource or not.", + "type": { + "$ref": "140" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse.isSsoEnabled", + "serializationOptions": { + "json": { + "name": "isSsoEnabled" + } + }, + "isHttpMetadata": false + }, + { + "$id": "600", + "kind": "property", + "name": "metadataUrl", + "serializedName": "metadataUrl", + "doc": "URL for Azure AD metadata", + "type": { + "$id": "601", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse.metadataUrl", + "serializationOptions": { + "json": { + "name": "metadataUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "602", + "kind": "property", + "name": "singleSignOnUrl", + "serializedName": "singleSignOnUrl", + "doc": "The login URL specific to this Dynatrace Environment", + "type": { + "$id": "603", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse.singleSignOnUrl", + "serializationOptions": { + "json": { + "name": "singleSignOnUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "604", + "kind": "property", + "name": "aadDomains", + "serializedName": "aadDomains", + "doc": "array of Aad(azure active directory) domains", + "type": { + "$ref": "440" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse.aadDomains", + "serializationOptions": { + "json": { + "name": "aadDomains" + } + }, + "isHttpMetadata": false + }, + { + "$id": "605", + "kind": "property", + "name": "adminUsers", + "serializedName": "adminUsers", + "doc": "Array of admin user emails.", + "type": { + "$ref": "440" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.SSODetailsResponse.adminUsers", + "serializationOptions": { + "json": { + "name": "adminUsers" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "606", + "kind": "model", + "name": "LinkableEnvironmentContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentRequest", + "usage": "Input,Json", + "doc": "Request for getting all the linkable environments for a user", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "607", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "Tenant Id of the user in which they want to link the environment", + "type": { + "$id": "608", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "609", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentRequest.tenantId", + "serializationOptions": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "610", + "kind": "property", + "name": "userPrincipal", + "serializedName": "userPrincipal", + "doc": "user principal id of the user", + "type": { + "$id": "611", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentRequest.userPrincipal", + "serializationOptions": { + "json": { + "name": "userPrincipal" + } + }, + "isHttpMetadata": false + }, + { + "$id": "612", + "kind": "property", + "name": "region", + "serializedName": "region", + "doc": "Azure region in which we want to link the environment", + "type": { + "$id": "613", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "614", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentRequest.region", + "serializationOptions": { + "json": { + "name": "region" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "615", + "kind": "model", + "name": "LinkableEnvironmentListResponse", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentListResponse", + "usage": "Output,Json", + "doc": "Response for getting all the linkable environments", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "616", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The LinkableEnvironmentResponse items on this page", + "type": { + "$id": "617", + "kind": "array", + "name": "ArrayLinkableEnvironmentResponse", + "valueType": { + "$id": "618", + "kind": "model", + "name": "LinkableEnvironmentResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentResponse", + "usage": "Output,Json", + "doc": "Response for getting all the linkable environments", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "619", + "kind": "property", + "name": "environmentId", + "serializedName": "environmentId", + "doc": "environment id for which user is an admin", + "type": { + "$id": "620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentResponse.environmentId", + "serializationOptions": { + "json": { + "name": "environmentId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "621", + "kind": "property", + "name": "environmentName", + "serializedName": "environmentName", + "doc": "Name of the environment", + "type": { + "$id": "622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentResponse.environmentName", + "serializationOptions": { + "json": { + "name": "environmentName" + } + }, + "isHttpMetadata": false + }, + { + "$id": "623", + "kind": "property", + "name": "planData", + "serializedName": "planData", + "doc": "Billing plan information.", + "type": { + "$ref": "456" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentResponse.planData", + "serializationOptions": { + "json": { + "name": "planData" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentListResponse.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "624", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "625", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "626", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.LinkableEnvironmentListResponse.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "618" + }, + { + "$id": "627", + "kind": "model", + "name": "MarketplaceSaaSResourceDetailsContent", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsRequest", + "usage": "Input,Json", + "doc": "Request for getting Marketplace SaaS resource details for a tenant Id", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "628", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "Tenant Id", + "type": { + "$id": "629", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsRequest.tenantId", + "serializationOptions": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "631", + "kind": "model", + "name": "MarketplaceSaaSResourceDetailsResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsResponse", + "usage": "Output,Json", + "doc": "Marketplace SaaS resource details linked to the given tenant Id", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "632", + "kind": "property", + "name": "marketplaceSaaSResourceId", + "serializedName": "marketplaceSaaSResourceId", + "doc": "Id of the Marketplace SaaS Resource", + "type": { + "$id": "633", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "634", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsResponse.marketplaceSaaSResourceId", + "serializationOptions": { + "json": { + "name": "marketplaceSaaSResourceId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "635", + "kind": "property", + "name": "planId", + "serializedName": "planId", + "doc": "Id of the plan", + "type": { + "$id": "636", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsResponse.planId", + "serializationOptions": { + "json": { + "name": "planId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "637", + "kind": "property", + "name": "marketplaceSubscriptionStatus", + "serializedName": "marketplaceSubscriptionStatus", + "doc": "Marketplace subscription status", + "type": { + "$ref": "68" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsResponse.marketplaceSubscriptionStatus", + "serializationOptions": { + "json": { + "name": "marketplaceSubscriptionStatus" + } + }, + "isHttpMetadata": false + }, + { + "$id": "638", + "kind": "property", + "name": "marketplaceSaaSResourceName", + "serializedName": "marketplaceSaaSResourceName", + "doc": "Name of the Marketplace SaaS Resource", + "type": { + "$id": "639", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MarketplaceSaaSResourceDetailsResponse.marketplaceSaaSResourceName", + "serializationOptions": { + "json": { + "name": "marketplaceSaaSResourceName" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "640", + "kind": "model", + "name": "DynatraceSingleSignOn", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Single sign-on configurations for a given monitor resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}", + "resourceType": "Dynatrace.Observability/monitors/singleSignOnConfigurations", + "methods": [ + { + "$id": "641", + "methodId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}" + }, + { + "$id": "642", + "methodId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}" + }, + { + "$id": "643", + "methodId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "resourceName": "DynatraceSingleSignOn" + } + } + ], + "baseModel": { + "$ref": "286" + }, + "properties": [ + { + "$id": "644", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$ref": "432" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [ + { + "name": "Azure.ResourceManager.@flattenProperty", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "645", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Single Sign On Configuration Name", + "type": { + "$id": "646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$id": "647", + "kind": "model", + "name": "DynatraceSingleSignOnResourceListResult", + "namespace": "Azure.ResourceManager.Dynatrace", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a DynatraceSingleSignOnResource list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + } + ], + "properties": [ + { + "$id": "648", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The DynatraceSingleSignOnResource items on this page", + "type": { + "$id": "649", + "kind": "array", + "name": "ArrayDynatraceSingleSignOnResource", + "valueType": { + "$ref": "640" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "650", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "651", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "652", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + } + ], + "clients": [ + { + "$id": "653", + "kind": "client", + "name": "ObservabilityClient", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [], + "parameters": [ + { + "$id": "654", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "655", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "656", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$id": "657", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "658", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "659", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "660", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "661", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "662", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 1, + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@nonResourceMethodSchema", + "arguments": { + "nonResourceMethods": [ + { + "methodId": "Azure.ResourceManager.Operations.list", + "operationPath": "/providers/Dynatrace.Observability/operations", + "operationScope": "Tenant" + }, + { + "methodId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails", + "operationPath": "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getMarketplaceSaaSResourceDetails", + "operationScope": "Subscription" + } + ] + } + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability", + "apiVersions": [ + "2024-04-24" + ], + "children": [ + { + "$id": "663", + "kind": "client", + "name": "Operations", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [ + { + "$id": "664", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List the operations for the provider", + "operation": { + "$id": "665", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "666", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "667", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "668", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false + }, + { + "$id": "669", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "147" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "239" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Dynatrace.Observability/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "670", + "kind": "http", + "name": "Operations_List_MaximumSet_Gen", + "description": "Operations_List_MaximumSet_Gen", + "filePath": "2024-04-24/Operations_List_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "666" + }, + "value": { + "$id": "671", + "kind": "string", + "type": { + "$ref": "667" + }, + "value": "2024-04-24" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "239" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "672", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "nextLink": { + "$id": "673", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "http://testlink.com" + }, + "value": { + "$id": "674", + "kind": "array", + "type": { + "$ref": "241" + }, + "value": [ + { + "$id": "675", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "name": { + "$id": "676", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Dynatrace.Observability/monitors/write" + }, + "actionType": { + "$id": "677", + "kind": "string", + "type": { + "$ref": "6" + }, + "value": "Internal" + }, + "display": { + "$id": "678", + "kind": "model", + "type": { + "$ref": "248" + }, + "value": { + "description": { + "$id": "679", + "kind": "string", + "type": { + "$ref": "256" + }, + "value": "Write monitors resource" + }, + "operation": { + "$id": "680", + "kind": "string", + "type": { + "$ref": "254" + }, + "value": "write" + }, + "provider": { + "$id": "681", + "kind": "string", + "type": { + "$ref": "250" + }, + "value": "Dynatrace.Observability" + }, + "resource": { + "$id": "682", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "monitors" + } + } + }, + "isDataAction": { + "$id": "683", + "kind": "boolean", + "type": { + "$ref": "246" + }, + "value": true + }, + "origin": { + "$id": "684", + "kind": "string", + "type": { + "$ref": "1" + }, + "value": "user" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "685", + "kind": "http", + "name": "Operations_List_MinimumSet_Gen", + "description": "Operations_List_MinimumSet_Gen", + "filePath": "2024-04-24/Operations_List_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "666" + }, + "value": { + "$id": "686", + "kind": "string", + "type": { + "$ref": "667" + }, + "value": "2024-04-24" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "239" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "687", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "688", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "147" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "241" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "689", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "690", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$ref": "657" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.Operations", + "apiVersions": [ + "2024-04-24" + ], + "parent": { + "$ref": "653" + } + }, + { + "$id": "692", + "kind": "client", + "name": "MonitoredSubscriptions", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [ + { + "$id": "693", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", + "operation": { + "$id": "694", + "name": "get", + "resourceName": "MonitoredSubscriptionProperties", + "doc": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "695", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.apiVersion", + "readOnly": false + }, + { + "$id": "698", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "699", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "700", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.subscriptionId" + }, + { + "$id": "701", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "702", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.resourceGroupName" + }, + { + "$id": "703", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "704", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.monitorName" + }, + { + "$id": "705", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "149" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "706", + "kind": "http", + "name": "Monitors_GetMonitoredSubscriptions", + "description": "Monitors_GetMonitoredSubscriptions", + "filePath": "2024-04-24/MonitoredSubscriptions_Get.json", + "parameters": [ + { + "parameter": { + "$ref": "695" + }, + "value": { + "$id": "707", + "kind": "string", + "type": { + "$ref": "696" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "703" + }, + "value": { + "$id": "708", + "kind": "string", + "type": { + "$ref": "704" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "701" + }, + "value": { + "$id": "709", + "kind": "string", + "type": { + "$ref": "702" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "698" + }, + "value": { + "$id": "710", + "kind": "string", + "type": { + "$ref": "699" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "711", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "name": { + "$id": "712", + "kind": "string", + "type": { + "$ref": "344" + }, + "value": "default" + }, + "type": { + "$id": "713", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/monitoredSubscriptions" + }, + "id": { + "$id": "714", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default" + }, + "properties": { + "$id": "715", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "monitoredSubscriptionList": { + "$id": "716", + "kind": "array", + "type": { + "$ref": "314" + }, + "value": [ + { + "$id": "717", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "718", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Active" + }, + "subscriptionId": { + "$id": "719", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000" + }, + "tagRules": { + "$id": "720", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "721", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "722", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "723", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "724", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "725", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "726", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "727", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "728", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "729", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "730", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "731", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "732", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "733", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "734", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "735", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + }, + { + "$id": "736", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "737", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Failed" + }, + "subscriptionId": { + "$id": "738", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000001" + }, + "tagRules": { + "$id": "739", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "740", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "741", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "742", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "743", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "744", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "745", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "746", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "747", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "748", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "749", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "750", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "751", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "752", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "753", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "754", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + } + ] + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "755", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "756", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "757", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "758", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "759", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "149" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "280" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get" + }, + { + "$id": "760", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Add the subscriptions that should be monitored by the Dynatrace monitor resource.", + "operation": { + "$id": "761", + "name": "createOrUpdate", + "resourceName": "MonitoredSubscriptionProperties", + "doc": "Add the subscriptions that should be monitored by the Dynatrace monitor resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "762", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "763", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "764", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "765", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "766", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "767", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.subscriptionId" + }, + { + "$id": "768", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "769", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.resourceGroupName" + }, + { + "$id": "770", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.monitorName" + }, + { + "$id": "772", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "151" + }, + "isApiVersion": false, + "optional": true, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.contentType" + }, + { + "$id": "773", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "153" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.accept" + }, + { + "$id": "774", + "kind": "body", + "name": "body", + "serializedName": "body", + "doc": "", + "type": { + "$ref": "280" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": true, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "775", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "776", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "777", + "kind": "http", + "name": "Monitors_AddMonitoredSubscriptions", + "description": "Monitors_AddMonitoredSubscriptions", + "filePath": "2024-04-24/MonitoredSubscriptions_CreateOrUpdate.json", + "parameters": [ + { + "parameter": { + "$ref": "762" + }, + "value": { + "$id": "778", + "kind": "string", + "type": { + "$ref": "763" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "770" + }, + "value": { + "$id": "779", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "768" + }, + "value": { + "$id": "780", + "kind": "string", + "type": { + "$ref": "769" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "765" + }, + "value": { + "$id": "781", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "782", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "name": { + "$id": "783", + "kind": "string", + "type": { + "$ref": "344" + }, + "value": "default" + }, + "type": { + "$id": "784", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/monitoredSubscriptions" + }, + "id": { + "$id": "785", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default" + }, + "properties": { + "$id": "786", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "monitoredSubscriptionList": { + "$id": "787", + "kind": "array", + "type": { + "$ref": "314" + }, + "value": [ + { + "$id": "788", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "789", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Active" + }, + "subscriptionId": { + "$id": "790", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000" + }, + "tagRules": { + "$id": "791", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "792", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "793", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "794", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "795", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "796", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "797", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "798", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "799", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "800", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "801", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "802", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "803", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "804", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "805", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "806", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + }, + { + "$id": "807", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "808", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Failed" + }, + "subscriptionId": { + "$id": "809", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000001" + }, + "tagRules": { + "$id": "810", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "811", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "812", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "813", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "814", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "815", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "816", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "817", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "818", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "819", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "820", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "821", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "822", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "823", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "824", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "825", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + } + ] + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "775" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "776" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "826", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "name": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "344" + }, + "value": "default" + }, + "type": { + "$id": "828", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/monitoredSubscriptions" + }, + "id": { + "$id": "829", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default" + }, + "properties": { + "$id": "830", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "monitoredSubscriptionList": { + "$id": "831", + "kind": "array", + "type": { + "$ref": "314" + }, + "value": [ + { + "$id": "832", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "833", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Active" + }, + "subscriptionId": { + "$id": "834", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000" + }, + "tagRules": { + "$id": "835", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "836", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "837", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "838", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "839", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "840", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "841", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "842", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "843", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "844", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "845", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "846", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "847", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "848", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "849", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "850", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + }, + { + "$id": "851", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "852", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Failed" + }, + "subscriptionId": { + "$id": "853", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000001" + }, + "tagRules": { + "$id": "854", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "855", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "856", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "857", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "858", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "860", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "861", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "862", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "863", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "864", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "865", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "866", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "867", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "868", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "869", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + } + ] + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "870", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "871", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "872", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "873", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "874", + "kind": "method", + "name": "body", + "serializedName": "body", + "doc": "", + "type": { + "$ref": "280" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "875", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "876", + "kind": "enum", + "name": "createOrUpdateContentType", + "crossLanguageDefinitionId": "", + "valueType": { + "$id": "877", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "878", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$id": "879", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "enumType": { + "$ref": "876" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "isFixed": false, + "isFlags": false, + "usage": "None", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "880", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "155" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "280" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.createOrUpdate", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + } + } + } + }, + { + "$id": "881", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", + "operation": { + "$id": "882", + "name": "update", + "resourceName": "MonitoredSubscriptionProperties", + "doc": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", + "accessibility": "public", + "parameters": [ + { + "$id": "883", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "884", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "885", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.apiVersion", + "readOnly": false + }, + { + "$id": "886", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "887", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "888", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.subscriptionId" + }, + { + "$id": "889", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "890", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.resourceGroupName" + }, + { + "$id": "891", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "892", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.monitorName" + }, + { + "$id": "893", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "157" + }, + "isApiVersion": false, + "optional": true, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.contentType" + }, + { + "$id": "894", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "159" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.accept" + }, + { + "$id": "895", + "kind": "body", + "name": "body", + "serializedName": "body", + "doc": "", + "type": { + "$ref": "280" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": true, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "896", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "897", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "898", + "kind": "http", + "name": "Monitors_UpdateMonitoredSubscriptions", + "description": "Monitors_UpdateMonitoredSubscriptions", + "filePath": "2024-04-24/MonitoredSubscriptions_Update.json", + "parameters": [ + { + "parameter": { + "$ref": "883" + }, + "value": { + "$id": "899", + "kind": "string", + "type": { + "$ref": "884" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "891" + }, + "value": { + "$id": "900", + "kind": "string", + "type": { + "$ref": "892" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "889" + }, + "value": { + "$id": "901", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "886" + }, + "value": { + "$id": "902", + "kind": "string", + "type": { + "$ref": "887" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "903", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "name": { + "$id": "904", + "kind": "string", + "type": { + "$ref": "344" + }, + "value": "default" + }, + "type": { + "$id": "905", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/monitoredSubscriptions" + }, + "id": { + "$id": "906", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default" + }, + "properties": { + "$id": "907", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "monitoredSubscriptionList": { + "$id": "908", + "kind": "array", + "type": { + "$ref": "314" + }, + "value": [ + { + "$id": "909", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "910", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Active" + }, + "subscriptionId": { + "$id": "911", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000" + }, + "tagRules": { + "$id": "912", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "913", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "914", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "915", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "916", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "917", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "918", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "919", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "920", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "921", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "922", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "923", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "924", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "925", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "926", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "927", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + }, + { + "$id": "928", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "929", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Failed" + }, + "subscriptionId": { + "$id": "930", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000001" + }, + "tagRules": { + "$id": "931", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "932", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "933", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "934", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "935", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "936", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "937", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "938", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "939", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "940", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "941", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "942", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "943", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "944", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "945", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "946", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + } + ] + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "896" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "897" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "947", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "948", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "949", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "950", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "951", + "kind": "method", + "name": "body", + "serializedName": "body", + "doc": "", + "type": { + "$ref": "280" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "952", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "953", + "kind": "enum", + "name": "updateContentType", + "crossLanguageDefinitionId": "", + "valueType": { + "$id": "954", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "955", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$id": "956", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "enumType": { + "$ref": "953" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.Dynatrace", + "isFixed": false, + "isFlags": false, + "usage": "None", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "957", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "161" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "280" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "280" + } + } + } + }, + { + "$id": "958", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", + "operation": { + "$id": "959", + "name": "delete", + "resourceName": "MonitoredSubscriptionProperties", + "doc": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", + "accessibility": "public", + "parameters": [ + { + "$id": "960", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "961", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "962", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.apiVersion", + "readOnly": false + }, + { + "$id": "963", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "964", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.subscriptionId" + }, + { + "$id": "966", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "967", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.resourceGroupName" + }, + { + "$id": "968", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "969", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.monitorName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "970", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "971", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "972", + "kind": "http", + "name": "Monitors_DeleteMonitoredSubscriptions", + "description": "Monitors_DeleteMonitoredSubscriptions", + "filePath": "2024-04-24/MonitoredSubscriptions_Delete.json", + "parameters": [ + { + "parameter": { + "$ref": "960" + }, + "value": { + "$id": "973", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "968" + }, + "value": { + "$id": "974", + "kind": "string", + "type": { + "$ref": "969" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "966" + }, + "value": { + "$id": "975", + "kind": "string", + "type": { + "$ref": "967" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "963" + }, + "value": { + "$id": "976", + "kind": "string", + "type": { + "$ref": "964" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "970" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "971" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "977", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "978", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "979", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "980", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "981", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", + "operation": { + "$id": "982", + "name": "list", + "resourceName": "MonitoredSubscriptionProperties", + "doc": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "983", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "984", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.apiVersion", + "readOnly": false + }, + { + "$id": "986", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "987", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "988", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.subscriptionId" + }, + { + "$id": "989", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "990", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.resourceGroupName" + }, + { + "$id": "991", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "992", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.monitorName" + }, + { + "$id": "993", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "163" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "360" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "994", + "kind": "http", + "name": "Monitors_GetMonitoredSubscriptions", + "description": "Monitors_GetMonitoredSubscriptions", + "filePath": "2024-04-24/MonitoredSubscriptions_List.json", + "parameters": [ + { + "parameter": { + "$ref": "983" + }, + "value": { + "$id": "995", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "991" + }, + "value": { + "$id": "996", + "kind": "string", + "type": { + "$ref": "992" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "989" + }, + "value": { + "$id": "997", + "kind": "string", + "type": { + "$ref": "990" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "986" + }, + "value": { + "$id": "998", + "kind": "string", + "type": { + "$ref": "987" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "360" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "999", + "kind": "model", + "type": { + "$ref": "360" + }, + "value": { + "value": { + "$id": "1000", + "kind": "array", + "type": { + "$ref": "362" + }, + "value": [ + { + "$id": "1001", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "name": { + "$id": "1002", + "kind": "string", + "type": { + "$ref": "344" + }, + "value": "default" + }, + "type": { + "$id": "1003", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/monitoredSubscriptions" + }, + "id": { + "$id": "1004", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default" + }, + "properties": { + "$id": "1005", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "monitoredSubscriptionList": { + "$id": "1006", + "kind": "array", + "type": { + "$ref": "314" + }, + "value": [ + { + "$id": "1007", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "1008", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Active" + }, + "subscriptionId": { + "$id": "1009", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000" + }, + "tagRules": { + "$id": "1010", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1011", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1012", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1013", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1014", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1015", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1016", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1017", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1018", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1019", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1020", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1021", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "1022", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1023", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1024", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1025", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + }, + { + "$id": "1026", + "kind": "model", + "type": { + "$ref": "315" + }, + "value": { + "status": { + "$id": "1027", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "Failed" + }, + "subscriptionId": { + "$id": "1028", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000001" + }, + "tagRules": { + "$id": "1029", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1030", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1031", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1032", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1033", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1034", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1035", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1036", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1037", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1038", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1039", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1040", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Disabled" + }, + "sendActivityLogs": { + "$id": "1041", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1042", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1043", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1044", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [] + } + } + } + } + } + } + } + ] + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1045", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1046", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1047", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1048", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1049", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "163" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "362" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "1050", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1051", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$id": "1053", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1054", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "1055", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$ref": "660" + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitoredSubscriptions", + "apiVersions": [ + "2024-04-24" + ], + "parent": { + "$ref": "653" + } + }, + { + "$id": "1056", + "kind": "client", + "name": "TagRules", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [ + { + "$id": "1057", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Get a TagRule", + "operation": { + "$id": "1058", + "name": "get", + "resourceName": "TagRule", + "doc": "Get a TagRule", + "accessibility": "public", + "parameters": [ + { + "$id": "1059", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1060", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1061", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.apiVersion", + "readOnly": false + }, + { + "$id": "1062", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1063", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1064", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.subscriptionId" + }, + { + "$id": "1065", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1066", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.resourceGroupName" + }, + { + "$id": "1067", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1068", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.monitorName" + }, + { + "$id": "1069", + "kind": "path", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1070", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.ruleSetName" + }, + { + "$id": "1071", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "165" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1072", + "kind": "http", + "name": "TagRules_Get_MaximumSet_Gen", + "description": "TagRules_Get_MaximumSet_Gen", + "filePath": "2024-04-24/TagRules_Get_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1059" + }, + "value": { + "$id": "1073", + "kind": "string", + "type": { + "$ref": "1060" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1067" + }, + "value": { + "$id": "1074", + "kind": "string", + "type": { + "$ref": "1068" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1065" + }, + "value": { + "$id": "1075", + "kind": "string", + "type": { + "$ref": "1066" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1069" + }, + "value": { + "$id": "1076", + "kind": "string", + "type": { + "$ref": "1070" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1062" + }, + "value": { + "$id": "1077", + "kind": "string", + "type": { + "$ref": "1063" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1078", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "name": { + "$id": "1079", + "kind": "string", + "type": { + "$ref": "373" + }, + "value": "default" + }, + "type": { + "$id": "1080", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/tagRules" + }, + "id": { + "$id": "1081", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1082", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1083", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1084", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1085", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1086", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1087", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1088", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1089", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1090", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1091", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1092", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1093", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Enabled" + }, + "sendActivityLogs": { + "$id": "1094", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1095", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1096", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1097", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1098", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1099", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1100", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1101", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + } + ] + }, + "sendingMetrics": { + "$id": "1102", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + }, + "provisioningState": { + "$id": "1103", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + } + } + }, + "systemData": { + "$id": "1104", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1105", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1106", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1107", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1108", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1109", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1110", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + } + ] + }, + { + "$id": "1111", + "kind": "http", + "name": "TagRules_Get_MinimumSet_Gen", + "description": "TagRules_Get_MinimumSet_Gen", + "filePath": "2024-04-24/TagRules_Get_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1059" + }, + "value": { + "$id": "1112", + "kind": "string", + "type": { + "$ref": "1060" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1067" + }, + "value": { + "$id": "1113", + "kind": "string", + "type": { + "$ref": "1068" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1065" + }, + "value": { + "$id": "1114", + "kind": "string", + "type": { + "$ref": "1066" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1069" + }, + "value": { + "$id": "1115", + "kind": "string", + "type": { + "$ref": "1070" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1062" + }, + "value": { + "$id": "1116", + "kind": "string", + "type": { + "$ref": "1063" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1117", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "id": { + "$id": "1118", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1119", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1120", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1122", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1124", + "kind": "method", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.ruleSetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1126", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "165" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "366" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get" + }, + { + "$id": "1127", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Create a TagRule", + "operation": { + "$id": "1128", + "name": "createOrUpdate", + "resourceName": "TagRule", + "doc": "Create a TagRule", + "accessibility": "public", + "parameters": [ + { + "$id": "1129", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "1132", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1133", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.subscriptionId" + }, + { + "$id": "1135", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1136", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.resourceGroupName" + }, + { + "$id": "1137", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1138", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.monitorName" + }, + { + "$id": "1139", + "kind": "path", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.ruleSetName" + }, + { + "$id": "1141", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "167" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.contentType" + }, + { + "$id": "1142", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "169" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.accept" + }, + { + "$id": "1143", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "366" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "1145", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1146", + "kind": "http", + "name": "TagRules_CreateOrUpdate_MaximumSet_Gen", + "description": "TagRules_CreateOrUpdate_MaximumSet_Gen", + "filePath": "2024-04-24/TagRules_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1129" + }, + "value": { + "$id": "1147", + "kind": "string", + "type": { + "$ref": "1130" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1137" + }, + "value": { + "$id": "1148", + "kind": "string", + "type": { + "$ref": "1138" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1143" + }, + "value": { + "$id": "1149", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "properties": { + "$id": "1150", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1151", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1152", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1153", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1154", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1155", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1156", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1157", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1158", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1159", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1160", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1161", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Enabled" + }, + "sendActivityLogs": { + "$id": "1162", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1163", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1164", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1165", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1166", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1167", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1168", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1169", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + } + ] + }, + "sendingMetrics": { + "$id": "1170", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + }, + "provisioningState": { + "$id": "1171", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + } + } + } + } + } + }, + { + "parameter": { + "$ref": "1135" + }, + "value": { + "$id": "1172", + "kind": "string", + "type": { + "$ref": "1136" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1139" + }, + "value": { + "$id": "1173", + "kind": "string", + "type": { + "$ref": "1140" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1132" + }, + "value": { + "$id": "1174", + "kind": "string", + "type": { + "$ref": "1133" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1175", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "name": { + "$id": "1176", + "kind": "string", + "type": { + "$ref": "373" + }, + "value": "default" + }, + "type": { + "$id": "1177", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/tagRules" + }, + "id": { + "$id": "1178", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1179", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1180", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1181", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1182", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1183", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1184", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1185", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1186", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1187", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1188", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1189", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1190", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Enabled" + }, + "sendActivityLogs": { + "$id": "1191", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1192", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1193", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1194", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1195", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1196", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1197", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1198", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + } + ] + }, + "sendingMetrics": { + "$id": "1199", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + }, + "provisioningState": { + "$id": "1200", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + } + } + }, + "systemData": { + "$id": "1201", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1202", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1203", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1204", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1205", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1206", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1207", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1144" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1145" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "1208", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "name": { + "$id": "1209", + "kind": "string", + "type": { + "$ref": "373" + }, + "value": "default" + }, + "type": { + "$id": "1210", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/tagRules" + }, + "id": { + "$id": "1211", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1212", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1213", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1214", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1215", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1216", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1217", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1218", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1219", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1220", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1221", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1222", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1223", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Enabled" + }, + "sendActivityLogs": { + "$id": "1224", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1225", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1226", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1227", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1228", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1229", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1230", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1231", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + } + ] + }, + "sendingMetrics": { + "$id": "1232", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + }, + "provisioningState": { + "$id": "1233", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + } + } + }, + "systemData": { + "$id": "1234", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1235", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1236", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1237", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1238", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1239", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1240", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + } + ] + }, + { + "$id": "1241", + "kind": "http", + "name": "TagRules_CreateOrUpdate_MinimumSet_Gen", + "description": "TagRules_CreateOrUpdate_MinimumSet_Gen", + "filePath": "2024-04-24/TagRules_CreateOrUpdate_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1129" + }, + "value": { + "$id": "1242", + "kind": "string", + "type": { + "$ref": "1130" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1137" + }, + "value": { + "$id": "1243", + "kind": "string", + "type": { + "$ref": "1138" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1143" + }, + "value": { + "$id": "1244", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "properties": { + "$id": "1245", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": {} + } + } + } + }, + { + "parameter": { + "$ref": "1135" + }, + "value": { + "$id": "1246", + "kind": "string", + "type": { + "$ref": "1136" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1139" + }, + "value": { + "$id": "1247", + "kind": "string", + "type": { + "$ref": "1140" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1132" + }, + "value": { + "$id": "1248", + "kind": "string", + "type": { + "$ref": "1133" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1249", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "id": { + "$id": "1250", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1251", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": {} + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1144" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1145" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "1252", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "id": { + "$id": "1253", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1254", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1255", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1257", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1259", + "kind": "method", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.ruleSetName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1261", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "366" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1262", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "171" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1263", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "173" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "366" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + } + } + } + }, + { + "$id": "1264", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Delete a TagRule", + "operation": { + "$id": "1265", + "name": "delete", + "resourceName": "TagRule", + "doc": "Delete a TagRule", + "accessibility": "public", + "parameters": [ + { + "$id": "1266", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.apiVersion", + "readOnly": false + }, + { + "$id": "1269", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1270", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.subscriptionId" + }, + { + "$id": "1272", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.resourceGroupName" + }, + { + "$id": "1274", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.monitorName" + }, + { + "$id": "1276", + "kind": "path", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.ruleSetName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1278", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1279", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "1280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "1281", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + }, + { + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "1282", + "kind": "http", + "name": "TagRules_Delete_MaximumSet_Gen", + "description": "TagRules_Delete_MaximumSet_Gen", + "filePath": "2024-04-24/TagRules_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1266" + }, + "value": { + "$id": "1283", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1274" + }, + "value": { + "$id": "1284", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1272" + }, + "value": { + "$id": "1285", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1276" + }, + "value": { + "$id": "1286", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1269" + }, + "value": { + "$id": "1287", + "kind": "string", + "type": { + "$ref": "1270" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1278" + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "1280" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1281" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + }, + { + "$id": "1288", + "kind": "http", + "name": "TagRules_Delete_MinimumSet_Gen", + "description": "TagRules_Delete_MinimumSet_Gen", + "filePath": "2024-04-24/TagRules_Delete_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1266" + }, + "value": { + "$id": "1289", + "kind": "string", + "type": { + "$ref": "1267" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1274" + }, + "value": { + "$id": "1290", + "kind": "string", + "type": { + "$ref": "1275" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1272" + }, + "value": { + "$id": "1291", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1276" + }, + "value": { + "$id": "1292", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "1269" + }, + "value": { + "$id": "1293", + "kind": "string", + "type": { + "$ref": "1270" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1278" + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "1280" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1281" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1294", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1296", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1298", + "kind": "method", + "name": "ruleSetName", + "serializedName": "ruleSetName", + "doc": "Monitor resource name", + "type": { + "$id": "1299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete.ruleSetName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.delete", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "1300", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List all TagRule by monitorName", + "operation": { + "$id": "1301", + "name": "list", + "resourceName": "TagRule", + "doc": "List all TagRule by monitorName", + "accessibility": "public", + "parameters": [ + { + "$id": "1302", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1304", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.apiVersion", + "readOnly": false + }, + { + "$id": "1305", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1306", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.subscriptionId" + }, + { + "$id": "1308", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.resourceGroupName" + }, + { + "$id": "1310", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1311", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.monitorName" + }, + { + "$id": "1312", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "175" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "374" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1313", + "kind": "http", + "name": "TagRules_List_MaximumSet_Gen", + "description": "TagRules_List_MaximumSet_Gen", + "filePath": "2024-04-24/TagRules_List_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1302" + }, + "value": { + "$id": "1314", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1310" + }, + "value": { + "$id": "1315", + "kind": "string", + "type": { + "$ref": "1311" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1308" + }, + "value": { + "$id": "1316", + "kind": "string", + "type": { + "$ref": "1309" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1305" + }, + "value": { + "$id": "1317", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "374" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1318", + "kind": "model", + "type": { + "$ref": "374" + }, + "value": { + "nextLink": { + "$id": "1319", + "kind": "string", + "type": { + "$ref": "378" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1320", + "kind": "array", + "type": { + "$ref": "376" + }, + "value": [ + { + "$id": "1321", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "name": { + "$id": "1322", + "kind": "string", + "type": { + "$ref": "373" + }, + "value": "default" + }, + "type": { + "$id": "1323", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors/tagRules" + }, + "id": { + "$id": "1324", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1325", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": { + "logRules": { + "$id": "1326", + "kind": "model", + "type": { + "$ref": "325" + }, + "value": { + "filteringTags": { + "$id": "1327", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1328", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1329", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1330", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1331", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + }, + { + "$id": "1332", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1333", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1334", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Exclude" + }, + "value": { + "$id": "1335", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Dev" + } + } + } + ] + }, + "sendAadLogs": { + "$id": "1336", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "Enabled" + }, + "sendActivityLogs": { + "$id": "1337", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "Enabled" + }, + "sendSubscriptionLogs": { + "$id": "1338", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Enabled" + } + } + }, + "metricRules": { + "$id": "1339", + "kind": "model", + "type": { + "$ref": "338" + }, + "value": { + "filteringTags": { + "$id": "1340", + "kind": "array", + "type": { + "$ref": "330" + }, + "value": [ + { + "$id": "1341", + "kind": "model", + "type": { + "$ref": "331" + }, + "value": { + "name": { + "$id": "1342", + "kind": "string", + "type": { + "$ref": "333" + }, + "value": "Environment" + }, + "action": { + "$id": "1343", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "Include" + }, + "value": { + "$id": "1344", + "kind": "string", + "type": { + "$ref": "335" + }, + "value": "Prod" + } + } + } + ] + }, + "sendingMetrics": { + "$id": "1345", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + }, + "provisioningState": { + "$id": "1346", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + } + } + }, + "systemData": { + "$id": "1347", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1348", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1349", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1350", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1351", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1352", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1353", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "1354", + "kind": "http", + "name": "TagRules_List_MinimumSet_Gen", + "description": "TagRules_List_MinimumSet_Gen", + "filePath": "2024-04-24/TagRules_List_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1302" + }, + "value": { + "$id": "1355", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1310" + }, + "value": { + "$id": "1356", + "kind": "string", + "type": { + "$ref": "1311" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1308" + }, + "value": { + "$id": "1357", + "kind": "string", + "type": { + "$ref": "1309" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1305" + }, + "value": { + "$id": "1358", + "kind": "string", + "type": { + "$ref": "1306" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "374" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1359", + "kind": "model", + "type": { + "$ref": "374" + }, + "value": { + "nextLink": { + "$id": "1360", + "kind": "string", + "type": { + "$ref": "378" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1361", + "kind": "array", + "type": { + "$ref": "376" + }, + "value": [ + { + "$id": "1362", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "id": { + "$id": "1363", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "properties": { + "$id": "1364", + "kind": "model", + "type": { + "$ref": "323" + }, + "value": {} + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1365", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1366", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1367", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1369", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "175" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "376" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "1370", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1371", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$id": "1373", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1374", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "1375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1376", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1377", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1378", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Dynatrace.Observability.TagRules", + "apiVersions": [ + "2024-04-24" + ], + "parent": { + "$ref": "653" + } + }, + { + "$id": "1379", + "kind": "client", + "name": "Monitors", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [ + { + "$id": "1380", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Get a MonitorResource", + "operation": { + "$id": "1381", + "name": "get", + "resourceName": "MonitorResource", + "doc": "Get a MonitorResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1382", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1383", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1384", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.apiVersion", + "readOnly": false + }, + { + "$id": "1385", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1386", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.subscriptionId" + }, + { + "$id": "1388", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1389", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.resourceGroupName" + }, + { + "$id": "1390", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1391", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.monitorName" + }, + { + "$id": "1392", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "177" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1393", + "kind": "http", + "name": "Monitors_Get_MaximumSet_Gen", + "description": "Monitors_Get_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_Get_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1382" + }, + "value": { + "$id": "1394", + "kind": "string", + "type": { + "$ref": "1383" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1390" + }, + "value": { + "$id": "1395", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1388" + }, + "value": { + "$id": "1396", + "kind": "string", + "type": { + "$ref": "1389" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1385" + }, + "value": { + "$id": "1397", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1398", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1399", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1400", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1401", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1402", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1403", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1404", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1405", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1406", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1407", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1408", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1409", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1410", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1411", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1412", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1413", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1414", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1415", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "landingURL": { + "$id": "1416", + "kind": "string", + "type": { + "$ref": "430" + }, + "value": "https://a23xcv456.dynatrace.com" + }, + "logsIngestionEndpoint": { + "$id": "1417", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1418", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1419", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1420", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1421", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1422", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1423", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1424", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1425", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1426", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1427", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1428", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1429", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1430", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1431", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1432", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1433", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1434", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1435", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1436", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1437", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1438", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1439", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1440", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1441", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1442", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1443", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1444", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1445", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1446", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1447", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1448", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1449", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + } + ] + }, + { + "$id": "1450", + "kind": "http", + "name": "Monitors_Get_MinimumSet_Gen", + "description": "Monitors_Get_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_Get_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1382" + }, + "value": { + "$id": "1451", + "kind": "string", + "type": { + "$ref": "1383" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1390" + }, + "value": { + "$id": "1452", + "kind": "string", + "type": { + "$ref": "1391" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1388" + }, + "value": { + "$id": "1453", + "kind": "string", + "type": { + "$ref": "1389" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1385" + }, + "value": { + "$id": "1454", + "kind": "string", + "type": { + "$ref": "1386" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1455", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "id": { + "$id": "1456", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "location": { + "$id": "1457", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1458", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1459", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1460", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1461", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1463", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "177" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "380" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get" + }, + { + "$id": "1464", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Create a MonitorResource", + "operation": { + "$id": "1465", + "name": "createOrUpdate", + "resourceName": "MonitorResource", + "doc": "Create a MonitorResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1466", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1467", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1468", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "1469", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1470", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1471", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.subscriptionId" + }, + { + "$id": "1472", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1473", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.resourceGroupName" + }, + { + "$id": "1474", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.monitorName" + }, + { + "$id": "1476", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "179" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.contentType" + }, + { + "$id": "1477", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "181" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.accept" + }, + { + "$id": "1478", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "380" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1479", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "1480", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1481", + "kind": "http", + "name": "Monitors_CreateOrUpdate_MaximumSet_Gen", + "description": "Monitors_CreateOrUpdate_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1466" + }, + "value": { + "$id": "1482", + "kind": "string", + "type": { + "$ref": "1467" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1474" + }, + "value": { + "$id": "1483", + "kind": "string", + "type": { + "$ref": "1475" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1478" + }, + "value": { + "$id": "1484", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "identity": { + "$id": "1485", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1486", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + } + } + }, + "location": { + "$id": "1487", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1488", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1489", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1490", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": {} + }, + "environmentInfo": { + "$id": "1491", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": {} + }, + "singleSignOnProperties": { + "$id": "1492", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": {} + } + } + }, + "liftrResourceCategory": { + "$id": "1493", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "marketplaceSubscriptionStatus": { + "$id": "1494", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1495", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1496", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1497", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1498", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1499", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1500", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1501", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1502", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1503", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1504", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1505", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1506", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1507", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "tags": { + "$id": "1508", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1509", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + }, + { + "parameter": { + "$ref": "1472" + }, + "value": { + "$id": "1510", + "kind": "string", + "type": { + "$ref": "1473" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1469" + }, + "value": { + "$id": "1511", + "kind": "string", + "type": { + "$ref": "1470" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1512", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1513", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1514", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1515", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1516", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1517", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1518", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1519", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1520", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1521", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1522", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1523", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1524", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1525", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1526", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1527", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1528", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1529", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "logsIngestionEndpoint": { + "$id": "1530", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1531", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1532", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1533", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1534", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1535", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1536", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1537", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1538", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1539", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1540", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1541", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1542", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1543", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1544", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1545", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1546", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1547", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1548", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1549", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1550", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1551", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1552", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1553", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1554", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1555", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1556", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1557", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1558", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1559", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1560", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1561", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1562", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1479" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1480" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "1563", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1564", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1565", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1566", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1567", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1568", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1569", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1570", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1571", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1572", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1573", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1574", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1575", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1576", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1577", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1578", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1579", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1580", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "logsIngestionEndpoint": { + "$id": "1581", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1582", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1583", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1584", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1585", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1586", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1587", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1588", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1589", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1590", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1591", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1592", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1593", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1594", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1595", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1596", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1597", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1598", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1599", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1600", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1601", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1602", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1603", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1604", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1605", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1606", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1607", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1608", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1609", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1610", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1611", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1612", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1613", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + } + ] + }, + { + "$id": "1614", + "kind": "http", + "name": "Monitors_CreateOrUpdate_MinimumSet_Gen", + "description": "Monitors_CreateOrUpdate_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_CreateOrUpdate_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1466" + }, + "value": { + "$id": "1615", + "kind": "string", + "type": { + "$ref": "1467" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1474" + }, + "value": { + "$id": "1616", + "kind": "string", + "type": { + "$ref": "1475" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1478" + }, + "value": { + "$id": "1617", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "location": { + "$id": "1618", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1619", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + }, + { + "parameter": { + "$ref": "1472" + }, + "value": { + "$id": "1620", + "kind": "string", + "type": { + "$ref": "1473" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1469" + }, + "value": { + "$id": "1621", + "kind": "string", + "type": { + "$ref": "1470" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1622", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "id": { + "$id": "1623", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "location": { + "$id": "1624", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1625", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1479" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1480" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "1626", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "id": { + "$id": "1627", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "location": { + "$id": "1628", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1629", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1630", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1632", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1633", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1634", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "380" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1635", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "183" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1636", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "185" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "380" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + } + } + } + }, + { + "$id": "1637", + "kind": "basic", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Update a MonitorResource", + "operation": { + "$id": "1638", + "name": "update", + "resourceName": "MonitorResource", + "doc": "Update a MonitorResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1639", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1640", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1641", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.apiVersion", + "readOnly": false + }, + { + "$id": "1642", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1643", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1644", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.subscriptionId" + }, + { + "$id": "1645", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.resourceGroupName" + }, + { + "$id": "1647", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.monitorName" + }, + { + "$id": "1649", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "187" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.contentType" + }, + { + "$id": "1650", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "189" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.accept" + }, + { + "$id": "1651", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "489" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1652", + "kind": "http", + "name": "Monitors_Update_MaximumSet_Gen", + "description": "Monitors_Update_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_Update_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1639" + }, + "value": { + "$id": "1653", + "kind": "string", + "type": { + "$ref": "1640" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1647" + }, + "value": { + "$id": "1654", + "kind": "string", + "type": { + "$ref": "1648" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1651" + }, + "value": { + "$id": "1655", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "properties": { + "$id": "1656", + "kind": "model", + "type": { + "$ref": "492" + }, + "value": { + "planData": { + "$id": "1657", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1658", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1659", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1660", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1661", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + } + } + }, + "tags": { + "$id": "1662", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1663", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + }, + { + "parameter": { + "$ref": "1645" + }, + "value": { + "$id": "1664", + "kind": "string", + "type": { + "$ref": "1646" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1642" + }, + "value": { + "$id": "1665", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1666", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1667", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1668", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1669", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1670", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1671", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1672", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1673", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1674", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1675", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1676", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1677", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1678", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1679", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1680", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1681", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1682", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1683", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "landingURL": { + "$id": "1684", + "kind": "string", + "type": { + "$ref": "430" + }, + "value": "https://a23xcv456.dynatrace.com" + }, + "logsIngestionEndpoint": { + "$id": "1685", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1686", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1687", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1688", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1689", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1690", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1691", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1692", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1693", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1694", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1695", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1696", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1697", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1698", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1699", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1700", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1701", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1702", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1703", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1704", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1705", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1706", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1707", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1708", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1709", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1710", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1711", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1712", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1713", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1714", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1715", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1716", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1717", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + } + ] + }, + { + "$id": "1718", + "kind": "http", + "name": "Monitors_Update_MinimumSet_Gen", + "description": "Monitors_Update_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_Update_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1639" + }, + "value": { + "$id": "1719", + "kind": "string", + "type": { + "$ref": "1640" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1647" + }, + "value": { + "$id": "1720", + "kind": "string", + "type": { + "$ref": "1648" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1651" + }, + "value": { + "$id": "1721", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": {} + } + }, + { + "parameter": { + "$ref": "1645" + }, + "value": { + "$id": "1722", + "kind": "string", + "type": { + "$ref": "1646" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1642" + }, + "value": { + "$id": "1723", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "380" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1724", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "location": { + "$id": "1725", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1726", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1727", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1728", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1729", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1730", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1731", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "489" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1732", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "187" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1733", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "189" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "380" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.update" + }, + { + "$id": "1734", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Delete a MonitorResource", + "operation": { + "$id": "1735", + "name": "delete", + "resourceName": "MonitorResource", + "doc": "Delete a MonitorResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1736", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1737", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1738", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.apiVersion", + "readOnly": false + }, + { + "$id": "1739", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1740", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1741", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.subscriptionId" + }, + { + "$id": "1742", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1743", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.resourceGroupName" + }, + { + "$id": "1744", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.monitorName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1746", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1747", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "1748", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "1749", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + }, + { + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "1750", + "kind": "http", + "name": "Monitors_Delete_MaximumSet_Gen", + "description": "Monitors_Delete_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1736" + }, + "value": { + "$id": "1751", + "kind": "string", + "type": { + "$ref": "1737" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1744" + }, + "value": { + "$id": "1752", + "kind": "string", + "type": { + "$ref": "1745" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1742" + }, + "value": { + "$id": "1753", + "kind": "string", + "type": { + "$ref": "1743" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1739" + }, + "value": { + "$id": "1754", + "kind": "string", + "type": { + "$ref": "1740" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1746" + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "1748" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1749" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + }, + { + "$id": "1755", + "kind": "http", + "name": "Monitors_Delete_MinimumSet_Gen", + "description": "Monitors_Delete_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_Delete_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1736" + }, + "value": { + "$id": "1756", + "kind": "string", + "type": { + "$ref": "1737" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1744" + }, + "value": { + "$id": "1757", + "kind": "string", + "type": { + "$ref": "1745" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1742" + }, + "value": { + "$id": "1758", + "kind": "string", + "type": { + "$ref": "1743" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1739" + }, + "value": { + "$id": "1759", + "kind": "string", + "type": { + "$ref": "1740" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "1746" + } + }, + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "1748" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "1749" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1760", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1761", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1762", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1763", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.delete", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "1764", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List MonitorResource resources by resource group", + "operation": { + "$id": "1765", + "name": "listByResourceGroup", + "resourceName": "MonitorResource", + "doc": "List MonitorResource resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "1766", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1767", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "1769", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1770", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.subscriptionId" + }, + { + "$id": "1772", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1773", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.resourceGroupName" + }, + { + "$id": "1774", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "191" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1775", + "kind": "http", + "name": "Monitors_ListByResourceGroup_MaximumSet_Gen", + "description": "Monitors_ListByResourceGroup_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1766" + }, + "value": { + "$id": "1776", + "kind": "string", + "type": { + "$ref": "1767" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1772" + }, + "value": { + "$id": "1777", + "kind": "string", + "type": { + "$ref": "1773" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1769" + }, + "value": { + "$id": "1778", + "kind": "string", + "type": { + "$ref": "1770" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1779", + "kind": "model", + "type": { + "$ref": "507" + }, + "value": { + "nextLink": { + "$id": "1780", + "kind": "string", + "type": { + "$ref": "511" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1781", + "kind": "array", + "type": { + "$ref": "509" + }, + "value": [ + { + "$id": "1782", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1783", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1784", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1785", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1786", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1787", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1788", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1789", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1790", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1791", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1792", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1793", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1794", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1795", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1796", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1797", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1798", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1799", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "landingURL": { + "$id": "1800", + "kind": "string", + "type": { + "$ref": "430" + }, + "value": "https://a23xcv456.dynatrace.com" + }, + "logsIngestionEndpoint": { + "$id": "1801", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1802", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1803", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1804", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1805", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1806", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1807", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1808", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1809", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1810", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1811", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1812", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1813", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1814", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1815", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1816", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1817", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1818", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1819", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1820", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1821", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1822", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1823", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1824", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1825", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1826", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1827", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1828", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1829", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1830", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1831", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1832", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1833", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "1834", + "kind": "http", + "name": "Monitors_ListByResourceGroup_MinimumSet_Gen", + "description": "Monitors_ListByResourceGroup_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListByResourceGroup_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1766" + }, + "value": { + "$id": "1835", + "kind": "string", + "type": { + "$ref": "1767" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1772" + }, + "value": { + "$id": "1836", + "kind": "string", + "type": { + "$ref": "1773" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1769" + }, + "value": { + "$id": "1837", + "kind": "string", + "type": { + "$ref": "1770" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1838", + "kind": "model", + "type": { + "$ref": "507" + }, + "value": { + "nextLink": { + "$id": "1839", + "kind": "string", + "type": { + "$ref": "511" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1840", + "kind": "array", + "type": { + "$ref": "509" + }, + "value": [ + { + "$id": "1841", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "id": { + "$id": "1842", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "location": { + "$id": "1843", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1844", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1845", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1846", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1847", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "191" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "509" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "1848", + "kind": "paging", + "name": "listBySubscriptionId", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List all MonitorResource by subscriptionId", + "operation": { + "$id": "1849", + "name": "listBySubscriptionId", + "resourceName": "MonitorResource", + "doc": "List all MonitorResource by subscriptionId", + "accessibility": "public", + "parameters": [ + { + "$id": "1850", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1851", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1852", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId.apiVersion", + "readOnly": false + }, + { + "$id": "1853", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1854", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1855", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId.subscriptionId" + }, + { + "$id": "1856", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "193" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/monitors", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1857", + "kind": "http", + "name": "Monitors_ListBySubscriptionId_MaximumSet_Gen", + "description": "Monitors_ListBySubscriptionId_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListBySubscriptionId_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1850" + }, + "value": { + "$id": "1858", + "kind": "string", + "type": { + "$ref": "1851" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1853" + }, + "value": { + "$id": "1859", + "kind": "string", + "type": { + "$ref": "1854" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1860", + "kind": "model", + "type": { + "$ref": "507" + }, + "value": { + "nextLink": { + "$id": "1861", + "kind": "string", + "type": { + "$ref": "511" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1862", + "kind": "array", + "type": { + "$ref": "509" + }, + "value": [ + { + "$id": "1863", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "name": { + "$id": "1864", + "kind": "string", + "type": { + "$ref": "471" + }, + "value": "myMonitor" + }, + "type": { + "$id": "1865", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "1866", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor" + }, + "identity": { + "$id": "1867", + "kind": "model", + "type": { + "$ref": "473" + }, + "value": { + "type": { + "$id": "1868", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "SystemAssigned" + }, + "principalId": { + "$id": "1869", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "4534676867978" + }, + "tenantId": { + "$id": "1870", + "kind": "string", + "type": { + "$ref": "475" + }, + "value": "23456789001" + } + } + }, + "location": { + "$id": "1871", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1872", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "dynatraceEnvironmentProperties": { + "$id": "1873", + "kind": "model", + "type": { + "$ref": "410" + }, + "value": { + "accountInfo": { + "$id": "1874", + "kind": "model", + "type": { + "$ref": "414" + }, + "value": { + "accountId": { + "$id": "1875", + "kind": "string", + "type": { + "$ref": "416" + }, + "value": "1234567890" + }, + "companyName": { + "$id": "1876", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "company" + }, + "regionId": { + "$id": "1877", + "kind": "string", + "type": { + "$ref": "418" + }, + "value": "wus2" + } + } + }, + "environmentInfo": { + "$id": "1878", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "environmentId": { + "$id": "1879", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "a23xcv456" + }, + "ingestionKey": { + "$id": "1880", + "kind": "string", + "type": { + "$ref": "426" + }, + "value": "1234567890" + }, + "landingURL": { + "$id": "1881", + "kind": "string", + "type": { + "$ref": "430" + }, + "value": "https://a23xcv456.dynatrace.com" + }, + "logsIngestionEndpoint": { + "$id": "1882", + "kind": "string", + "type": { + "$ref": "428" + }, + "value": "https://dynatrace.com" + } + } + }, + "singleSignOnProperties": { + "$id": "1883", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "1884", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "1885", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "1886", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "singleSignOnState": { + "$id": "1887", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "1888", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "userId": { + "$id": "1889", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "alice123" + } + } + }, + "liftrResourceCategory": { + "$id": "1890", + "kind": "string", + "type": { + "$ref": "83" + }, + "value": "Unknown" + }, + "liftrResourcePreference": { + "$id": "1891", + "kind": "number", + "type": { + "$ref": "468" + }, + "value": 28 + }, + "marketplaceSubscriptionStatus": { + "$id": "1892", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "monitoringStatus": { + "$id": "1893", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "Enabled" + }, + "planData": { + "$id": "1894", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "1895", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "1896", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "1897", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "1898", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + }, + "provisioningState": { + "$id": "1899", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "userInfo": { + "$id": "1900", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "country": { + "$id": "1901", + "kind": "string", + "type": { + "$ref": "454" + }, + "value": "westus2" + }, + "emailAddress": { + "$id": "1902", + "kind": "string", + "type": { + "$ref": "450" + }, + "value": "alice@microsoft.com" + }, + "firstName": { + "$id": "1903", + "kind": "string", + "type": { + "$ref": "446" + }, + "value": "Alice" + }, + "lastName": { + "$id": "1904", + "kind": "string", + "type": { + "$ref": "448" + }, + "value": "Bobab" + }, + "phoneNumber": { + "$id": "1905", + "kind": "string", + "type": { + "$ref": "452" + }, + "value": "123456" + } + } + } + } + }, + "systemData": { + "$id": "1906", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "1907", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "1908", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "1909", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1910", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "1911", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "1912", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + }, + "tags": { + "$id": "1913", + "kind": "dict", + "type": { + "$ref": "398" + }, + "value": { + "Environment": { + "$id": "1914", + "kind": "string", + "type": { + "$ref": "400" + }, + "value": "Dev" + } + } + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "1915", + "kind": "http", + "name": "Monitors_ListBySubscriptionId_MinimumSet_Gen", + "description": "Monitors_ListBySubscriptionId_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListBySubscriptionId_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1850" + }, + "value": { + "$id": "1916", + "kind": "string", + "type": { + "$ref": "1851" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1853" + }, + "value": { + "$id": "1917", + "kind": "string", + "type": { + "$ref": "1854" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "507" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1918", + "kind": "model", + "type": { + "$ref": "507" + }, + "value": { + "nextLink": { + "$id": "1919", + "kind": "string", + "type": { + "$ref": "511" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1920", + "kind": "array", + "type": { + "$ref": "509" + }, + "value": [ + { + "$id": "1921", + "kind": "model", + "type": { + "$ref": "380" + }, + "value": { + "id": { + "$id": "1922", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default" + }, + "location": { + "$id": "1923", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "West US 2" + }, + "properties": { + "$id": "1924", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": {} + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1925", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "193" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "509" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listBySubscriptionId", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "1926", + "kind": "paging", + "name": "listMonitoredResources", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List the resources currently being monitored by the Dynatrace monitor resource.", + "operation": { + "$id": "1927", + "name": "listMonitoredResources", + "resourceName": "MonitorResources", + "doc": "List the resources currently being monitored by the Dynatrace monitor resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1928", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1929", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1930", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.apiVersion", + "readOnly": false + }, + { + "$id": "1931", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1932", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1933", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.subscriptionId" + }, + { + "$id": "1934", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1935", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.resourceGroupName" + }, + { + "$id": "1936", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1937", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.monitorName" + }, + { + "$id": "1938", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "195" + }, + "isApiVersion": false, + "optional": true, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.contentType" + }, + { + "$id": "1939", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "197" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.accept" + }, + { + "$id": "1940", + "kind": "body", + "name": "content", + "serializedName": "content", + "doc": "The details of the log status request.", + "type": { + "$ref": "513" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": true, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "515" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listMonitoredResources", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1941", + "kind": "http", + "name": "Monitors_ListMonitoredResources_MaximumSet_Gen", + "description": "Monitors_ListMonitoredResources_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListMonitoredResources_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1928" + }, + "value": { + "$id": "1942", + "kind": "string", + "type": { + "$ref": "1929" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1936" + }, + "value": { + "$id": "1943", + "kind": "string", + "type": { + "$ref": "1937" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1934" + }, + "value": { + "$id": "1944", + "kind": "string", + "type": { + "$ref": "1935" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1931" + }, + "value": { + "$id": "1945", + "kind": "string", + "type": { + "$ref": "1932" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "515" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1946", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "nextLink": { + "$id": "1947", + "kind": "string", + "type": { + "$ref": "529" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "1948", + "kind": "array", + "type": { + "$ref": "517" + }, + "value": [ + { + "$id": "1949", + "kind": "model", + "type": { + "$ref": "518" + }, + "value": { + "id": { + "$id": "1950", + "kind": "string", + "type": { + "$ref": "520" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources" + }, + "reasonForLogsStatus": { + "$id": "1951", + "kind": "string", + "type": { + "$ref": "527" + }, + "value": "CapturedByRules" + }, + "reasonForMetricsStatus": { + "$id": "1952", + "kind": "string", + "type": { + "$ref": "524" + }, + "value": "CapturedByRules" + }, + "sendingLogs": { + "$id": "1953", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "Enabled" + }, + "sendingMetrics": { + "$id": "1954", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "Enabled" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "1955", + "kind": "http", + "name": "Monitors_ListMonitoredResources_MinimumSet_Gen", + "description": "Monitors_ListMonitoredResources_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListMonitoredResources_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1928" + }, + "value": { + "$id": "1956", + "kind": "string", + "type": { + "$ref": "1929" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1936" + }, + "value": { + "$id": "1957", + "kind": "string", + "type": { + "$ref": "1937" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1934" + }, + "value": { + "$id": "1958", + "kind": "string", + "type": { + "$ref": "1935" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1931" + }, + "value": { + "$id": "1959", + "kind": "string", + "type": { + "$ref": "1932" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "515" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1960", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "value": { + "$id": "1961", + "kind": "array", + "type": { + "$ref": "517" + }, + "value": [] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1962", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1963", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1964", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1966", + "kind": "method", + "name": "content", + "serializedName": "content", + "doc": "The details of the log status request.", + "type": { + "$ref": "513" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1967", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "195" + }, + "location": "Header", + "isApiVersion": false, + "optional": true, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1968", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "197" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "517" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listMonitoredResources", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "1969", + "kind": "basic", + "name": "getVmHostPayload", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.", + "operation": { + "$id": "1970", + "name": "getVmHostPayload", + "resourceName": "MonitorResources", + "doc": "Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.", + "accessibility": "public", + "parameters": [ + { + "$id": "1971", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1972", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.apiVersion", + "readOnly": false + }, + { + "$id": "1974", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1975", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1976", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.subscriptionId" + }, + { + "$id": "1977", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1978", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.resourceGroupName" + }, + { + "$id": "1979", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1980", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.monitorName" + }, + { + "$id": "1981", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "199" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "531" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getVMHostPayload", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "1982", + "kind": "http", + "name": "Monitors_GetVMHostPayload_MaximumSet_Gen", + "description": "Monitors_GetVMHostPayload_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_GetVMHostPayload_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1971" + }, + "value": { + "$id": "1983", + "kind": "string", + "type": { + "$ref": "1972" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1979" + }, + "value": { + "$id": "1984", + "kind": "string", + "type": { + "$ref": "1980" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1977" + }, + "value": { + "$id": "1985", + "kind": "string", + "type": { + "$ref": "1978" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1974" + }, + "value": { + "$id": "1986", + "kind": "string", + "type": { + "$ref": "1975" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "531" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1987", + "kind": "model", + "type": { + "$ref": "531" + }, + "value": { + "environmentId": { + "$id": "1988", + "kind": "string", + "type": { + "$ref": "535" + }, + "value": "abc123lsjlsfjlfjgd" + }, + "ingestionKey": { + "$id": "1989", + "kind": "string", + "type": { + "$ref": "533" + }, + "value": "abcd.efg" + } + } + } + } + ] + }, + { + "$id": "1990", + "kind": "http", + "name": "Monitors_GetVMHostPayload_MinimumSet_Gen", + "description": "Monitors_GetVMHostPayload_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_GetVMHostPayload_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "1971" + }, + "value": { + "$id": "1991", + "kind": "string", + "type": { + "$ref": "1972" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "1979" + }, + "value": { + "$id": "1992", + "kind": "string", + "type": { + "$ref": "1980" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "1977" + }, + "value": { + "$id": "1993", + "kind": "string", + "type": { + "$ref": "1978" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "1974" + }, + "value": { + "$id": "1994", + "kind": "string", + "type": { + "$ref": "1975" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "531" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1995", + "kind": "model", + "type": { + "$ref": "531" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1996", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1997", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1998", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "1999", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2000", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "199" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "531" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getVMHostPayload" + }, + { + "$id": "2001", + "kind": "basic", + "name": "manageAgentInstallation", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources.", + "operation": { + "$id": "2002", + "name": "manageAgentInstallation", + "resourceName": "MonitorResources", + "doc": "Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources.", + "accessibility": "public", + "parameters": [ + { + "$id": "2003", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2004", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.apiVersion", + "readOnly": false + }, + { + "$id": "2006", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2007", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2008", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.subscriptionId" + }, + { + "$id": "2009", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2010", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.resourceGroupName" + }, + { + "$id": "2011", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.monitorName" + }, + { + "$id": "2013", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "201" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.contentType" + }, + { + "$id": "2014", + "kind": "body", + "name": "request", + "serializedName": "request", + "doc": "List of resources and action", + "type": { + "$ref": "536" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.body" + } + ], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/manageAgentInstallation", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2015", + "kind": "http", + "name": "Monitors_ManageAgentInstallation_MaximumSet_Gen", + "description": "Monitors_ManageAgentInstallation_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ManageAgentInstallation_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2003" + }, + "value": { + "$id": "2016", + "kind": "string", + "type": { + "$ref": "2004" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2011" + }, + "value": { + "$id": "2017", + "kind": "string", + "type": { + "$ref": "2012" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2009" + }, + "value": { + "$id": "2018", + "kind": "string", + "type": { + "$ref": "2010" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2006" + }, + "value": { + "$id": "2019", + "kind": "string", + "type": { + "$ref": "2007" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2014" + }, + "value": { + "$id": "2020", + "kind": "model", + "type": { + "$ref": "536" + }, + "value": { + "action": { + "$id": "2021", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "Install" + }, + "manageAgentInstallationList": { + "$id": "2022", + "kind": "array", + "type": { + "$ref": "538" + }, + "value": [ + { + "$id": "2023", + "kind": "model", + "type": { + "$ref": "539" + }, + "value": { + "id": { + "$id": "2024", + "kind": "string", + "type": { + "$ref": "541" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" + } + } + }, + { + "$id": "2025", + "kind": "model", + "type": { + "$ref": "539" + }, + "value": { + "id": { + "$id": "2026", + "kind": "string", + "type": { + "$ref": "541" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName2" + } + } + } + ] + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + }, + { + "$id": "2027", + "kind": "http", + "name": "Monitors_ManageAgentInstallation_MinimumSet_Gen", + "description": "Monitors_ManageAgentInstallation_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ManageAgentInstallation_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2003" + }, + "value": { + "$id": "2028", + "kind": "string", + "type": { + "$ref": "2004" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2011" + }, + "value": { + "$id": "2029", + "kind": "string", + "type": { + "$ref": "2012" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2009" + }, + "value": { + "$id": "2030", + "kind": "string", + "type": { + "$ref": "2010" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2006" + }, + "value": { + "$id": "2031", + "kind": "string", + "type": { + "$ref": "2007" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2014" + }, + "value": { + "$id": "2032", + "kind": "model", + "type": { + "$ref": "536" + }, + "value": { + "action": { + "$id": "2033", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "Uninstall" + }, + "manageAgentInstallationList": { + "$id": "2034", + "kind": "array", + "type": { + "$ref": "538" + }, + "value": [ + { + "$id": "2035", + "kind": "model", + "type": { + "$ref": "539" + }, + "value": { + "id": { + "$id": "2036", + "kind": "string", + "type": { + "$ref": "541" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" + } + } + } + ] + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2037", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2038", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2039", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2040", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2041", + "kind": "method", + "name": "request", + "serializedName": "request", + "doc": "List of resources and action", + "type": { + "$ref": "536" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2042", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "201" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.manageAgentInstallation" + }, + { + "$id": "2043", + "kind": "paging", + "name": "listHosts", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List the VM/VMSS resources currently being monitored by the Dynatrace resource.", + "operation": { + "$id": "2044", + "name": "listHosts", + "resourceName": "MonitorResources", + "doc": "List the VM/VMSS resources currently being monitored by the Dynatrace resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "2045", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2046", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2047", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.apiVersion", + "readOnly": false + }, + { + "$id": "2048", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2049", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2050", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.subscriptionId" + }, + { + "$id": "2051", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.resourceGroupName" + }, + { + "$id": "2053", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2054", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.monitorName" + }, + { + "$id": "2055", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "203" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "544" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listHosts", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2056", + "kind": "http", + "name": "Monitors_ListHosts_MaximumSet_Gen", + "description": "Monitors_ListHosts_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListHosts_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2045" + }, + "value": { + "$id": "2057", + "kind": "string", + "type": { + "$ref": "2046" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2053" + }, + "value": { + "$id": "2058", + "kind": "string", + "type": { + "$ref": "2054" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2051" + }, + "value": { + "$id": "2059", + "kind": "string", + "type": { + "$ref": "2052" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2048" + }, + "value": { + "$id": "2060", + "kind": "string", + "type": { + "$ref": "2049" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "544" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2061", + "kind": "model", + "type": { + "$ref": "544" + }, + "value": { + "nextLink": { + "$id": "2062", + "kind": "string", + "type": { + "$ref": "563" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "2063", + "kind": "array", + "type": { + "$ref": "546" + }, + "value": [ + { + "$id": "2064", + "kind": "model", + "type": { + "$ref": "547" + }, + "value": { + "autoUpdateSetting": { + "$id": "2065", + "kind": "string", + "type": { + "$ref": "111" + }, + "value": "ENABLED" + }, + "availabilityState": { + "$id": "2066", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "CRASHED" + }, + "hostGroup": { + "$id": "2067", + "kind": "string", + "type": { + "$ref": "559" + }, + "value": "myGroup" + }, + "hostName": { + "$id": "2068", + "kind": "string", + "type": { + "$ref": "561" + }, + "value": "myName" + }, + "logModule": { + "$id": "2069", + "kind": "string", + "type": { + "$ref": "136" + }, + "value": "ENABLED" + }, + "monitoringType": { + "$id": "2070", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "CLOUD_INFRASTRUCTURE" + }, + "resourceId": { + "$id": "2071", + "kind": "string", + "type": { + "$ref": "549" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1" + }, + "updateStatus": { + "$id": "2072", + "kind": "string", + "type": { + "$ref": "115" + }, + "value": "INCOMPATIBLE" + }, + "version": { + "$id": "2073", + "kind": "string", + "type": { + "$ref": "552" + }, + "value": "1.2.0" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "2074", + "kind": "http", + "name": "Monitors_ListHosts_MinimumSet_Gen", + "description": "Monitors_ListHosts_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListHosts_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2045" + }, + "value": { + "$id": "2075", + "kind": "string", + "type": { + "$ref": "2046" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2053" + }, + "value": { + "$id": "2076", + "kind": "string", + "type": { + "$ref": "2054" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2051" + }, + "value": { + "$id": "2077", + "kind": "string", + "type": { + "$ref": "2052" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2048" + }, + "value": { + "$id": "2078", + "kind": "string", + "type": { + "$ref": "2049" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "544" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2079", + "kind": "model", + "type": { + "$ref": "544" + }, + "value": { + "value": { + "$id": "2080", + "kind": "array", + "type": { + "$ref": "546" + }, + "value": [] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2081", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2083", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2084", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2085", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "203" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "546" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listHosts", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "2086", + "kind": "basic", + "name": "getMetricStatus", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Get metric status", + "operation": { + "$id": "2087", + "name": "getMetricStatus", + "resourceName": "MonitorResources", + "doc": "Get metric status", + "accessibility": "public", + "parameters": [ + { + "$id": "2088", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2089", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2090", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.apiVersion", + "readOnly": false + }, + { + "$id": "2091", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2092", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2093", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.subscriptionId" + }, + { + "$id": "2094", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2095", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.resourceGroupName" + }, + { + "$id": "2096", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2097", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.monitorName" + }, + { + "$id": "2098", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "205" + }, + "isApiVersion": false, + "optional": true, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.contentType" + }, + { + "$id": "2099", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "207" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.accept" + }, + { + "$id": "2100", + "kind": "body", + "name": "content", + "serializedName": "content", + "doc": "The details of the metric status request.", + "type": { + "$ref": "565" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": true, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "567" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getMetricStatus", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2101", + "kind": "http", + "name": "Monitors_GetMetricStatus_MaximumSet_Gen", + "description": "Monitors_GetMetricStatus_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_GetMetricStatus_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2088" + }, + "value": { + "$id": "2102", + "kind": "string", + "type": { + "$ref": "2089" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2096" + }, + "value": { + "$id": "2103", + "kind": "string", + "type": { + "$ref": "2097" + }, + "value": "fhcjxnxumkdlgpwanewtkdnyuz" + } + }, + { + "parameter": { + "$ref": "2094" + }, + "value": { + "$id": "2104", + "kind": "string", + "type": { + "$ref": "2095" + }, + "value": "rgDynatrace" + } + }, + { + "parameter": { + "$ref": "2091" + }, + "value": { + "$id": "2105", + "kind": "string", + "type": { + "$ref": "2092" + }, + "value": "1d701e7e-3150-4d33-9279-d4ea03e9110e" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "567" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2106", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "azureResourceIds": { + "$id": "2107", + "kind": "array", + "type": { + "$ref": "569" + }, + "value": [ + { + "$id": "2108", + "kind": "string", + "type": { + "$ref": "570" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/00000000-0000-0000-0000-000000000000" + } + ] + } + } + } + } + ] + }, + { + "$id": "2109", + "kind": "http", + "name": "Monitors_GetMetricStatus_MinimumSet_Gen", + "description": "Monitors_GetMetricStatus_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_GetMetricStatus_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2088" + }, + "value": { + "$id": "2110", + "kind": "string", + "type": { + "$ref": "2089" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2096" + }, + "value": { + "$id": "2111", + "kind": "string", + "type": { + "$ref": "2097" + }, + "value": "fhcjxnxumkdlgpwanewtkdnyuz" + } + }, + { + "parameter": { + "$ref": "2094" + }, + "value": { + "$id": "2112", + "kind": "string", + "type": { + "$ref": "2095" + }, + "value": "rgDynatrace" + } + }, + { + "parameter": { + "$ref": "2091" + }, + "value": { + "$id": "2113", + "kind": "string", + "type": { + "$ref": "2092" + }, + "value": "1d701e7e-3150-4d33-9279-d4ea03e9110e" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "567" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2114", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2115", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2116", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2117", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2118", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2119", + "kind": "method", + "name": "content", + "serializedName": "content", + "doc": "The details of the metric status request.", + "type": { + "$ref": "565" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2120", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "205" + }, + "location": "Header", + "isApiVersion": false, + "optional": true, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2121", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "207" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "567" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getMetricStatus" + }, + { + "$id": "2122", + "kind": "paging", + "name": "listAppServices", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Gets list of App Services with Dynatrace PaaS OneAgent enabled", + "operation": { + "$id": "2123", + "name": "listAppServices", + "resourceName": "MonitorResources", + "doc": "Gets list of App Services with Dynatrace PaaS OneAgent enabled", + "accessibility": "public", + "parameters": [ + { + "$id": "2124", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.apiVersion", + "readOnly": false + }, + { + "$id": "2127", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2128", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.subscriptionId" + }, + { + "$id": "2130", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.resourceGroupName" + }, + { + "$id": "2132", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.monitorName" + }, + { + "$id": "2134", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "209" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "572" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2135", + "kind": "http", + "name": "Monitors_ListAppServices_MaximumSet_Gen", + "description": "Monitors_ListAppServices_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListAppServices_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2124" + }, + "value": { + "$id": "2136", + "kind": "string", + "type": { + "$ref": "2125" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2132" + }, + "value": { + "$id": "2137", + "kind": "string", + "type": { + "$ref": "2133" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2130" + }, + "value": { + "$id": "2138", + "kind": "string", + "type": { + "$ref": "2131" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2127" + }, + "value": { + "$id": "2139", + "kind": "string", + "type": { + "$ref": "2128" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "572" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2140", + "kind": "model", + "type": { + "$ref": "572" + }, + "value": { + "nextLink": { + "$id": "2141", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "2142", + "kind": "array", + "type": { + "$ref": "574" + }, + "value": [ + { + "$id": "2143", + "kind": "model", + "type": { + "$ref": "575" + }, + "value": { + "autoUpdateSetting": { + "$id": "2144", + "kind": "string", + "type": { + "$ref": "111" + }, + "value": "ENABLED" + }, + "availabilityState": { + "$id": "2145", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "CRASHED" + }, + "hostGroup": { + "$id": "2146", + "kind": "string", + "type": { + "$ref": "587" + }, + "value": "myGroup" + }, + "hostName": { + "$id": "2147", + "kind": "string", + "type": { + "$ref": "589" + }, + "value": "myName" + }, + "logModule": { + "$id": "2148", + "kind": "string", + "type": { + "$ref": "136" + }, + "value": "ENABLED" + }, + "monitoringType": { + "$id": "2149", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "CLOUD_INFRASTRUCTURE" + }, + "resourceId": { + "$id": "2150", + "kind": "string", + "type": { + "$ref": "577" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1" + }, + "updateStatus": { + "$id": "2151", + "kind": "string", + "type": { + "$ref": "115" + }, + "value": "INCOMPATIBLE" + }, + "version": { + "$id": "2152", + "kind": "string", + "type": { + "$ref": "580" + }, + "value": "1.2.0" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "2153", + "kind": "http", + "name": "Monitors_ListAppServices_MinimumSet_Gen", + "description": "Monitors_ListAppServices_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListAppServices_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2124" + }, + "value": { + "$id": "2154", + "kind": "string", + "type": { + "$ref": "2125" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2132" + }, + "value": { + "$id": "2155", + "kind": "string", + "type": { + "$ref": "2133" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2130" + }, + "value": { + "$id": "2156", + "kind": "string", + "type": { + "$ref": "2131" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2127" + }, + "value": { + "$id": "2157", + "kind": "string", + "type": { + "$ref": "2128" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "572" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2158", + "kind": "model", + "type": { + "$ref": "572" + }, + "value": { + "value": { + "$id": "2159", + "kind": "array", + "type": { + "$ref": "574" + }, + "value": [] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2160", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2162", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2164", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "209" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "574" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listAppServices", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "2165", + "kind": "lro", + "name": "upgradePlan", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Upgrades the billing Plan for Dynatrace monitor resource.", + "operation": { + "$id": "2166", + "name": "upgradePlan", + "resourceName": "MonitorResources", + "doc": "Upgrades the billing Plan for Dynatrace monitor resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "2167", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.apiVersion", + "readOnly": false + }, + { + "$id": "2170", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2171", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.subscriptionId" + }, + { + "$id": "2173", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.resourceGroupName" + }, + { + "$id": "2175", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.monitorName" + }, + { + "$id": "2177", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "211" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.contentType" + }, + { + "$id": "2178", + "kind": "body", + "name": "request", + "serializedName": "request", + "doc": "The details of the upgrade plan request.", + "type": { + "$ref": "593" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.body" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "2179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "2180", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2181", + "kind": "http", + "name": "Monitors_UpgradePlan_MaximumSet_Gen", + "description": "Monitors_UpgradePlan_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_UpgradePlan_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2167" + }, + "value": { + "$id": "2182", + "kind": "string", + "type": { + "$ref": "2168" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2175" + }, + "value": { + "$id": "2183", + "kind": "string", + "type": { + "$ref": "2176" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2173" + }, + "value": { + "$id": "2184", + "kind": "string", + "type": { + "$ref": "2174" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2170" + }, + "value": { + "$id": "2185", + "kind": "string", + "type": { + "$ref": "2171" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2178" + }, + "value": { + "$id": "2186", + "kind": "model", + "type": { + "$ref": "593" + }, + "value": { + "planData": { + "$id": "2187", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "2188", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "2189", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "2190", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "2191", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "2179" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2180" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + }, + { + "$id": "2192", + "kind": "http", + "name": "Monitors_UpgradePlan_MinimumSet_Gen", + "description": "Monitors_UpgradePlan_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_UpgradePlan_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2167" + }, + "value": { + "$id": "2193", + "kind": "string", + "type": { + "$ref": "2168" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2175" + }, + "value": { + "$id": "2194", + "kind": "string", + "type": { + "$ref": "2176" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2173" + }, + "value": { + "$id": "2195", + "kind": "string", + "type": { + "$ref": "2174" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2170" + }, + "value": { + "$id": "2196", + "kind": "string", + "type": { + "$ref": "2171" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2178" + }, + "value": { + "$id": "2197", + "kind": "model", + "type": { + "$ref": "593" + }, + "value": { + "planData": { + "$id": "2198", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "2199", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "2200", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "2201", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "2202", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "2179" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2180" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2203", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2205", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2207", + "kind": "method", + "name": "request", + "serializedName": "request", + "doc": "The details of the upgrade plan request.", + "type": { + "$ref": "593" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2208", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "213" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.upgradePlan", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ] + } + } + }, + { + "$id": "2209", + "kind": "basic", + "name": "getSsoDetails", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Gets the SSO configuration details from the partner.", + "operation": { + "$id": "2210", + "name": "getSsoDetails", + "resourceName": "MonitorResources", + "doc": "Gets the SSO configuration details from the partner.", + "accessibility": "public", + "parameters": [ + { + "$id": "2211", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.apiVersion", + "readOnly": false + }, + { + "$id": "2214", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2215", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.subscriptionId" + }, + { + "$id": "2217", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.resourceGroupName" + }, + { + "$id": "2219", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.monitorName" + }, + { + "$id": "2221", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "215" + }, + "isApiVersion": false, + "optional": true, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.contentType" + }, + { + "$id": "2222", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "217" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.accept" + }, + { + "$id": "2223", + "kind": "body", + "name": "content", + "serializedName": "content", + "doc": "The details of the get sso details request.", + "type": { + "$ref": "595" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": true, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "598" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getSSODetails", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2224", + "kind": "http", + "name": "Monitors_GetSSODetails_MaximumSet_Gen", + "description": "Monitors_GetSSODetails_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_GetSSODetails_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2211" + }, + "value": { + "$id": "2225", + "kind": "string", + "type": { + "$ref": "2212" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2219" + }, + "value": { + "$id": "2226", + "kind": "string", + "type": { + "$ref": "2220" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2217" + }, + "value": { + "$id": "2227", + "kind": "string", + "type": { + "$ref": "2218" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2214" + }, + "value": { + "$id": "2228", + "kind": "string", + "type": { + "$ref": "2215" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "598" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2229", + "kind": "model", + "type": { + "$ref": "598" + }, + "value": { + "aadDomains": { + "$id": "2230", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2231", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "adminUsers": { + "$id": "2232", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2233", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "alice@microsoft.com" + } + ] + }, + "isSsoEnabled": { + "$id": "2234", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "Enabled" + }, + "metadataUrl": { + "$id": "2235", + "kind": "string", + "type": { + "$ref": "601" + }, + "value": "https://someuri" + }, + "singleSignOnUrl": { + "$id": "2236", + "kind": "string", + "type": { + "$ref": "603" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + } + ] + }, + { + "$id": "2237", + "kind": "http", + "name": "Monitors_GetSSODetails_MinimumSet_Gen", + "description": "Monitors_GetSSODetails_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_GetSSODetails_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2211" + }, + "value": { + "$id": "2238", + "kind": "string", + "type": { + "$ref": "2212" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2219" + }, + "value": { + "$id": "2239", + "kind": "string", + "type": { + "$ref": "2220" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2217" + }, + "value": { + "$id": "2240", + "kind": "string", + "type": { + "$ref": "2218" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2214" + }, + "value": { + "$id": "2241", + "kind": "string", + "type": { + "$ref": "2215" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "598" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2242", + "kind": "model", + "type": { + "$ref": "598" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2243", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2245", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2247", + "kind": "method", + "name": "content", + "serializedName": "content", + "doc": "The details of the get sso details request.", + "type": { + "$ref": "595" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2248", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "215" + }, + "location": "Header", + "isApiVersion": false, + "optional": true, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2249", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "217" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "598" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.getSSODetails" + }, + { + "$id": "2250", + "kind": "paging", + "name": "listLinkableEnvironments", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Gets all the Dynatrace environments that a user can link a azure resource to", + "operation": { + "$id": "2251", + "name": "listLinkableEnvironments", + "resourceName": "MonitorResources", + "doc": "Gets all the Dynatrace environments that a user can link a azure resource to", + "accessibility": "public", + "parameters": [ + { + "$id": "2252", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.apiVersion", + "readOnly": false + }, + { + "$id": "2255", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2256", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2257", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.subscriptionId" + }, + { + "$id": "2258", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.resourceGroupName" + }, + { + "$id": "2260", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.monitorName" + }, + { + "$id": "2262", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "219" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.contentType" + }, + { + "$id": "2263", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "221" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.accept" + }, + { + "$id": "2264", + "kind": "body", + "name": "request", + "serializedName": "request", + "doc": "The details of the linkable environment request.", + "type": { + "$ref": "606" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "615" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listLinkableEnvironments", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceAction", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2265", + "kind": "http", + "name": "Monitors_ListLinkableEnvironments_MaximumSet_Gen", + "description": "Monitors_ListLinkableEnvironments_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2252" + }, + "value": { + "$id": "2266", + "kind": "string", + "type": { + "$ref": "2253" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2260" + }, + "value": { + "$id": "2267", + "kind": "string", + "type": { + "$ref": "2261" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2258" + }, + "value": { + "$id": "2268", + "kind": "string", + "type": { + "$ref": "2259" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2255" + }, + "value": { + "$id": "2269", + "kind": "string", + "type": { + "$ref": "2256" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2264" + }, + "value": { + "$id": "2270", + "kind": "model", + "type": { + "$ref": "606" + }, + "value": { + "region": { + "$id": "2271", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "East US" + }, + "tenantId": { + "$id": "2272", + "kind": "string", + "type": { + "$ref": "608" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "userPrincipal": { + "$id": "2273", + "kind": "string", + "type": { + "$ref": "611" + }, + "value": "alice@microsoft.com" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "615" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2274", + "kind": "model", + "type": { + "$ref": "615" + }, + "value": { + "nextLink": { + "$id": "2275", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "2276", + "kind": "array", + "type": { + "$ref": "617" + }, + "value": [ + { + "$id": "2277", + "kind": "model", + "type": { + "$ref": "618" + }, + "value": { + "environmentId": { + "$id": "2278", + "kind": "string", + "type": { + "$ref": "620" + }, + "value": "abc.123" + }, + "environmentName": { + "$id": "2279", + "kind": "string", + "type": { + "$ref": "622" + }, + "value": "myEnv" + }, + "planData": { + "$id": "2280", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "billingCycle": { + "$id": "2281", + "kind": "string", + "type": { + "$ref": "460" + }, + "value": "Monthly" + }, + "effectiveDate": { + "$id": "2282", + "kind": "string", + "type": { + "$ref": "464" + }, + "value": "2019-08-30T15:14:33+02:00" + }, + "planDetails": { + "$id": "2283", + "kind": "string", + "type": { + "$ref": "462" + }, + "value": "dynatraceapitestplan" + }, + "usageType": { + "$id": "2284", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "Committed" + } + } + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "2285", + "kind": "http", + "name": "Monitors_ListLinkableEnvironments_MinimumSet_Gen", + "description": "Monitors_ListLinkableEnvironments_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2252" + }, + "value": { + "$id": "2286", + "kind": "string", + "type": { + "$ref": "2253" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2260" + }, + "value": { + "$id": "2287", + "kind": "string", + "type": { + "$ref": "2261" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2258" + }, + "value": { + "$id": "2288", + "kind": "string", + "type": { + "$ref": "2259" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2255" + }, + "value": { + "$id": "2289", + "kind": "string", + "type": { + "$ref": "2256" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "2264" + }, + "value": { + "$id": "2290", + "kind": "model", + "type": { + "$ref": "606" + }, + "value": { + "region": { + "$id": "2291", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "East US" + }, + "tenantId": { + "$id": "2292", + "kind": "string", + "type": { + "$ref": "608" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "userPrincipal": { + "$id": "2293", + "kind": "string", + "type": { + "$ref": "611" + }, + "value": "alice@microsoft.com" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "615" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2294", + "kind": "model", + "type": { + "$ref": "615" + }, + "value": { + "value": { + "$id": "2295", + "kind": "array", + "type": { + "$ref": "617" + }, + "value": [] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2296", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2298", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2300", + "kind": "method", + "name": "request", + "serializedName": "request", + "doc": "The details of the linkable environment request.", + "type": { + "$ref": "606" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2301", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "219" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2302", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "221" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "617" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.listLinkableEnvironments", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "2303", + "kind": "basic", + "name": "GetMarketplaceSaaSResourceDetailsResult", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Get Marketplace SaaS resource details", + "operation": { + "$id": "2304", + "name": "GetMarketplaceSaaSResourceDetailsResult", + "resourceName": "MonitorsOperationGroup", + "doc": "Get Marketplace SaaS resource details", + "accessibility": "public", + "parameters": [ + { + "$id": "2305", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2306", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.apiVersion", + "readOnly": false + }, + { + "$id": "2308", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2309", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2310", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.subscriptionId" + }, + { + "$id": "2311", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "223" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.contentType" + }, + { + "$id": "2312", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "225" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.accept" + }, + { + "$id": "2313", + "kind": "body", + "name": "request", + "serializedName": "request", + "doc": "The request body", + "type": { + "$ref": "627" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "631" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getMarketplaceSaaSResourceDetails", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails", + "decorators": [], + "examples": [ + { + "$id": "2314", + "kind": "http", + "name": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", + "description": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", + "filePath": "2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2305" + }, + "value": { + "$id": "2315", + "kind": "string", + "type": { + "$ref": "2306" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2308" + }, + "value": { + "$id": "2316", + "kind": "string", + "type": { + "$ref": "2309" + }, + "value": "1d701e7e-3150-4d33-9279-d4ea03e9110e" + } + }, + { + "parameter": { + "$ref": "2313" + }, + "value": { + "$id": "2317", + "kind": "model", + "type": { + "$ref": "627" + }, + "value": { + "tenantId": { + "$id": "2318", + "kind": "string", + "type": { + "$ref": "629" + }, + "value": "urnmattojzhktcfw" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "631" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2319", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "marketplaceSaaSResourceId": { + "$id": "2320", + "kind": "string", + "type": { + "$ref": "633" + }, + "value": "owpmulwohq" + }, + "marketplaceSubscriptionStatus": { + "$id": "2321", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Active" + }, + "planId": { + "$id": "2322", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "dsfefsaf" + } + } + } + } + ] + }, + { + "$id": "2323", + "kind": "http", + "name": "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen", + "description": "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen", + "filePath": "2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2305" + }, + "value": { + "$id": "2324", + "kind": "string", + "type": { + "$ref": "2306" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2308" + }, + "value": { + "$id": "2325", + "kind": "string", + "type": { + "$ref": "2309" + }, + "value": "1d701e7e-3150-4d33-9279-d4ea03e9110e" + } + }, + { + "parameter": { + "$ref": "2313" + }, + "value": { + "$id": "2326", + "kind": "model", + "type": { + "$ref": "627" + }, + "value": { + "tenantId": { + "$id": "2327", + "kind": "string", + "type": { + "$ref": "629" + }, + "value": "urnmattojzhktcfw" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "631" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2328", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2329", + "kind": "method", + "name": "request", + "serializedName": "request", + "doc": "The request body", + "type": { + "$ref": "627" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2330", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "223" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2331", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "225" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "631" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorsOperationGroup.getMarketplaceSaaSResourceDetails" + } + ], + "parameters": [ + { + "$id": "2332", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "2333", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "2334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$id": "2335", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "2337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2338", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2339", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.MonitorResources.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability", + "apiVersions": [ + "2024-04-24" + ], + "parent": { + "$ref": "653" + } + }, + { + "$id": "2341", + "kind": "client", + "name": "SingleSignOn", + "namespace": "Azure.ResourceManager.Dynatrace", + "methods": [ + { + "$id": "2342", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Get a DynatraceSingleSignOnResource", + "operation": { + "$id": "2343", + "name": "get", + "resourceName": "DynatraceSingleSignOnResource", + "doc": "Get a DynatraceSingleSignOnResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2344", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2346", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.apiVersion", + "readOnly": false + }, + { + "$id": "2347", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2348", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.subscriptionId" + }, + { + "$id": "2350", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2351", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.resourceGroupName" + }, + { + "$id": "2352", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.monitorName" + }, + { + "$id": "2354", + "kind": "path", + "name": "configurationName", + "serializedName": "configurationName", + "doc": "Single Sign On Configuration Name", + "type": { + "$id": "2355", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.configurationName" + }, + { + "$id": "2356", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "227" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2357", + "kind": "http", + "name": "SingleSignOn_Get_MaximumSet_Gen", + "description": "SingleSignOn_Get_MaximumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_Get_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2344" + }, + "value": { + "$id": "2358", + "kind": "string", + "type": { + "$ref": "2345" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2354" + }, + "value": { + "$id": "2359", + "kind": "string", + "type": { + "$ref": "2355" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "2352" + }, + "value": { + "$id": "2360", + "kind": "string", + "type": { + "$ref": "2353" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2350" + }, + "value": { + "$id": "2361", + "kind": "string", + "type": { + "$ref": "2351" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2347" + }, + "value": { + "$id": "2362", + "kind": "string", + "type": { + "$ref": "2348" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2363", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "name": { + "$id": "2364", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "default" + }, + "type": { + "$id": "2365", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "2366", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2367", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2368", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2369", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "2370", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "provisioningState": { + "$id": "2371", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Succeeded" + }, + "singleSignOnState": { + "$id": "2372", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "2373", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "systemData": { + "$id": "2374", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "2375", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "2376", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "2377", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2378", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "2379", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "2380", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + } + ] + }, + { + "$id": "2381", + "kind": "http", + "name": "SingleSignOn_Get_MinimumSet_Gen", + "description": "SingleSignOn_Get_MinimumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_Get_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2344" + }, + "value": { + "$id": "2382", + "kind": "string", + "type": { + "$ref": "2345" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2354" + }, + "value": { + "$id": "2383", + "kind": "string", + "type": { + "$ref": "2355" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "2352" + }, + "value": { + "$id": "2384", + "kind": "string", + "type": { + "$ref": "2353" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2350" + }, + "value": { + "$id": "2385", + "kind": "string", + "type": { + "$ref": "2351" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2347" + }, + "value": { + "$id": "2386", + "kind": "string", + "type": { + "$ref": "2348" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2387", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "id": { + "$id": "2388", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2389", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2390", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2391", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "singleSignOnUrl": { + "$id": "2392", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2393", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2395", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2397", + "kind": "method", + "name": "configurationName", + "serializedName": "configurationName", + "doc": "Single Sign On Configuration Name", + "type": { + "$id": "2398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.configurationName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2399", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "227" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "640" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get" + }, + { + "$id": "2400", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "Create a DynatraceSingleSignOnResource", + "operation": { + "$id": "2401", + "name": "createOrUpdate", + "resourceName": "DynatraceSingleSignOnResource", + "doc": "Create a DynatraceSingleSignOnResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2402", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2403", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.apiVersion", + "readOnly": false + }, + { + "$id": "2405", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2406", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2407", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.subscriptionId" + }, + { + "$id": "2408", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2409", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.resourceGroupName" + }, + { + "$id": "2410", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.monitorName" + }, + { + "$id": "2412", + "kind": "path", + "name": "configurationName", + "serializedName": "configurationName", + "doc": "Single Sign On Configuration Name", + "type": { + "$id": "2413", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.configurationName" + }, + { + "$id": "2414", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "229" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.contentType" + }, + { + "$id": "2415", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "231" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.accept" + }, + { + "$id": "2416", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "640" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "2417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "2418", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2419", + "kind": "http", + "name": "SingleSignOn_CreateOrUpdate_MaximumSet_Gen", + "description": "SingleSignOn_CreateOrUpdate_MaximumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2402" + }, + "value": { + "$id": "2420", + "kind": "string", + "type": { + "$ref": "2403" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2412" + }, + "value": { + "$id": "2421", + "kind": "string", + "type": { + "$ref": "2413" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "2410" + }, + "value": { + "$id": "2422", + "kind": "string", + "type": { + "$ref": "2411" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2416" + }, + "value": { + "$id": "2423", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "properties": { + "$id": "2424", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2425", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2426", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "2427", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "provisioningState": { + "$id": "2428", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "singleSignOnState": { + "$id": "2429", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "2430", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io" + } + } + } + } + } + }, + { + "parameter": { + "$ref": "2408" + }, + "value": { + "$id": "2431", + "kind": "string", + "type": { + "$ref": "2409" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2405" + }, + "value": { + "$id": "2432", + "kind": "string", + "type": { + "$ref": "2406" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2433", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "name": { + "$id": "2434", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "default" + }, + "type": { + "$id": "2435", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "2436", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2437", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2438", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2439", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "2440", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "provisioningState": { + "$id": "2441", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Succeeded" + }, + "singleSignOnState": { + "$id": "2442", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "2443", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "systemData": { + "$id": "2444", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "2445", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "2446", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "2447", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2448", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "2449", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "2450", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "2417" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2418" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "2451", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "name": { + "$id": "2452", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "default" + }, + "type": { + "$id": "2453", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "2454", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2455", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2456", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2457", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "2458", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "provisioningState": { + "$id": "2459", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Accepted" + }, + "singleSignOnState": { + "$id": "2460", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "2461", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "systemData": { + "$id": "2462", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "2463", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "2464", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "2465", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2466", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "2467", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "2468", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + } + ] + }, + { + "$id": "2469", + "kind": "http", + "name": "SingleSignOn_CreateOrUpdate_MinimumSet_Gen", + "description": "SingleSignOn_CreateOrUpdate_MinimumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2402" + }, + "value": { + "$id": "2470", + "kind": "string", + "type": { + "$ref": "2403" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2412" + }, + "value": { + "$id": "2471", + "kind": "string", + "type": { + "$ref": "2413" + }, + "value": "default" + } + }, + { + "parameter": { + "$ref": "2410" + }, + "value": { + "$id": "2472", + "kind": "string", + "type": { + "$ref": "2411" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2416" + }, + "value": { + "$id": "2473", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "properties": { + "$id": "2474", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2475", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2476", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "singleSignOnUrl": { + "$id": "2477", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io" + } + } + } + } + } + }, + { + "parameter": { + "$ref": "2408" + }, + "value": { + "$id": "2478", + "kind": "string", + "type": { + "$ref": "2409" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2405" + }, + "value": { + "$id": "2479", + "kind": "string", + "type": { + "$ref": "2406" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2480", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "id": { + "$id": "2481", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2482", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2483", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2484", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "singleSignOnUrl": { + "$id": "2485", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "640" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "2417" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "2418" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "2486", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "id": { + "$id": "2487", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2488", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2489", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2490", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "singleSignOnUrl": { + "$id": "2491", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2492", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2493", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2494", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2495", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2496", + "kind": "method", + "name": "configurationName", + "serializedName": "configurationName", + "doc": "Single Sign On Configuration Name", + "type": { + "$id": "2497", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.configurationName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2498", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "640" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2499", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "233" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2500", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "235" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "640" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "640" + } + } + } + }, + { + "$id": "2501", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-04-24" + ], + "doc": "List all DynatraceSingleSignOnResource by monitorName", + "operation": { + "$id": "2502", + "name": "list", + "resourceName": "DynatraceSingleSignOnResource", + "doc": "List all DynatraceSingleSignOnResource by monitorName", + "accessibility": "public", + "parameters": [ + { + "$id": "2503", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2504", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "2505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.apiVersion", + "readOnly": false + }, + { + "$id": "2506", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2507", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2508", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.subscriptionId" + }, + { + "$id": "2509", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2510", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.resourceGroupName" + }, + { + "$id": "2511", + "kind": "path", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2512", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.monitorName" + }, + { + "$id": "2513", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "237" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "647" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "2514", + "kind": "http", + "name": "SingleSignOn_List_MaximumSet_Gen", + "description": "SingleSignOn_List_MaximumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_List_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2503" + }, + "value": { + "$id": "2515", + "kind": "string", + "type": { + "$ref": "2504" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2511" + }, + "value": { + "$id": "2516", + "kind": "string", + "type": { + "$ref": "2512" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2509" + }, + "value": { + "$id": "2517", + "kind": "string", + "type": { + "$ref": "2510" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2506" + }, + "value": { + "$id": "2518", + "kind": "string", + "type": { + "$ref": "2507" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "647" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2519", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "nextLink": { + "$id": "2520", + "kind": "string", + "type": { + "$ref": "651" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "2521", + "kind": "array", + "type": { + "$ref": "649" + }, + "value": [ + { + "$id": "2522", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "name": { + "$id": "2523", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "default" + }, + "type": { + "$id": "2524", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "Dynatrace.Observability/monitors" + }, + "id": { + "$id": "2525", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2526", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2527", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2528", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "enterpriseAppId": { + "$id": "2529", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "00000000-0000-0000-0000-000000000000" + }, + "provisioningState": { + "$id": "2530", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Succeeded" + }, + "singleSignOnState": { + "$id": "2531", + "kind": "string", + "type": { + "$ref": "77" + }, + "value": "Enable" + }, + "singleSignOnUrl": { + "$id": "2532", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "systemData": { + "$id": "2533", + "kind": "model", + "type": { + "$ref": "297" + }, + "value": { + "createdAt": { + "$id": "2534", + "kind": "string", + "type": { + "$ref": "302" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "createdBy": { + "$id": "2535", + "kind": "string", + "type": { + "$ref": "299" + }, + "value": "alice@microsoft.com" + }, + "createdByType": { + "$id": "2536", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2537", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "2021-07-16T04:25:21.040Z" + }, + "lastModifiedBy": { + "$id": "2538", + "kind": "string", + "type": { + "$ref": "305" + }, + "value": "alice@microsoft.com" + }, + "lastModifiedByType": { + "$id": "2539", + "kind": "string", + "type": { + "$ref": "53" + }, + "value": "User" + } + } + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "2540", + "kind": "http", + "name": "SingleSignOn_List_MinimumSet_Gen", + "description": "SingleSignOn_List_MinimumSet_Gen", + "filePath": "2024-04-24/SingleSignOn_List_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "2503" + }, + "value": { + "$id": "2541", + "kind": "string", + "type": { + "$ref": "2504" + }, + "value": "2024-04-24" + } + }, + { + "parameter": { + "$ref": "2511" + }, + "value": { + "$id": "2542", + "kind": "string", + "type": { + "$ref": "2512" + }, + "value": "myMonitor" + } + }, + { + "parameter": { + "$ref": "2509" + }, + "value": { + "$id": "2543", + "kind": "string", + "type": { + "$ref": "2510" + }, + "value": "myResourceGroup" + } + }, + { + "parameter": { + "$ref": "2506" + }, + "value": { + "$id": "2544", + "kind": "string", + "type": { + "$ref": "2507" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "647" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "2545", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "nextLink": { + "$id": "2546", + "kind": "string", + "type": { + "$ref": "651" + }, + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123" + }, + "value": { + "$id": "2547", + "kind": "array", + "type": { + "$ref": "649" + }, + "value": [ + { + "$id": "2548", + "kind": "model", + "type": { + "$ref": "640" + }, + "value": { + "id": { + "$id": "2549", + "kind": "string", + "type": { + "$ref": "289" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default" + }, + "properties": { + "$id": "2550", + "kind": "model", + "type": { + "$ref": "432" + }, + "value": { + "aadDomains": { + "$id": "2551", + "kind": "array", + "type": { + "$ref": "440" + }, + "value": [ + { + "$id": "2552", + "kind": "string", + "type": { + "$ref": "441" + }, + "value": "mpliftrdt20210811outlook.onmicrosoft.com" + } + ] + }, + "singleSignOnUrl": { + "$id": "2553", + "kind": "string", + "type": { + "$ref": "438" + }, + "value": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "2554", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2555", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2556", + "kind": "method", + "name": "monitorName", + "serializedName": "monitorName", + "doc": "Monitor resource name", + "type": { + "$id": "2557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.monitorName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2558", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "237" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "649" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "2559", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "2560", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "2561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Dynatrace.Observability.endpoint" + }, + { + "$id": "2562", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2563", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "2564", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-04-24" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "2565", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2566", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2567", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Dynatrace.Observability.DynatraceSingleSignOnResources.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Dynatrace.Observability", + "apiVersions": [ + "2024-04-24" + ], + "parent": { + "$ref": "653" + } + } + ] + } + ], + "auth": { + "oAuth2": { + "flows": [ + { + "scopes": [ + "user_impersonation" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} diff --git a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenMemberAttribute.cs index bd918a93ebcd..72778edeb7e4 100644 --- a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.EdgeActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSerializationAttribute.cs index 5d20c308e2c6..dfcabf517497 100644 --- a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.EdgeActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSuppressAttribute.cs index bd4dc8ac74c4..38d536e69173 100644 --- a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.EdgeActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenTypeAttribute.cs index 6d45f8823b09..f36b5f513173 100644 --- a/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/edgeactions/Azure.ResourceManager.EdgeActions/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.EdgeActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenMemberAttribute.cs index f7cf399463b8..72778edeb7e4 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.HardwareSecurityModules +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSerializationAttribute.cs index 8fbfdfadf966..dfcabf517497 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.HardwareSecurityModules +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSuppressAttribute.cs index 1fe6597f0867..38d536e69173 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.HardwareSecurityModules +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenTypeAttribute.cs index 45cc22100f48..f36b5f513173 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.HardwareSecurityModules +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/Configuration.json b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/Configuration.json new file mode 100644 index 000000000000..ad2d7ee8d5d1 --- /dev/null +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/Configuration.json @@ -0,0 +1,12 @@ +{ + "package-name": "Azure.ResourceManager.HealthDataAIServices", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "model-namespace": true, + "license": { + "name": "MIT License", + "company": "Microsoft Corporation", + "link": "https://mit-license.org", + "header": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.", + "description": "Copyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + } +} diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tspCodeModel.json b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tspCodeModel.json new file mode 100644 index 000000000000..c0688250c279 --- /dev/null +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tspCodeModel.json @@ -0,0 +1,12055 @@ +{ + "name": "Azure.ResourceManager.HealthDataAIServices", + "apiVersions": [ + "2024-09-20" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "5", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "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": "6", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "8", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$ref": "7" + }, + "enumType": { + "$ref": "6" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "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": "9", + "kind": "enum", + "name": "HealthDataAIServicesProvisioningState", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.ProvisioningState", + "valueType": { + "$id": "10", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "11", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "13", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "Provisioning", + "value": "Provisioning", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "The resource is being provisioned.", + "decorators": [] + }, + { + "$id": "15", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "The resource is being updated.", + "decorators": [] + }, + { + "$id": "16", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "The resource is being deleted.", + "decorators": [] + }, + { + "$id": "17", + "kind": "enumvalue", + "name": "Accepted", + "value": "Accepted", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "The resource provisioning request has been accepted.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "The status of the current operation.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "18", + "kind": "enum", + "name": "PrivateEndpointServiceConnectionStatus", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointServiceConnectionStatus", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "20", + "kind": "enumvalue", + "name": "Pending", + "value": "Pending", + "valueType": { + "$ref": "19" + }, + "enumType": { + "$ref": "18" + }, + "doc": "Connection waiting for approval or rejection", + "decorators": [] + }, + { + "$id": "21", + "kind": "enumvalue", + "name": "Approved", + "value": "Approved", + "valueType": { + "$ref": "19" + }, + "enumType": { + "$ref": "18" + }, + "doc": "Connection approved", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "Rejected", + "value": "Rejected", + "valueType": { + "$ref": "19" + }, + "enumType": { + "$ref": "18" + }, + "doc": "Connection Rejected", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "The private endpoint connection status.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "23", + "kind": "enum", + "name": "PrivateEndpointConnectionProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProvisioningState", + "valueType": { + "$id": "24", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "25", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "doc": "Connection has been provisioned", + "decorators": [] + }, + { + "$id": "26", + "kind": "enumvalue", + "name": "Creating", + "value": "Creating", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "doc": "Connection is being created", + "decorators": [] + }, + { + "$id": "27", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "doc": "Connection is being deleted", + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "doc": "Connection provisioning has failed", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "The current provisioning state.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "29", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "30", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "31", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$ref": "30" + }, + "enumType": { + "$ref": "29" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "32", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$ref": "30" + }, + "enumType": { + "$ref": "29" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "33", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$ref": "30" + }, + "enumType": { + "$ref": "29" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "34", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$ref": "30" + }, + "enumType": { + "$ref": "29" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "35", + "kind": "enum", + "name": "HealthDataAIServicesPublicNetworkAccess", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PublicNetworkAccess", + "valueType": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "37", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$ref": "36" + }, + "enumType": { + "$ref": "35" + }, + "doc": "The public network access is enabled", + "decorators": [] + }, + { + "$id": "38", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$ref": "36" + }, + "enumType": { + "$ref": "35" + }, + "doc": "The public network access is disabled", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "State of the public network access.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "39", + "kind": "enum", + "name": "ManagedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "valueType": { + "$id": "40", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "41", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "40" + }, + "enumType": { + "$ref": "39" + }, + "doc": "No managed identity.", + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$ref": "40" + }, + "enumType": { + "$ref": "39" + }, + "doc": "System assigned managed identity.", + "decorators": [] + }, + { + "$id": "43", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$ref": "40" + }, + "enumType": { + "$ref": "39" + }, + "doc": "User assigned managed identity.", + "decorators": [] + }, + { + "$id": "44", + "kind": "enumvalue", + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned", + "valueType": { + "$ref": "40" + }, + "enumType": { + "$ref": "39" + }, + "doc": "System and user assigned managed identity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "45", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "47", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "46" + }, + "enumType": { + "$ref": "45" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "46" + }, + "enumType": { + "$ref": "45" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "49", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "46" + }, + "enumType": { + "$ref": "45" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "50", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.Versions", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "52", + "kind": "enumvalue", + "name": "v2024_09_20", + "value": "2024-09-20", + "valueType": { + "$ref": "51" + }, + "enumType": { + "$ref": "50" + }, + "doc": "The 2024-09-20 version.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "Supported API versions for the Microsoft.HealthDataAIServices resource provider.", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "constants": [ + { + "$id": "53", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "55", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "56", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "57", + "kind": "constant", + "name": "listByResourceGroupContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "58", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "59", + "kind": "constant", + "name": "listBySubscriptionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "60", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "61", + "kind": "constant", + "name": "createContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "62", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "63", + "kind": "constant", + "name": "createContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "65", + "kind": "constant", + "name": "createContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "66", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "67", + "kind": "constant", + "name": "createContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "68", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "69", + "kind": "constant", + "name": "updateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "70", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "71", + "kind": "constant", + "name": "updateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "72", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "73", + "kind": "constant", + "name": "updateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "74", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "75", + "kind": "constant", + "name": "updateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "76", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "77", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "78", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "79", + "kind": "constant", + "name": "createContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "80", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "81", + "kind": "constant", + "name": "createContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "83", + "kind": "constant", + "name": "createContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "84", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "85", + "kind": "constant", + "name": "createContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "86", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "87", + "kind": "constant", + "name": "listByDeidServiceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "88", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "89", + "kind": "constant", + "name": "listByDeidServiceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "90", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "91", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "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": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "92", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "93", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "94", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "summary": "REST API Operation", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "95", + "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": "96", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "97", + "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": "98", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "json": { + "name": "isDataAction" + } + }, + "isHttpMetadata": false + }, + { + "$id": "99", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "100", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "101", + "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": "102", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "json": { + "name": "provider" + } + }, + "isHttpMetadata": false + }, + { + "$id": "103", + "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": "104", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "json": { + "name": "resource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "105", + "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": "106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "107", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "108", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "json": { + "name": "display" + } + }, + "isHttpMetadata": false + }, + { + "$id": "109", + "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": "1" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "json": { + "name": "origin" + } + }, + "isHttpMetadata": false + }, + { + "$id": "110", + "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": "6" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "111", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "112", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "113", + "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": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "94" + }, + { + "$ref": "100" + }, + { + "$id": "114", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "summary": "Error response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "115", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "116", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "117", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "118", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "119", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "120", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "121", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "122", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "123", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "124", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "116" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "125", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "126", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "127", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "128", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "130", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "131", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "json": { + "name": "info" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "json": { + "name": "additionalInfo" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "116" + }, + { + "$ref": "127" + }, + { + "$id": "132", + "kind": "model", + "name": "DeidService", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidService", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A HealthDataAIServicesProviderHub resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "resourceType": "Microsoft.HealthDataAIServices/deidServices", + "methods": [ + { + "$id": "133", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + }, + { + "$id": "134", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices", + "operationScope": "ResourceGroup" + }, + { + "$id": "135", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/providers/Microsoft.HealthDataAIServices/deidServices", + "operationScope": "Subscription" + }, + { + "$id": "136", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.create", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + }, + { + "$id": "137", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.update", + "kind": "Update", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + }, + { + "$id": "138", + "methodId": "Microsoft.HealthDataAIServices.DeidServices.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + }, + { + "$id": "139", + "methodId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "DeidService" + } + } + ], + "baseModel": { + "$id": "140", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "summary": "Tracked Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "baseModel": { + "$id": "141", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "summary": "Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "142", + "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": "143", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "144", + "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": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "145", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "147", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "148", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "149", + "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": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "150", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "151", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "152", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "json": { + "name": "createdBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "154", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "29" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "json": { + "name": "createdByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "155", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "156", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "157", + "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": { + "json": { + "name": "createdAt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "158", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "json": { + "name": "lastModifiedBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "160", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "29" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "json": { + "name": "lastModifiedByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "161", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "162", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "163", + "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": { + "json": { + "name": "lastModifiedAt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "json": { + "name": "systemData" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "164", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "165", + "kind": "dict", + "keyType": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "167", + "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": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "168", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "169", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "json": { + "name": "location" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "171", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "172", + "kind": "model", + "name": "DeidServiceProperties", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServiceProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Details of the HealthDataAIServices DeidService.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "173", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "9" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServiceProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "174", + "kind": "property", + "name": "serviceUrl", + "serializedName": "serviceUrl", + "doc": "Deid service url.", + "type": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServiceProperties.serviceUrl", + "serializationOptions": { + "json": { + "name": "serviceUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "176", + "kind": "property", + "name": "privateEndpointConnections", + "serializedName": "privateEndpointConnections", + "doc": "List of private endpoint connections.", + "type": { + "$id": "177", + "kind": "array", + "name": "ArrayPrivateEndpointConnection", + "valueType": { + "$id": "178", + "kind": "model", + "name": "PrivateEndpointConnection", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnection", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The private endpoint connection resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "baseModel": { + "$ref": "141" + }, + "properties": [ + { + "$id": "179", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The private endpoint connection properties", + "type": { + "$id": "180", + "kind": "model", + "name": "PrivateEndpointConnectionProperties", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Properties of the private endpoint connection.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "181", + "kind": "property", + "name": "groupIds", + "serializedName": "groupIds", + "doc": "The group ids for the private endpoint resource.", + "type": { + "$id": "182", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties.groupIds", + "serializationOptions": { + "json": { + "name": "groupIds" + } + }, + "isHttpMetadata": false + }, + { + "$id": "184", + "kind": "property", + "name": "privateEndpoint", + "serializedName": "privateEndpoint", + "doc": "The private endpoint resource.", + "type": { + "$id": "185", + "kind": "model", + "name": "PrivateEndpoint", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpoint", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The private endpoint resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "186", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The resource identifier of the private endpoint", + "type": { + "$id": "187", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpoint.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties.privateEndpoint", + "serializationOptions": { + "json": { + "name": "privateEndpoint" + } + }, + "isHttpMetadata": false + }, + { + "$id": "189", + "kind": "property", + "name": "privateLinkServiceConnectionState", + "serializedName": "privateLinkServiceConnectionState", + "doc": "A collection of information about the state of the connection between service consumer and provider.", + "type": { + "$id": "190", + "kind": "model", + "name": "PrivateLinkServiceConnectionState", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A collection of information about the state of the connection between service consumer and provider.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "191", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", + "type": { + "$ref": "18" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "192", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The reason for approval/rejection of the connection.", + "type": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "194", + "kind": "property", + "name": "actionsRequired", + "serializedName": "actionsRequired", + "doc": "A message indicating if changes on the service provider require any updates on the consumer.", + "type": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState.actionsRequired", + "serializationOptions": { + "json": { + "name": "actionsRequired" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties.privateLinkServiceConnectionState", + "serializationOptions": { + "json": { + "name": "privateLinkServiceConnectionState" + } + }, + "isHttpMetadata": false + }, + { + "$id": "196", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The provisioning state of the private endpoint connection resource.", + "type": { + "$ref": "23" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnection.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServiceProperties.privateEndpointConnections", + "serializationOptions": { + "json": { + "name": "privateEndpointConnections" + } + }, + "isHttpMetadata": false + }, + { + "$id": "197", + "kind": "property", + "name": "publicNetworkAccess", + "serializedName": "publicNetworkAccess", + "doc": "Gets or sets allow or disallow public network access to resource", + "type": { + "$ref": "35" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServiceProperties.publicNetworkAccess", + "serializationOptions": { + "json": { + "name": "publicNetworkAccess" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidService.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "198", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the deid service", + "type": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidService.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "200", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "201", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "202", + "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": "203", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "204", + "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": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "205", + "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": "206", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "207", + "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": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "208", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "39" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "209", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "210", + "kind": "dict", + "keyType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "212", + "kind": "nullable", + "type": { + "$id": "213", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "User assigned identity properties", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "214", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "215", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "216", + "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": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "217", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "218", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "219", + "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": { + "json": { + "name": "clientId" + } + }, + "isHttpMetadata": false + } + ] + }, + "namespace": "Azure.ResourceManager.HealthDataAIServices" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidService.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "172" + }, + { + "$ref": "178" + }, + { + "$ref": "180" + }, + { + "$ref": "185" + }, + { + "$ref": "190" + }, + { + "$ref": "141" + }, + { + "$ref": "151" + }, + { + "$ref": "201" + }, + { + "$ref": "213" + }, + { + "$ref": "140" + }, + { + "$id": "220", + "kind": "model", + "name": "DeidServiceListResult", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a DeidService list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "221", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The DeidService items on this page", + "type": { + "$id": "222", + "kind": "array", + "name": "ArrayDeidService", + "valueType": { + "$ref": "132" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "223", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "224", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "225", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "226", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "227", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "45" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "228", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier for the operationStatus resource", + "type": { + "$id": "229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": true + }, + { + "$id": "230", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "232", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "233", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "234", + "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": { + "json": { + "name": "startTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "235", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "236", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "237", + "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": { + "json": { + "name": "endTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "238", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "239", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + }, + "isHttpMetadata": false + }, + { + "$id": "240", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "116" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "241", + "kind": "model", + "name": "DeidUpdate", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidUpdate", + "usage": "Input,Json", + "doc": "Patch request body for DeidService", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "242", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$ref": "165" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidUpdate.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "243", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "Updatable managed service identity", + "type": { + "$id": "244", + "kind": "model", + "name": "ManagedServiceIdentityUpdate", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.ManagedServiceIdentityUpdate", + "usage": "Input,Json", + "doc": "The template for adding optional properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "245", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "39" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.ManagedServiceIdentityUpdate.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "246", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$ref": "210" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.ManagedServiceIdentityUpdate.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidUpdate.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + }, + { + "$id": "247", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "RP-specific properties", + "type": { + "$id": "248", + "kind": "model", + "name": "DeidPropertiesUpdate", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidPropertiesUpdate", + "usage": "Input,Json", + "doc": "The template for adding optional properties.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "249", + "kind": "property", + "name": "publicNetworkAccess", + "serializedName": "publicNetworkAccess", + "doc": "Gets or sets allow or disallow public network access to resource", + "type": { + "$ref": "35" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidPropertiesUpdate.publicNetworkAccess", + "serializationOptions": { + "json": { + "name": "publicNetworkAccess" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidUpdate.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "244" + }, + { + "$ref": "248" + }, + { + "$id": "250", + "kind": "model", + "name": "HealthDataAIServicesPrivateEndpointConnectionResource", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnectionResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Holder for private endpoint connections", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "resourceType": "Microsoft.HealthDataAIServices/deidServices/privateEndpointConnections", + "methods": [ + { + "$id": "251", + "methodId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get", + "kind": "Get", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}" + }, + { + "$id": "252", + "methodId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create", + "kind": "Create", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}" + }, + { + "$id": "253", + "methodId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete", + "kind": "Delete", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}" + }, + { + "$id": "254", + "methodId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService", + "kind": "List", + "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections", + "operationScope": "ResourceGroup", + "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}" + } + ], + "resourceScope": "ResourceGroup", + "parentResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "resourceName": "HealthDataAIServicesPrivateEndpointConnectionResource" + } + } + ], + "baseModel": { + "$id": "255", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "summary": "Proxy Resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "baseModel": { + "$ref": "141" + }, + "properties": [] + }, + "properties": [ + { + "$id": "256", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$ref": "180" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnectionResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "257", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnectionResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "255" + }, + { + "$id": "259", + "kind": "model", + "name": "PrivateEndpointConnectionResourceListResult", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a PrivateEndpointConnectionResource list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "260", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The PrivateEndpointConnectionResource items on this page", + "type": { + "$id": "261", + "kind": "array", + "name": "ArrayPrivateEndpointConnectionResource", + "valueType": { + "$ref": "250" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "262", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "263", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "264", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "265", + "kind": "model", + "name": "PrivateLinkResourceListResult", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a PrivateLinkResource list operation.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "266", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The PrivateLinkResource items on this page", + "type": { + "$id": "267", + "kind": "array", + "name": "ArrayPrivateLinkResource", + "valueType": { + "$id": "268", + "kind": "model", + "name": "HealthDataAIServicesPrivateLinkResourceData", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinkResource", + "usage": "Output,Json", + "doc": "Private Links for DeidService resource", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + }, + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "TypeSpec.Rest.@parentResource", + "arguments": {} + } + ], + "baseModel": { + "$ref": "255" + }, + "properties": [ + { + "$id": "269", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "270", + "kind": "model", + "name": "PrivateLinkResourceProperties", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties", + "usage": "Output,Json", + "doc": "Properties of a private link resource.", + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + } + ], + "properties": [ + { + "$id": "271", + "kind": "property", + "name": "groupId", + "serializedName": "groupId", + "doc": "The private link resource group id.", + "type": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.groupId", + "serializationOptions": { + "json": { + "name": "groupId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "273", + "kind": "property", + "name": "requiredMembers", + "serializedName": "requiredMembers", + "doc": "The private link resource required member names.", + "type": { + "$ref": "182" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredMembers", + "serializationOptions": { + "json": { + "name": "requiredMembers" + } + }, + "isHttpMetadata": false + }, + { + "$id": "274", + "kind": "property", + "name": "requiredZoneNames", + "serializedName": "requiredZoneNames", + "doc": "The private link resource private link DNS zone name.", + "type": { + "$ref": "182" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", + "serializationOptions": { + "json": { + "name": "requiredZoneNames" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinkResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "275", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "276", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinkResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "277", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "278", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "279", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "268" + }, + { + "$ref": "270" + } + ], + "clients": [ + { + "$id": "280", + "kind": "client", + "name": "HealthDataAIServicesClient", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "methods": [], + "parameters": [ + { + "$id": "281", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "282", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.endpoint" + }, + { + "$id": "284", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "287", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "288", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "289", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 1, + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": { + "providerNamespace": "Microsoft.HealthDataAIServices" + } + }, + { + "name": "Azure.ClientGenerator.Core.@nonResourceMethodSchema", + "arguments": { + "nonResourceMethods": [ + { + "methodId": "Azure.ResourceManager.Operations.list", + "operationPath": "/providers/Microsoft.HealthDataAIServices/operations", + "operationScope": "Tenant" + } + ] + } + } + ], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices", + "apiVersions": [ + "2024-09-20" + ], + "children": [ + { + "$id": "290", + "kind": "client", + "name": "Operations", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "methods": [ + { + "$id": "291", + "kind": "paging", + "name": "list", + "accessibility": "internal", + "apiVersions": [ + "2024-09-20" + ], + "doc": "List the operations for the provider", + "operation": { + "$id": "292", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "internal", + "parameters": [ + { + "$id": "293", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.apiVersion", + "readOnly": false + }, + { + "$id": "296", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "53" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "91" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.HealthDataAIServices/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "297", + "kind": "http", + "name": "Operations_List_MaximumSet - generated by [MaximumSet] rule. [stable]", + "description": "Operations_List_MaximumSet - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/Operations_List_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "293" + }, + "value": { + "$id": "298", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "2024-09-20" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "91" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "299", + "kind": "model", + "type": { + "$ref": "91" + }, + "value": { + "value": { + "$id": "300", + "kind": "array", + "type": { + "$ref": "93" + }, + "value": [ + { + "$id": "301", + "kind": "model", + "type": { + "$ref": "94" + }, + "value": { + "name": { + "$id": "302", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "vlozcqymdxttexvmhouwzob" + }, + "isDataAction": { + "$id": "303", + "kind": "boolean", + "type": { + "$ref": "98" + }, + "value": true + }, + "display": { + "$id": "304", + "kind": "model", + "type": { + "$ref": "100" + }, + "value": { + "provider": { + "$id": "305", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "hwy" + }, + "resource": { + "$id": "306", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "yxabgnzjshmqldqthxonpam" + }, + "operation": { + "$id": "307", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "quwaawjasjgpqhskxoxzx" + }, + "description": { + "$id": "308", + "kind": "string", + "type": { + "$ref": "108" + }, + "value": "ayqiodducsbwvzcgno" + } + } + }, + "origin": { + "$id": "309", + "kind": "string", + "type": { + "$ref": "1" + }, + "value": "user" + }, + "actionType": { + "$id": "310", + "kind": "string", + "type": { + "$ref": "6" + }, + "value": "Internal" + } + } + } + ] + }, + "nextLink": { + "$id": "311", + "kind": "string", + "type": { + "$ref": "112" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + }, + { + "$id": "312", + "kind": "http", + "name": "Operations_List_MinimumSet - generated by [MinimumSet] rule. [stable]", + "description": "Operations_List_MinimumSet - generated by [MinimumSet] rule. [stable]", + "filePath": "2024-09-20/Operations_List_MinimumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "293" + }, + "value": { + "$id": "313", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "2024-09-20" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "91" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "314", + "kind": "model", + "type": { + "$ref": "91" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "315", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "53" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "93" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "316", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "317", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "318", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.endpoint" + }, + { + "$ref": "284" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.Operations", + "apiVersions": [ + "2024-09-20" + ], + "parent": { + "$ref": "280" + } + }, + { + "$id": "319", + "kind": "client", + "name": "DeidServices", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "methods": [ + { + "$id": "320", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Get a DeidService", + "operation": { + "$id": "321", + "name": "get", + "resourceName": "DeidService", + "doc": "Get a DeidService", + "accessibility": "public", + "parameters": [ + { + "$id": "322", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "323", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "324", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.apiVersion", + "readOnly": false + }, + { + "$id": "325", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "326", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "327", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.subscriptionId" + }, + { + "$id": "328", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "329", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.resourceGroupName" + }, + { + "$id": "330", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "331", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.deidServiceName" + }, + { + "$id": "332", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "55" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "333", + "kind": "http", + "name": "DeidServices_Get - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_Get - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_Get_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "322" + }, + "value": { + "$id": "334", + "kind": "string", + "type": { + "$ref": "323" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "325" + }, + "value": { + "$id": "335", + "kind": "string", + "type": { + "$ref": "326" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "328" + }, + "value": { + "$id": "336", + "kind": "string", + "type": { + "$ref": "329" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "330" + }, + "value": { + "$id": "337", + "kind": "string", + "type": { + "$ref": "331" + }, + "value": "deidTest" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "338", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "339", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "340", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "publicNetworkAccess": { + "$id": "341", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + }, + "privateEndpointConnections": { + "$id": "342", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "343", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "344", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "345", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "346", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "347", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "348", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "349", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "350", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ddxuoved" + } + } + }, + "groupIds": { + "$id": "351", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "352", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "353", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "354", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "355", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "356", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "357", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "358", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "359", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "360", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "361", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "362", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "363", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "serviceUrl": { + "$id": "364", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + } + } + }, + "identity": { + "$id": "365", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "type": { + "$id": "366", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "367", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + }, + "principalId": { + "$id": "368", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "369", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + } + } + }, + "tags": { + "$id": "370", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "371", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "372", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "373", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "374", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "375", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "376", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "377", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "378", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "379", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "380", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "381", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "382", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "383", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "384", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "386", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "55" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "132" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get" + }, + { + "$id": "387", + "kind": "paging", + "name": "listByResourceGroup", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "List DeidService resources by resource group", + "operation": { + "$id": "388", + "name": "listByResourceGroup", + "resourceName": "DeidService", + "doc": "List DeidService resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "389", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "390", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "391", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.apiVersion", + "readOnly": false + }, + { + "$id": "392", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "393", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.subscriptionId" + }, + { + "$id": "395", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.resourceGroupName" + }, + { + "$id": "397", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "57" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "220" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "398", + "kind": "http", + "name": "DeidServices_ListByResourceGroup - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_ListByResourceGroup - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "389" + }, + "value": { + "$id": "399", + "kind": "string", + "type": { + "$ref": "390" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "392" + }, + "value": { + "$id": "400", + "kind": "string", + "type": { + "$ref": "393" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "395" + }, + "value": { + "$id": "401", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "rgopenapi" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "220" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "402", + "kind": "model", + "type": { + "$ref": "220" + }, + "value": { + "value": { + "$id": "403", + "kind": "array", + "type": { + "$ref": "222" + }, + "value": [ + { + "$id": "404", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "405", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "406", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "serviceUrl": { + "$id": "407", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + }, + "privateEndpointConnections": { + "$id": "408", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "409", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "410", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "groupIds": { + "$id": "411", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "412", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "privateEndpoint": { + "$id": "413", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "414", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "415", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "416", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "417", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "418", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ro" + } + } + }, + "provisioningState": { + "$id": "419", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "420", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "421", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "422", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "423", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "424", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "425", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "426", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "427", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "428", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "429", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "publicNetworkAccess": { + "$id": "430", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + } + } + }, + "identity": { + "$id": "431", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "principalId": { + "$id": "432", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "433", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + }, + "type": { + "$id": "434", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "435", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + } + } + }, + "tags": { + "$id": "436", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "437", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "438", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "439", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "440", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "441", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "442", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "443", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "444", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "445", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "446", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "447", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "448", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "449", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "450", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "451", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "57" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "222" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listByResourceGroup", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "452", + "kind": "paging", + "name": "listBySubscription", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "List DeidService resources by subscription ID", + "operation": { + "$id": "453", + "name": "listBySubscription", + "resourceName": "DeidService", + "doc": "List DeidService resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "454", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription.apiVersion", + "readOnly": false + }, + { + "$id": "457", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "458", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "459", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription.subscriptionId" + }, + { + "$id": "460", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "59" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "220" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.HealthDataAIServices/deidServices", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "461", + "kind": "http", + "name": "DeidServices_ListBySubscription - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_ListBySubscription - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_ListBySubscription_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "454" + }, + "value": { + "$id": "462", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "457" + }, + "value": { + "$id": "463", + "kind": "string", + "type": { + "$ref": "458" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "220" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "464", + "kind": "model", + "type": { + "$ref": "220" + }, + "value": { + "value": { + "$id": "465", + "kind": "array", + "type": { + "$ref": "222" + }, + "value": [ + { + "$id": "466", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "467", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "468", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "serviceUrl": { + "$id": "469", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + }, + "privateEndpointConnections": { + "$id": "470", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "471", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "472", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "groupIds": { + "$id": "473", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "474", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "privateEndpoint": { + "$id": "475", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "476", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "477", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "478", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "479", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "480", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ro" + } + } + }, + "provisioningState": { + "$id": "481", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "482", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "483", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "484", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "485", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "486", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "487", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "488", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "489", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "490", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "491", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "publicNetworkAccess": { + "$id": "492", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + } + } + }, + "identity": { + "$id": "493", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "principalId": { + "$id": "494", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "495", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + }, + "type": { + "$id": "496", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "497", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + } + } + }, + "tags": { + "$id": "498", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "499", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "500", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "501", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "502", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "503", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "504", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "505", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "506", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "507", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "508", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "509", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "510", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "511", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "59" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "222" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.listBySubscription", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + }, + { + "$id": "512", + "kind": "lro", + "name": "create", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Create a DeidService", + "operation": { + "$id": "513", + "name": "create", + "resourceName": "DeidService", + "doc": "Create a DeidService", + "accessibility": "public", + "parameters": [ + { + "$id": "514", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "515", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.apiVersion", + "readOnly": false + }, + { + "$id": "517", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "518", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "519", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.subscriptionId" + }, + { + "$id": "520", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "521", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.resourceGroupName" + }, + { + "$id": "522", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "523", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.deidServiceName" + }, + { + "$id": "524", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "61" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.contentType" + }, + { + "$id": "525", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "63" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.accept" + }, + { + "$id": "526", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "132" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "527", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "528", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "529", + "kind": "http", + "name": "DeidServices_Create - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_Create - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_Create_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "514" + }, + "value": { + "$id": "530", + "kind": "string", + "type": { + "$ref": "515" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "517" + }, + "value": { + "$id": "531", + "kind": "string", + "type": { + "$ref": "518" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "520" + }, + "value": { + "$id": "532", + "kind": "string", + "type": { + "$ref": "521" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "522" + }, + "value": { + "$id": "533", + "kind": "string", + "type": { + "$ref": "523" + }, + "value": "deidTest" + } + }, + { + "parameter": { + "$ref": "526" + }, + "value": { + "$id": "534", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "535", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "publicNetworkAccess": { + "$id": "536", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + } + } + }, + "identity": { + "$id": "537", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "type": { + "$id": "538", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "539", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + } + } + }, + "tags": { + "$id": "540", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "541", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "542", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "543", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "544", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "publicNetworkAccess": { + "$id": "545", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + }, + "privateEndpointConnections": { + "$id": "546", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "547", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "548", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "549", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "550", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "551", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "552", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "553", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "554", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ddxuoved" + } + } + }, + "groupIds": { + "$id": "555", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "556", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "557", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "558", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "559", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "560", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "561", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "562", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "563", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "564", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "565", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "566", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "567", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "serviceUrl": { + "$id": "568", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + } + } + }, + "identity": { + "$id": "569", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "type": { + "$id": "570", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "571", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + }, + "principalId": { + "$id": "572", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "573", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + } + } + }, + "tags": { + "$id": "574", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "575", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "576", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "577", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "578", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "579", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "580", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "581", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "582", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "583", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "584", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "585", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "527" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "528" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "586", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "587", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "588", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "publicNetworkAccess": { + "$id": "589", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + }, + "privateEndpointConnections": { + "$id": "590", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "591", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "592", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "593", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "594", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "595", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "596", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "597", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "598", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ddxuoved" + } + } + }, + "groupIds": { + "$id": "599", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "600", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "601", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "602", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "603", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "604", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "605", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "606", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "607", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "608", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "609", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "610", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "611", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "serviceUrl": { + "$id": "612", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + } + } + }, + "identity": { + "$id": "613", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "type": { + "$id": "614", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "615", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + }, + "principalId": { + "$id": "616", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "617", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + } + } + }, + "tags": { + "$id": "618", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "619", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "620", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "621", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "622", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "623", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "624", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "625", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "626", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "627", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "628", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "629", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "630", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "632", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "633", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "634", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "132" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "635", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "65" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "636", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "67" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "132" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.create", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + } + } + } + }, + { + "$id": "637", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Update a DeidService", + "operation": { + "$id": "638", + "name": "update", + "resourceName": "DeidService", + "doc": "Update a DeidService", + "accessibility": "public", + "parameters": [ + { + "$id": "639", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "640", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "641", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.apiVersion", + "readOnly": false + }, + { + "$id": "642", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "643", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "644", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.subscriptionId" + }, + { + "$id": "645", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.resourceGroupName" + }, + { + "$id": "647", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.deidServiceName" + }, + { + "$id": "649", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "69" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.contentType" + }, + { + "$id": "650", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "71" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.accept" + }, + { + "$id": "651", + "kind": "body", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "241" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.properties" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "652", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "653", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "654", + "kind": "http", + "name": "DeidServices_Update - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_Update - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_Update_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "639" + }, + "value": { + "$id": "655", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "642" + }, + "value": { + "$id": "656", + "kind": "string", + "type": { + "$ref": "643" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "645" + }, + "value": { + "$id": "657", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "647" + }, + "value": { + "$id": "658", + "kind": "string", + "type": { + "$ref": "648" + }, + "value": "deidTest" + } + }, + { + "parameter": { + "$ref": "651" + }, + "value": { + "$id": "659", + "kind": "model", + "type": { + "$ref": "241" + }, + "value": { + "identity": { + "$id": "660", + "kind": "model", + "type": { + "$ref": "244" + }, + "value": { + "type": { + "$id": "661", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "662", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + } + } + }, + "tags": { + "$id": "663", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "properties": { + "$id": "664", + "kind": "model", + "type": { + "$ref": "248" + }, + "value": { + "publicNetworkAccess": { + "$id": "665", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "666", + "kind": "model", + "type": { + "$ref": "132" + }, + "value": { + "properties": { + "$id": "667", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "provisioningState": { + "$id": "668", + "kind": "string", + "type": { + "$ref": "9" + }, + "value": "Succeeded" + }, + "publicNetworkAccess": { + "$id": "669", + "kind": "string", + "type": { + "$ref": "35" + }, + "value": "Enabled" + }, + "privateEndpointConnections": { + "$id": "670", + "kind": "array", + "type": { + "$ref": "177" + }, + "value": [ + { + "$id": "671", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "properties": { + "$id": "672", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "673", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "674", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "675", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "676", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "677", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "678", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "ddxuoved" + } + } + }, + "groupIds": { + "$id": "679", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "680", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "681", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "682", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih/privateEndpointConnections/mdwvqjtwcjcvrh" + }, + "name": { + "$id": "683", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mdwvqjtwcjcvrh" + }, + "type": { + "$id": "684", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "bzxabjlpbwreez" + }, + "systemData": { + "$id": "685", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "686", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "687", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "688", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "689", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "690", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "691", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "serviceUrl": { + "$id": "692", + "kind": "string", + "type": { + "$ref": "175" + }, + "value": "woponotsxaippkvhwmibffywnqcfru" + } + } + }, + "identity": { + "$id": "693", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "type": { + "$id": "694", + "kind": "string", + "type": { + "$ref": "39" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "695", + "kind": "dict", + "type": { + "$ref": "210" + }, + "value": {} + }, + "principalId": { + "$id": "696", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "a82361f4-5320-4a26-8d1b-45832d2164dd" + }, + "tenantId": { + "$id": "697", + "kind": "string", + "type": { + "$ref": "206" + }, + "value": "53a6a686-ae15-4a1d-badf-3e7947918893" + } + } + }, + "tags": { + "$id": "698", + "kind": "dict", + "type": { + "$ref": "165" + }, + "value": {} + }, + "location": { + "$id": "699", + "kind": "string", + "type": { + "$ref": "169" + }, + "value": "qwyhvdwcsjulggagdqxlmazcl" + }, + "id": { + "$id": "700", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/nlrthrxaukih" + }, + "name": { + "$id": "701", + "kind": "string", + "type": { + "$ref": "199" + }, + "value": "nlrthrxaukih" + }, + "type": { + "$id": "702", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "slyfiibvwlhfdpzjynsywhbfauexk" + }, + "systemData": { + "$id": "703", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "704", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "705", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "706", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "707", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "708", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "709", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "652" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "653" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "710", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "711", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "712", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "713", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "714", + "kind": "method", + "name": "properties", + "serializedName": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "241" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.properties", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "715", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "73" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "716", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "75" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "132" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "132" + } + } + } + }, + { + "$id": "717", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Delete a DeidService", + "operation": { + "$id": "718", + "name": "delete", + "resourceName": "DeidService", + "doc": "Delete a DeidService", + "accessibility": "public", + "parameters": [ + { + "$id": "719", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "720", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.apiVersion", + "readOnly": false + }, + { + "$id": "722", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "723", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "724", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.subscriptionId" + }, + { + "$id": "725", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.resourceGroupName" + }, + { + "$id": "727", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "728", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.deidServiceName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "729", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "730", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "731", + "kind": "http", + "name": "DeidServices_Delete - generated by [MaximumSet] rule. [stable]", + "description": "DeidServices_Delete - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/DeidServices_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "719" + }, + "value": { + "$id": "732", + "kind": "string", + "type": { + "$ref": "720" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "722" + }, + "value": { + "$id": "733", + "kind": "string", + "type": { + "$ref": "723" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "725" + }, + "value": { + "$id": "734", + "kind": "string", + "type": { + "$ref": "726" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "727" + }, + "value": { + "$id": "735", + "kind": "string", + "type": { + "$ref": "728" + }, + "value": "deidTest" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "729" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "730" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "736", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "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, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "738", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "739", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + } + ], + "parameters": [ + { + "$id": "740", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "741", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "742", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.endpoint" + }, + { + "$id": "743", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "744", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$ref": "287" + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.DeidServices", + "apiVersions": [ + "2024-09-20" + ], + "parent": { + "$ref": "280" + } + }, + { + "$id": "746", + "kind": "client", + "name": "PrivateEndpointConnections", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "Private connection operations", + "methods": [ + { + "$id": "747", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Get a specific private connection", + "operation": { + "$id": "748", + "name": "get", + "resourceName": "PrivateEndpointConnectionResource", + "doc": "Get a specific private connection", + "accessibility": "public", + "parameters": [ + { + "$id": "749", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "750", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "751", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.apiVersion", + "readOnly": false + }, + { + "$id": "752", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "753", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "754", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.subscriptionId" + }, + { + "$id": "755", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "756", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.resourceGroupName" + }, + { + "$id": "757", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "758", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.deidServiceName" + }, + { + "$id": "759", + "kind": "path", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "760", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.privateEndpointConnectionName" + }, + { + "$id": "761", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "77" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ], + "examples": [ + { + "$id": "762", + "kind": "http", + "name": "PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable]", + "description": "PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/PrivateEndpointConnections_Get_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "749" + }, + "value": { + "$id": "763", + "kind": "string", + "type": { + "$ref": "750" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "752" + }, + "value": { + "$id": "764", + "kind": "string", + "type": { + "$ref": "753" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "755" + }, + "value": { + "$id": "765", + "kind": "string", + "type": { + "$ref": "756" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "757" + }, + "value": { + "$id": "766", + "kind": "string", + "type": { + "$ref": "758" + }, + "value": "deidTest" + } + }, + { + "parameter": { + "$ref": "759" + }, + "value": { + "$id": "767", + "kind": "string", + "type": { + "$ref": "760" + }, + "value": "kgwgrrpabvrsrrvpcgcnfmyfgyrl" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "768", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "properties": { + "$id": "769", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "770", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "771", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "772", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "773", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "774", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "775", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "xr" + } + } + }, + "groupIds": { + "$id": "776", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "777", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "778", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "779", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/deidTest/privateEndpointConnections/aduyb" + }, + "name": { + "$id": "780", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "aduyb" + }, + "type": { + "$id": "781", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "umjjkodjuhccrngl" + }, + "systemData": { + "$id": "782", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "783", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "784", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "785", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "786", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "787", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "788", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "789", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "790", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "791", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "792", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "793", + "kind": "method", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.privateEndpointConnectionName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "795", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "77" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "250" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get" + }, + { + "$id": "796", + "kind": "lro", + "name": "create", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Create a Private endpoint connection", + "operation": { + "$id": "797", + "name": "create", + "resourceName": "PrivateEndpointConnectionResource", + "doc": "Create a Private endpoint connection", + "accessibility": "public", + "parameters": [ + { + "$id": "798", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "799", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "800", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.apiVersion", + "readOnly": false + }, + { + "$id": "801", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "802", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "803", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.subscriptionId" + }, + { + "$id": "804", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "805", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.resourceGroupName" + }, + { + "$id": "806", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "807", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.deidServiceName" + }, + { + "$id": "808", + "kind": "path", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "809", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.privateEndpointConnectionName" + }, + { + "$id": "810", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "79" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.contentType" + }, + { + "$id": "811", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "81" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.accept" + }, + { + "$id": "812", + "kind": "body", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "250" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.resource" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "813", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "814", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ], + "examples": [ + { + "$id": "815", + "kind": "http", + "name": "PrivateEndpointConnections_Create - generated by [MaximumSet] rule. [stable]", + "description": "PrivateEndpointConnections_Create - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/PrivateEndpointConnections_Create_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "798" + }, + "value": { + "$id": "816", + "kind": "string", + "type": { + "$ref": "799" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "801" + }, + "value": { + "$id": "817", + "kind": "string", + "type": { + "$ref": "802" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "804" + }, + "value": { + "$id": "818", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "806" + }, + "value": { + "$id": "819", + "kind": "string", + "type": { + "$ref": "807" + }, + "value": "deidTest" + } + }, + { + "parameter": { + "$ref": "808" + }, + "value": { + "$id": "820", + "kind": "string", + "type": { + "$ref": "809" + }, + "value": "kgwgrrpabvrsrrvpcgcnfmyfgyrl" + } + }, + { + "parameter": { + "$ref": "812" + }, + "value": { + "$id": "821", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "properties": { + "$id": "822", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "823", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": {} + }, + "privateLinkServiceConnectionState": { + "$id": "824", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "825", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "826", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "xr" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "828", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "properties": { + "$id": "829", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "830", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "831", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "832", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "833", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "834", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "835", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "xr" + } + } + }, + "groupIds": { + "$id": "836", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "837", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "838", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "839", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/deidTest/privateEndpointConnections/aduyb" + }, + "name": { + "$id": "840", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "aduyb" + }, + "type": { + "$id": "841", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "umjjkodjuhccrngl" + }, + "systemData": { + "$id": "842", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "843", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "844", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "845", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "846", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "847", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "848", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + }, + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$ref": "813" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "814" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "849", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "properties": { + "$id": "850", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "851", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "852", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "853", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "854", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "855", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "856", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "xr" + } + } + }, + "groupIds": { + "$id": "857", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "858", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "860", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/deidTest/privateEndpointConnections/aduyb" + }, + "name": { + "$id": "861", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "aduyb" + }, + "type": { + "$id": "862", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "umjjkodjuhccrngl" + }, + "systemData": { + "$id": "863", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "864", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "865", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "866", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "867", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "868", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "869", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "870", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "871", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "872", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "873", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "874", + "kind": "method", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "875", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.privateEndpointConnectionName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "876", + "kind": "method", + "name": "resource", + "serializedName": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "250" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.resource", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "877", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "83" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "878", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "85" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "250" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.create", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + } + } + } + }, + { + "$id": "879", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "Delete the private endpoint connection", + "operation": { + "$id": "880", + "name": "delete", + "resourceName": "PrivateEndpointConnectionResource", + "doc": "Delete the private endpoint connection", + "accessibility": "public", + "parameters": [ + { + "$id": "881", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "882", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "883", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.apiVersion", + "readOnly": false + }, + { + "$id": "884", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "885", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "886", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.subscriptionId" + }, + { + "$id": "887", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "888", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.resourceGroupName" + }, + { + "$id": "889", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "890", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.deidServiceName" + }, + { + "$id": "891", + "kind": "path", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "892", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.privateEndpointConnectionName" + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "893", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "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": "894", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceDelete", + "arguments": {} + } + ], + "examples": [ + { + "$id": "895", + "kind": "http", + "name": "PrivateEndpointConnections_Delete - generated by [MaximumSet] rule. [stable]", + "description": "PrivateEndpointConnections_Delete - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/PrivateEndpointConnections_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "881" + }, + "value": { + "$id": "896", + "kind": "string", + "type": { + "$ref": "882" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "884" + }, + "value": { + "$id": "897", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "887" + }, + "value": { + "$id": "898", + "kind": "string", + "type": { + "$ref": "888" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "889" + }, + "value": { + "$id": "899", + "kind": "string", + "type": { + "$ref": "890" + }, + "value": "deidTest" + } + }, + { + "parameter": { + "$ref": "891" + }, + "value": { + "$id": "900", + "kind": "string", + "type": { + "$ref": "892" + }, + "value": "kgwgrrpabvrsrrvpcgcnfmyfgyrl" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$ref": "893" + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$ref": "894" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 202 + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "901", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "902", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "903", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "904", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "905", + "kind": "method", + "name": "privateEndpointConnectionName", + "serializedName": "privateEndpointConnectionName", + "doc": "The name of the private endpoint connection associated with the Azure resource.", + "type": { + "$id": "906", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete.privateEndpointConnectionName", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "907", + "kind": "paging", + "name": "listByDeidService", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "List private endpoint connections on the given resource", + "operation": { + "$id": "908", + "name": "listByDeidService", + "resourceName": "PrivateEndpointConnectionResource", + "doc": "List private endpoint connections on the given resource", + "accessibility": "public", + "parameters": [ + { + "$id": "909", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "910", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "911", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.apiVersion", + "readOnly": false + }, + { + "$id": "912", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "913", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "914", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.subscriptionId" + }, + { + "$id": "915", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "916", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.resourceGroupName" + }, + { + "$id": "917", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "918", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.deidServiceName" + }, + { + "$id": "919", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "87" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "920", + "kind": "http", + "name": "PrivateEndpointConnections_ListByDeidService - generated by [MaximumSet] rule. [stable]", + "description": "PrivateEndpointConnections_ListByDeidService - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/PrivateEndpointConnections_ListByDeidService_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "909" + }, + "value": { + "$id": "921", + "kind": "string", + "type": { + "$ref": "910" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "912" + }, + "value": { + "$id": "922", + "kind": "string", + "type": { + "$ref": "913" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "915" + }, + "value": { + "$id": "923", + "kind": "string", + "type": { + "$ref": "916" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "917" + }, + "value": { + "$id": "924", + "kind": "string", + "type": { + "$ref": "918" + }, + "value": "deidTest" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "925", + "kind": "model", + "type": { + "$ref": "259" + }, + "value": { + "value": { + "$id": "926", + "kind": "array", + "type": { + "$ref": "261" + }, + "value": [ + { + "$id": "927", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "properties": { + "$id": "928", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "privateEndpoint": { + "$id": "929", + "kind": "model", + "type": { + "$ref": "185" + }, + "value": { + "id": { + "$id": "930", + "kind": "string", + "type": { + "$ref": "187" + }, + "value": "gpnxxbbtsysdhhclm" + } + } + }, + "privateLinkServiceConnectionState": { + "$id": "931", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "932", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Pending" + }, + "actionsRequired": { + "$id": "933", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "ulb" + }, + "description": { + "$id": "934", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "mmvcleuufspfrojjveuith" + } + } + }, + "groupIds": { + "$id": "935", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "936", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "xbdyjqg" + } + ] + }, + "provisioningState": { + "$id": "937", + "kind": "string", + "type": { + "$ref": "23" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "938", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/deidTest/privateEndpointConnections/aduyb" + }, + "name": { + "$id": "939", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "aduyb" + }, + "type": { + "$id": "940", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "umjjkodjuhccrngl" + }, + "systemData": { + "$id": "941", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "942", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "943", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "944", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "945", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "946", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "947", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "948", + "kind": "string", + "type": { + "$ref": "263" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "949", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "950", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "951", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "952", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "953", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "87" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "261" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.listByDeidService", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "954", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "955", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "956", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.endpoint" + }, + { + "$id": "957", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "958", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "959", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "960", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "961", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "962", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections.get.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateEndpointConnections", + "apiVersions": [ + "2024-09-20" + ], + "parent": { + "$ref": "280" + } + }, + { + "$id": "963", + "kind": "client", + "name": "PrivateLinks", + "namespace": "Azure.ResourceManager.HealthDataAIServices", + "doc": "Operations for private links on DeidService resource", + "methods": [ + { + "$id": "964", + "kind": "paging", + "name": "GetPrivateLinks", + "accessibility": "public", + "apiVersions": [ + "2024-09-20" + ], + "doc": "List private links on the given resource", + "operation": { + "$id": "965", + "name": "GetPrivateLinks", + "resourceName": "PrivateLinkResource", + "doc": "List private links on the given resource", + "accessibility": "public", + "parameters": [ + { + "$id": "966", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "967", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "968", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.apiVersion", + "readOnly": false + }, + { + "$id": "969", + "kind": "path", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "970", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "971", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Client", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.subscriptionId" + }, + { + "$id": "972", + "kind": "path", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.resourceGroupName" + }, + { + "$id": "974", + "kind": "path", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "975", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.deidServiceName" + }, + { + "$id": "976", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "89" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "265" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceList", + "arguments": {} + } + ], + "examples": [ + { + "$id": "977", + "kind": "http", + "name": "PrivateLinks_ListByDeidService - generated by [MaximumSet] rule. [stable]", + "description": "PrivateLinks_ListByDeidService - generated by [MaximumSet] rule. [stable]", + "filePath": "2024-09-20/PrivateLinks_ListByDeidService_MaximumSet_Gen.json", + "parameters": [ + { + "parameter": { + "$ref": "966" + }, + "value": { + "$id": "978", + "kind": "string", + "type": { + "$ref": "967" + }, + "value": "2024-09-20" + } + }, + { + "parameter": { + "$ref": "969" + }, + "value": { + "$id": "979", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "F21BB31B-C214-42C0-ACF0-DACCA05D3011" + } + }, + { + "parameter": { + "$ref": "972" + }, + "value": { + "$id": "980", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "rgopenapi" + } + }, + { + "parameter": { + "$ref": "974" + }, + "value": { + "$id": "981", + "kind": "string", + "type": { + "$ref": "975" + }, + "value": "deidTest" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "265" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "982", + "kind": "model", + "type": { + "$ref": "265" + }, + "value": { + "value": { + "$id": "983", + "kind": "array", + "type": { + "$ref": "267" + }, + "value": [ + { + "$id": "984", + "kind": "model", + "type": { + "$ref": "268" + }, + "value": { + "properties": { + "$id": "985", + "kind": "model", + "type": { + "$ref": "270" + }, + "value": { + "groupId": { + "$id": "986", + "kind": "string", + "type": { + "$ref": "272" + }, + "value": "flaloakbdcqjisfhfnkrxmt" + }, + "requiredMembers": { + "$id": "987", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "988", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "wbraaugftjqa" + } + ] + }, + "requiredZoneNames": { + "$id": "989", + "kind": "array", + "type": { + "$ref": "182" + }, + "value": [ + { + "$id": "990", + "kind": "string", + "type": { + "$ref": "183" + }, + "value": "ndsmc" + } + ] + } + } + }, + "id": { + "$id": "991", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "/subscriptions/F21BB31B-C214-42C0-ACF0-DACCA05D3011/resourceGroups/rgopenapi/providers/Microsoft.HealthDataAIServices/deidServices/deidTest/privateLinkResources/rmptbzejhgxhlfpdizsekhsq" + }, + "name": { + "$id": "992", + "kind": "string", + "type": { + "$ref": "276" + }, + "value": "rmptbzejhgxhlfpdizsekhsq" + }, + "type": { + "$id": "993", + "kind": "string", + "type": { + "$ref": "148" + }, + "value": "lplbvyjkvsujegzqr" + }, + "systemData": { + "$id": "994", + "kind": "model", + "type": { + "$ref": "151" + }, + "value": { + "createdBy": { + "$id": "995", + "kind": "string", + "type": { + "$ref": "153" + }, + "value": "p" + }, + "createdByType": { + "$id": "996", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "createdAt": { + "$id": "997", + "kind": "string", + "type": { + "$ref": "156" + }, + "value": "2024-04-13T19:47:24.985Z" + }, + "lastModifiedBy": { + "$id": "998", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pmbozfvwrblbknedeb" + }, + "lastModifiedByType": { + "$id": "999", + "kind": "string", + "type": { + "$ref": "29" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1000", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "2024-04-13T19:47:24.986Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "1001", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "https://microsoft.com/arzijt" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1002", + "kind": "method", + "name": "resourceGroupName", + "serializedName": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1003", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.resourceGroupName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1004", + "kind": "method", + "name": "deidServiceName", + "serializedName": "deidServiceName", + "doc": "The name of the deid service", + "type": { + "$id": "1005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.deidServiceName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1006", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "89" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "267" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } + } + ], + "parameters": [ + { + "$id": "1007", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1008", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1009", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.endpoint" + }, + { + "$id": "1010", + "kind": "method", + "name": "apiVersion", + "serializedName": "apiVersion", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1011", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "", + "isApiVersion": true, + "defaultValue": { + "type": { + "$id": "1012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-20" + }, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.apiVersion", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1013", + "kind": "method", + "name": "subscriptionId", + "serializedName": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1014", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1015", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks.listByDeidService.subscriptionId", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "initializedBy": 0, + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "Microsoft.HealthDataAIServices.PrivateLinks", + "apiVersions": [ + "2024-09-20" + ], + "parent": { + "$ref": "280" + } + } + ] + } + ], + "auth": { + "oAuth2": { + "flows": [ + { + "scopes": [ + "user_impersonation" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenMemberAttribute.cs index cb46a0240328..72778edeb7e4 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Kubernetes +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSerializationAttribute.cs index 79e287a11050..dfcabf517497 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Kubernetes +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSuppressAttribute.cs index 3ef1a77d3b36..38d536e69173 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Kubernetes +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenTypeAttribute.cs index d54d6a3c5438..f36b5f513173 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Kubernetes +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenMemberAttribute.cs index fad089f57188..72778edeb7e4 100644 --- a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ImpactReporting +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSerializationAttribute.cs index 8ddf4d479fce..dfcabf517497 100644 --- a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ImpactReporting +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSuppressAttribute.cs index fc3bae420fb2..38d536e69173 100644 --- a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ImpactReporting +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenTypeAttribute.cs index 13c0b5ed27a4..f36b5f513173 100644 --- a/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/impactreporting/Azure.ResourceManager.ImpactReporting/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.ImpactReporting +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenMemberAttribute.cs index a86a19a06f9b..72778edeb7e4 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.InformaticaDataManagement +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSerializationAttribute.cs index 2e3b52ef5229..dfcabf517497 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.InformaticaDataManagement +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSuppressAttribute.cs index 39d3c2cf960e..38d536e69173 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.InformaticaDataManagement +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenTypeAttribute.cs index ba6443bbb06f..f36b5f513173 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.InformaticaDataManagement +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenMemberAttribute.cs index ae497b0cad11..72778edeb7e4 100644 --- a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.LambdaTestHyperExecute +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSerializationAttribute.cs index 218c6a383f4b..dfcabf517497 100644 --- a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.LambdaTestHyperExecute +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSuppressAttribute.cs index 82feda446a11..38d536e69173 100644 --- a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.LambdaTestHyperExecute +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenTypeAttribute.cs index 36c54375dd54..f36b5f513173 100644 --- a/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.LambdaTestHyperExecute +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/NgfwExtensions.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/PaloAltoNetworksNgfwExtensions.cs similarity index 99% rename from sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/NgfwExtensions.cs rename to sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/PaloAltoNetworksNgfwExtensions.cs index 523a7669e00c..485ff6355e05 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/NgfwExtensions.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Extensions/PaloAltoNetworksNgfwExtensions.cs @@ -18,7 +18,7 @@ namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw { /// A class to add extension methods to Azure.ResourceManager.PaloAltoNetworks.Ngfw. - public static partial class NgfwExtensions + public static partial class PaloAltoNetworksNgfwExtensions { /// private static MockablePaloAltoNetworksNgfwArmClient GetMockablePaloAltoNetworksNgfwArmClient(ArmClient client) diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenMemberAttribute.cs index 9967a0952768..72778edeb7e4 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSerializationAttribute.cs index ea0e509e750a..dfcabf517497 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSuppressAttribute.cs index abbe2b47d3a0..38d536e69173 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenTypeAttribute.cs index 2131bebb5f56..f36b5f513173 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenMemberAttribute.cs index 15d572037313..72778edeb7e4 100644 --- a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PineconeVectorDB +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSerializationAttribute.cs index 6c095c25c324..dfcabf517497 100644 --- a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PineconeVectorDB +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSuppressAttribute.cs index c1b2b2bd3608..38d536e69173 100644 --- a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PineconeVectorDB +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenTypeAttribute.cs index 1eacae6b95b5..f36b5f513173 100644 --- a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PineconeVectorDB +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenMemberAttribute.cs index 452711cffb8e..72778edeb7e4 100644 --- a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PlanetaryComputer +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSerializationAttribute.cs index ae65e7a62804..dfcabf517497 100644 --- a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PlanetaryComputer +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSuppressAttribute.cs index 975a3b970b26..38d536e69173 100644 --- a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PlanetaryComputer +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenTypeAttribute.cs index e04762974e84..f36b5f513173 100644 --- a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PlanetaryComputer +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenMemberAttribute.cs index 20e77fe02ef7..72778edeb7e4 100644 --- a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Playwright +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSerializationAttribute.cs index f1679e9c8fac..dfcabf517497 100644 --- a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Playwright +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSuppressAttribute.cs index a0e63bf82968..38d536e69173 100644 --- a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Playwright +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenTypeAttribute.cs index abf4cd34b53c..f36b5f513173 100644 --- a/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/playwright/Azure.ResourceManager.Playwright/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.Playwright +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenMemberAttribute.cs index abe544c4551d..72778edeb7e4 100644 --- a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PortalServicesCopilot +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSerializationAttribute.cs index 3876565c0f21..dfcabf517497 100644 --- a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PortalServicesCopilot +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSuppressAttribute.cs index 36a175231459..38d536e69173 100644 --- a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PortalServicesCopilot +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenTypeAttribute.cs index 6fbb9d2e7986..f36b5f513173 100644 --- a/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/portalservices/Azure.ResourceManager.PortalServicesCopilot/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.PortalServicesCopilot +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenMemberAttribute.cs index 2d26f70bf812..72778edeb7e4 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSerializationAttribute.cs index 42724d49d8dd..dfcabf517497 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSuppressAttribute.cs index cf4c158f58b4..38d536e69173 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenTypeAttribute.cs index d1e2c5ef1b65..f36b5f513173 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageActions +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenMemberAttribute.cs index 6482b609bf37..72778edeb7e4 100644 --- a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageDiscovery +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSerializationAttribute.cs index 0ca4e2bc7fb7..dfcabf517497 100644 --- a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageDiscovery +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSuppressAttribute.cs index 5ac42b71a308..38d536e69173 100644 --- a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageDiscovery +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenTypeAttribute.cs index d87219a9d600..f36b5f513173 100644 --- a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.StorageDiscovery +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenMemberAttribute.cs index ced02039d074..72778edeb7e4 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.TrustedSigning +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSerializationAttribute.cs index 6df96428912a..dfcabf517497 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.TrustedSigning +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSuppressAttribute.cs index a125a7d27f8a..38d536e69173 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.TrustedSigning +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenTypeAttribute.cs index b5e5654588a2..f36b5f513173 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.TrustedSigning +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute diff --git a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenMemberAttribute.cs b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenMemberAttribute.cs index 23aac9a38d46..72778edeb7e4 100644 --- a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenMemberAttribute.cs +++ b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenMemberAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.WeightsAndBiases +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Property | AttributeTargets.Field))] internal partial class CodeGenMemberAttribute : CodeGenTypeAttribute diff --git a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSerializationAttribute.cs b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSerializationAttribute.cs index 2a54b5710f11..dfcabf517497 100644 --- a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSerializationAttribute.cs +++ b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSerializationAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.WeightsAndBiases +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)] internal partial class CodeGenSerializationAttribute : Attribute diff --git a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSuppressAttribute.cs b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSuppressAttribute.cs index 0df12115dbe7..38d536e69173 100644 --- a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSuppressAttribute.cs +++ b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenSuppressAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.WeightsAndBiases +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct), AllowMultiple = true)] internal partial class CodeGenSuppressAttribute : Attribute diff --git a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenTypeAttribute.cs b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenTypeAttribute.cs index 753964a10e4c..f36b5f513173 100644 --- a/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenTypeAttribute.cs +++ b/sdk/weightsandbiases/Azure.ResourceManager.WeightsAndBiases/src/Generated/Internal/CodeGenTypeAttribute.cs @@ -7,7 +7,7 @@ using System; -namespace Azure.ResourceManager.WeightsAndBiases +namespace Microsoft.TypeSpec.Generator.Customizations { [AttributeUsage((AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct))] internal partial class CodeGenTypeAttribute : Attribute