diff --git a/sdk/apicenter/azure.ApiCenter/Configuration.json b/sdk/apicenter/azure.ApiCenter/Configuration.json new file mode 100644 index 000000000000..485b7a85641c --- /dev/null +++ b/sdk/apicenter/azure.ApiCenter/Configuration.json @@ -0,0 +1,12 @@ +{ + "output-folder": ".", + "namespace": "azure.ApiCenter", + "library-name": "azure.ApiCenter", + "flavor": "azure", + "use-model-reader-writer": true, + "shared-source-folders": [ + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared", + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared" + ], + "model-namespace": false +} diff --git a/sdk/apicenter/azure.ApiCenter/tsp-location.yaml b/sdk/apicenter/azure.ApiCenter/tsp-location.yaml new file mode 100644 index 000000000000..6f86efe1908b --- /dev/null +++ b/sdk/apicenter/azure.ApiCenter/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/apicenter/ApiCenter.DataApi +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/apicenter/azure.ApiCenter/tspCodeModel.json b/sdk/apicenter/azure.ApiCenter/tspCodeModel.json new file mode 100644 index 000000000000..7b4a35ec76a3 --- /dev/null +++ b/sdk/apicenter/azure.ApiCenter/tspCodeModel.json @@ -0,0 +1,8098 @@ +{ + "$id": "1", + "name": "ApiCenter.DataApi", + "apiVersions": [ + "2024-02-01-preview" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "LifecycleStage", + "crossLanguageDefinitionId": "ApiCenter.DataApi.LifecycleStage", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "Design", + "value": "design", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the design stage", + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "Development", + "value": "development", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the development stage", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "Testing", + "value": "testing", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the testing stage", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "Preview", + "value": "preview", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the preview stage", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "Production", + "value": "production", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the production stage", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "Deprecated", + "value": "deprecated", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the deprecated stage", + "decorators": [] + }, + { + "$id": "16", + "kind": "enumvalue", + "name": "Retired", + "value": "retired", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "API is in the retired stage", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "API Lifecycle Stage", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "18", + "kind": "enum", + "name": "EnvironmentKind", + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentKind", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "20", + "kind": "enumvalue", + "name": "Development", + "value": "development", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "Environment is in the development stage", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "Testing", + "value": "testing", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "Environment is in the testing stage", + "decorators": [] + }, + { + "$id": "24", + "kind": "enumvalue", + "name": "Staging", + "value": "staging", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "Environment is in the staging stage", + "decorators": [] + }, + { + "$id": "26", + "kind": "enumvalue", + "name": "Production", + "value": "production", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "Environment is in the production stage", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "Environment kind", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "28", + "kind": "enum", + "name": "ApiSpecExportResultFormat", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResultFormat", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "30", + "kind": "enumvalue", + "name": "Link", + "value": "link", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "28" + }, + "doc": "Link format", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "Export specification result format", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "32", + "kind": "enum", + "name": "ApiKind", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiKind", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "34", + "kind": "enumvalue", + "name": "Rest", + "value": "rest", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "REST API", + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "Graphql", + "value": "graphql", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "GraphQL API", + "decorators": [] + }, + { + "$id": "38", + "kind": "enumvalue", + "name": "Grpc", + "value": "grpc", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "GRPC API", + "decorators": [] + }, + { + "$id": "40", + "kind": "enumvalue", + "name": "Soap", + "value": "soap", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "SOAP API", + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "Webhook", + "value": "webhook", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "Webhook API", + "decorators": [] + }, + { + "$id": "44", + "kind": "enumvalue", + "name": "Websocket", + "value": "websocket", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "Websocket API", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "API kind", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "46", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Versions", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "48", + "kind": "enumvalue", + "name": "v2024_02_01_preview", + "value": "2024-02-01-preview", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "46" + }, + "doc": "Preview release version 2024-02-01-preview", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "API versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + }, + { + "$id": "50", + "kind": "enum", + "name": "OperationState", + "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "52", + "kind": "enumvalue", + "name": "NotStarted", + "value": "NotStarted", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "50" + }, + "doc": "The operation has not started.", + "decorators": [] + }, + { + "$id": "54", + "kind": "enumvalue", + "name": "Running", + "value": "Running", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "50" + }, + "doc": "The operation is in progress.", + "decorators": [] + }, + { + "$id": "56", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "50" + }, + "doc": "The operation has completed successfully.", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "50" + }, + "doc": "The operation has failed.", + "decorators": [] + }, + { + "$id": "60", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "50" + }, + "doc": "The operation has been canceled by the user.", + "decorators": [] + } + ], + "namespace": "azure.ApiCenter", + "doc": "Enum describing allowed operation states.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + } + ], + "models": [ + { + "$id": "62", + "kind": "model", + "name": "ApiVersion", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion", + "usage": "Output,Json", + "doc": "API version resource model.", + "decorators": [], + "properties": [ + { + "$id": "63", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Version identifier.", + "type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.name", + "serializationOptions": { + "$id": "65", + "json": { + "$id": "66", + "name": "name" + } + } + }, + { + "$id": "67", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "Version title.", + "type": { + "$id": "68", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.title", + "serializationOptions": { + "$id": "69", + "json": { + "$id": "70", + "name": "title" + } + } + }, + { + "$id": "71", + "kind": "property", + "name": "lifecycleStage", + "serializedName": "lifecycleStage", + "doc": "Current lifecycle stage of the API version.", + "type": { + "$ref": "2" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.lifecycleStage", + "serializationOptions": { + "$id": "72", + "json": { + "$id": "73", + "name": "lifecycleStage" + } + } + } + ] + }, + { + "$id": "74", + "kind": "model", + "name": "Environment", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment", + "usage": "Output,Json", + "doc": "Environment resource model.", + "decorators": [], + "properties": [ + { + "$id": "75", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Environment identifier.", + "type": { + "$id": "76", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.name", + "serializationOptions": { + "$id": "77", + "json": { + "$id": "78", + "name": "name" + } + } + }, + { + "$id": "79", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "The name of the environment.", + "type": { + "$id": "80", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.title", + "serializationOptions": { + "$id": "81", + "json": { + "$id": "82", + "name": "title" + } + } + }, + { + "$id": "83", + "kind": "property", + "name": "kind", + "serializedName": "kind", + "doc": "Kind of deployment environment.", + "type": { + "$ref": "18" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.kind", + "serializationOptions": { + "$id": "84", + "json": { + "$id": "85", + "name": "kind" + } + } + }, + { + "$id": "86", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Description of the environment.", + "type": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.description", + "serializationOptions": { + "$id": "88", + "json": { + "$id": "89", + "name": "description" + } + } + }, + { + "$id": "90", + "kind": "property", + "name": "server", + "serializedName": "server", + "doc": "Server information of the environment.", + "type": { + "$id": "91", + "kind": "model", + "name": "EnvironmentServer", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer", + "usage": "Output,Json", + "doc": "Environment Server", + "decorators": [], + "properties": [ + { + "$id": "92", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of the server that represents the environment.", + "type": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer.type", + "serializationOptions": { + "$id": "94", + "json": { + "$id": "95", + "name": "type" + } + } + }, + { + "$id": "96", + "kind": "property", + "name": "managementPortalUris", + "serializedName": "managementPortalUris", + "doc": "URIs of the server's management portal.", + "type": { + "$id": "97", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "98", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer.managementPortalUris", + "serializationOptions": { + "$id": "99", + "json": { + "$id": "100", + "name": "managementPortalUris" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.server", + "serializationOptions": { + "$id": "101", + "json": { + "$id": "102", + "name": "server" + } + } + }, + { + "$id": "103", + "kind": "property", + "name": "onboarding", + "serializedName": "onboarding", + "doc": "Onboarding information for this environment.", + "type": { + "$id": "104", + "kind": "model", + "name": "EnvironmentOnboardingModel", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel", + "usage": "Output,Json", + "doc": "Environment Onboarding Model", + "decorators": [], + "properties": [ + { + "$id": "105", + "kind": "property", + "name": "instructions", + "serializedName": "instructions", + "doc": "Instructions how to onboard to the environment.", + "type": { + "$id": "106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel.instructions", + "serializationOptions": { + "$id": "107", + "json": { + "$id": "108", + "name": "instructions" + } + } + }, + { + "$id": "109", + "kind": "property", + "name": "developerPortalUris", + "serializedName": "developerPortalUris", + "doc": "Developer portal URIs of the environment.", + "type": { + "$id": "110", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "111", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel.developerPortalUris", + "serializationOptions": { + "$id": "112", + "json": { + "$id": "113", + "name": "developerPortalUris" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.onboarding", + "serializationOptions": { + "$id": "114", + "json": { + "$id": "115", + "name": "onboarding" + } + } + }, + { + "$id": "116", + "kind": "property", + "name": "customProperties", + "serializedName": "customProperties", + "doc": "The custom metadata defined for environment entities.", + "type": { + "$id": "117", + "kind": "model", + "name": "EnvironmentCustomProperties", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.customProperties.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.customProperties", + "serializationOptions": { + "$id": "118", + "json": { + "$id": "119", + "name": "customProperties" + } + } + } + ] + }, + { + "$ref": "91" + }, + { + "$ref": "104" + }, + { + "$ref": "117" + }, + { + "$id": "120", + "kind": "model", + "name": "PagedEnvironmentAll", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll", + "usage": "Output,Json", + "doc": "Paged collection of Environment items across workspaces", + "decorators": [], + "properties": [ + { + "$id": "121", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Environment items on this page", + "type": { + "$id": "122", + "kind": "array", + "name": "ArrayEnvironment", + "valueType": { + "$ref": "74" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll.value", + "serializationOptions": { + "$id": "123", + "json": { + "$id": "124", + "name": "value" + } + } + }, + { + "$id": "125", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "126", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "127", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll.nextLink", + "serializationOptions": { + "$id": "128", + "json": { + "$id": "129", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "130", + "kind": "model", + "name": "ApiDeployment", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment", + "usage": "Output,Json", + "doc": "API deployment resource model.", + "decorators": [], + "properties": [ + { + "$id": "131", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Deployment identifier.", + "type": { + "$id": "132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.name", + "serializationOptions": { + "$id": "133", + "json": { + "$id": "134", + "name": "name" + } + } + }, + { + "$id": "135", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "The name of the deployment.", + "type": { + "$id": "136", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.title", + "serializationOptions": { + "$id": "137", + "json": { + "$id": "138", + "name": "title" + } + } + }, + { + "$id": "139", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The description of the deployment.", + "type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.description", + "serializationOptions": { + "$id": "141", + "json": { + "$id": "142", + "name": "description" + } + } + }, + { + "$id": "143", + "kind": "property", + "name": "environment", + "serializedName": "environment", + "doc": "The name of the deployment environment.", + "type": { + "$id": "144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.environment", + "serializationOptions": { + "$id": "145", + "json": { + "$id": "146", + "name": "environment" + } + } + }, + { + "$id": "147", + "kind": "property", + "name": "server", + "serializedName": "server", + "doc": "The server information of the API deployment.", + "type": { + "$id": "148", + "kind": "model", + "name": "ApiDeploymentServer", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeploymentServer", + "usage": "Output,Json", + "doc": "Api Deployment Server", + "decorators": [], + "properties": [ + { + "$id": "149", + "kind": "property", + "name": "runtimeUris", + "serializedName": "runtimeUris", + "doc": "Base runtime URIs for this deployment.", + "type": { + "$id": "150", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "151", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeploymentServer.runtimeUris", + "serializationOptions": { + "$id": "152", + "json": { + "$id": "153", + "name": "runtimeUris" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.server", + "serializationOptions": { + "$id": "154", + "json": { + "$id": "155", + "name": "server" + } + } + }, + { + "$id": "156", + "kind": "property", + "name": "customProperties", + "serializedName": "customProperties", + "doc": "The custom metadata defined for API deployment entities.", + "type": { + "$id": "157", + "kind": "model", + "name": "ApiDeploymentCustomProperties", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.customProperties.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.customProperties", + "serializationOptions": { + "$id": "158", + "json": { + "$id": "159", + "name": "customProperties" + } + } + }, + { + "$id": "160", + "kind": "property", + "name": "recommended", + "serializedName": "recommended", + "doc": "Indicates if this is currently recommended deployment.", + "type": { + "$id": "161", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.recommended", + "serializationOptions": { + "$id": "162", + "json": { + "$id": "163", + "name": "recommended" + } + } + } + ] + }, + { + "$ref": "148" + }, + { + "$ref": "157" + }, + { + "$id": "164", + "kind": "model", + "name": "ApiDefinition", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition", + "usage": "Output,Json", + "doc": "API definition resource model.", + "decorators": [], + "properties": [ + { + "$id": "165", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Definition identifier.", + "type": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.name", + "serializationOptions": { + "$id": "167", + "json": { + "$id": "168", + "name": "name" + } + } + }, + { + "$id": "169", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "The name of the API definition.", + "type": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.title", + "serializationOptions": { + "$id": "171", + "json": { + "$id": "172", + "name": "title" + } + } + }, + { + "$id": "173", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The description of the API definition.", + "type": { + "$id": "174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.description", + "serializationOptions": { + "$id": "175", + "json": { + "$id": "176", + "name": "description" + } + } + }, + { + "$id": "177", + "kind": "property", + "name": "specification", + "serializedName": "specification", + "doc": "The API specification details.", + "type": { + "$id": "178", + "kind": "model", + "name": "ApiSpecification", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification", + "usage": "Output,Json", + "doc": "API specification", + "decorators": [], + "properties": [ + { + "$id": "179", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "API specification name, e.g. 'swagger' or 'openapi'.", + "type": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification.name", + "serializationOptions": { + "$id": "181", + "json": { + "$id": "182", + "name": "name" + } + } + }, + { + "$id": "183", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "API specification version, e.g. '3.0.1'.", + "type": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification.version", + "serializationOptions": { + "$id": "185", + "json": { + "$id": "186", + "name": "version" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.specification", + "serializationOptions": { + "$id": "187", + "json": { + "$id": "188", + "name": "specification" + } + } + } + ] + }, + { + "$ref": "178" + }, + { + "$id": "189", + "kind": "model", + "name": "ApiSpecExportResult", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult", + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Export specification result model.", + "decorators": [], + "properties": [ + { + "$id": "190", + "kind": "property", + "name": "definitionName", + "serializedName": "definitionName", + "doc": "API definition identifier.", + "type": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.definitionName", + "serializationOptions": { + "$id": "192", + "json": { + "$id": "193", + "name": "definitionName" + } + } + }, + { + "$id": "194", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The result of the specification export.", + "type": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.value", + "serializationOptions": { + "$id": "196", + "json": { + "$id": "197", + "name": "value" + } + } + }, + { + "$id": "198", + "kind": "property", + "name": "format", + "serializedName": "format", + "doc": "The format of the specification export result.", + "type": { + "$ref": "28" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.format", + "serializationOptions": { + "$id": "199", + "json": { + "$id": "200", + "name": "format" + } + } + } + ] + }, + { + "$id": "201", + "kind": "model", + "name": "Api", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api", + "usage": "Output,Json", + "doc": "API resource model.", + "decorators": [], + "properties": [ + { + "$id": "202", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Api identifier.", + "type": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.name", + "serializationOptions": { + "$id": "204", + "json": { + "$id": "205", + "name": "name" + } + } + }, + { + "$id": "206", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "The name of the API.", + "type": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.title", + "serializationOptions": { + "$id": "208", + "json": { + "$id": "209", + "name": "title" + } + } + }, + { + "$id": "210", + "kind": "property", + "name": "summary", + "serializedName": "summary", + "doc": "Short description of the API.", + "type": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.summary", + "serializationOptions": { + "$id": "212", + "json": { + "$id": "213", + "name": "summary" + } + } + }, + { + "$id": "214", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The description of the API", + "type": { + "$id": "215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.description", + "serializationOptions": { + "$id": "216", + "json": { + "$id": "217", + "name": "description" + } + } + }, + { + "$id": "218", + "kind": "property", + "name": "kind", + "serializedName": "kind", + "doc": "Kind of API. For example, REST or GraphQL.", + "type": { + "$ref": "32" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.kind", + "serializationOptions": { + "$id": "219", + "json": { + "$id": "220", + "name": "kind" + } + } + }, + { + "$id": "221", + "kind": "property", + "name": "lifecycleStage", + "serializedName": "lifecycleStage", + "doc": "Current lifecycle stage of the API.", + "type": { + "$ref": "2" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.lifecycleStage", + "serializationOptions": { + "$id": "222", + "json": { + "$id": "223", + "name": "lifecycleStage" + } + } + }, + { + "$id": "224", + "kind": "property", + "name": "termsOfService", + "serializedName": "termsOfService", + "doc": "Terms of service for the API.", + "type": { + "$id": "225", + "kind": "model", + "name": "TermsOfService", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.TermsOfService", + "usage": "Output,Json", + "doc": "API Terms of Service", + "decorators": [], + "properties": [ + { + "$id": "226", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "URL pointing to the terms of service.", + "type": { + "$id": "227", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.TermsOfService.url", + "serializationOptions": { + "$id": "228", + "json": { + "$id": "229", + "name": "url" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.termsOfService", + "serializationOptions": { + "$id": "230", + "json": { + "$id": "231", + "name": "termsOfService" + } + } + }, + { + "$id": "232", + "kind": "property", + "name": "license", + "serializedName": "license", + "doc": "The license information for the API.", + "type": { + "$id": "233", + "kind": "model", + "name": "License", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.License", + "usage": "Output,Json", + "doc": "API License Model", + "decorators": [], + "properties": [ + { + "$id": "234", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the license.", + "type": { + "$id": "235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.License.name", + "serializationOptions": { + "$id": "236", + "json": { + "$id": "237", + "name": "name" + } + } + }, + { + "$id": "238", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field.", + "type": { + "$id": "239", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.License.url", + "serializationOptions": { + "$id": "240", + "json": { + "$id": "241", + "name": "url" + } + } + }, + { + "$id": "242", + "kind": "property", + "name": "identifier", + "serializedName": "identifier", + "doc": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field.", + "type": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.License.identifier", + "serializationOptions": { + "$id": "244", + "json": { + "$id": "245", + "name": "identifier" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.license", + "serializationOptions": { + "$id": "246", + "json": { + "$id": "247", + "name": "license" + } + } + }, + { + "$id": "248", + "kind": "property", + "name": "externalDocumentation", + "serializedName": "externalDocumentation", + "doc": "External documentation", + "type": { + "$id": "249", + "kind": "array", + "name": "ArrayExternalDocumentation", + "valueType": { + "$id": "250", + "kind": "model", + "name": "ExternalDocumentation", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation", + "usage": "Output,Json", + "doc": "Api External Documentation Model", + "decorators": [], + "properties": [ + { + "$id": "251", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "Title of the documentation.", + "type": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.title", + "serializationOptions": { + "$id": "253", + "json": { + "$id": "254", + "name": "title" + } + } + }, + { + "$id": "255", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Description of the documentation.", + "type": { + "$id": "256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.description", + "serializationOptions": { + "$id": "257", + "json": { + "$id": "258", + "name": "description" + } + } + }, + { + "$id": "259", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "URL pointing to the documentation.", + "type": { + "$id": "260", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.url", + "serializationOptions": { + "$id": "261", + "json": { + "$id": "262", + "name": "url" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.externalDocumentation", + "serializationOptions": { + "$id": "263", + "json": { + "$id": "264", + "name": "externalDocumentation" + } + } + }, + { + "$id": "265", + "kind": "property", + "name": "contacts", + "serializedName": "contacts", + "doc": "Points of contact for the API.", + "type": { + "$id": "266", + "kind": "array", + "name": "ArrayContact", + "valueType": { + "$id": "267", + "kind": "model", + "name": "Contact", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact", + "usage": "Output,Json", + "doc": "API contact information", + "decorators": [], + "properties": [ + { + "$id": "268", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the contact.", + "type": { + "$id": "269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.name", + "serializationOptions": { + "$id": "270", + "json": { + "$id": "271", + "name": "name" + } + } + }, + { + "$id": "272", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "URL for the contact.", + "type": { + "$id": "273", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.url", + "serializationOptions": { + "$id": "274", + "json": { + "$id": "275", + "name": "url" + } + } + }, + { + "$id": "276", + "kind": "property", + "name": "email", + "serializedName": "email", + "doc": "Email address for the contact.", + "type": { + "$id": "277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.email", + "serializationOptions": { + "$id": "278", + "json": { + "$id": "279", + "name": "email" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.contacts", + "serializationOptions": { + "$id": "280", + "json": { + "$id": "281", + "name": "contacts" + } + } + }, + { + "$id": "282", + "kind": "property", + "name": "customProperties", + "serializedName": "customProperties", + "doc": "The custom metadata defined for API entities.", + "type": { + "$id": "283", + "kind": "model", + "name": "ApiCustomProperties", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.customProperties.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.customProperties", + "serializationOptions": { + "$id": "284", + "json": { + "$id": "285", + "name": "customProperties" + } + } + }, + { + "$id": "286", + "kind": "property", + "name": "lastUpdated", + "serializedName": "lastUpdated", + "doc": "Last updated date and time.", + "type": { + "$id": "287", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.lastUpdated", + "serializationOptions": { + "$id": "289", + "json": { + "$id": "290", + "name": "lastUpdated" + } + } + } + ] + }, + { + "$ref": "225" + }, + { + "$ref": "233" + }, + { + "$ref": "250" + }, + { + "$ref": "267" + }, + { + "$ref": "283" + }, + { + "$id": "291", + "kind": "model", + "name": "PagedApiAll", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll", + "usage": "Output,Json", + "doc": "Paged collection of API items across workspaces.", + "decorators": [], + "properties": [ + { + "$id": "292", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Api items on this page", + "type": { + "$id": "293", + "kind": "array", + "name": "ArrayApi", + "valueType": { + "$ref": "201" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll.value", + "serializationOptions": { + "$id": "294", + "json": { + "$id": "295", + "name": "value" + } + } + }, + { + "$id": "296", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "297", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "298", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll.nextLink", + "serializationOptions": { + "$id": "299", + "json": { + "$id": "300", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "301", + "kind": "model", + "name": "PagedApi", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", + "usage": "Output,Json", + "doc": "Paged collection of Api items", + "decorators": [], + "properties": [ + { + "$id": "302", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Api items on this page", + "type": { + "$id": "303", + "kind": "array", + "name": "ArrayApi", + "valueType": { + "$ref": "201" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", + "serializationOptions": { + "$id": "304", + "json": { + "$id": "305", + "name": "value" + } + } + }, + { + "$id": "306", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "307", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "308", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", + "serializationOptions": { + "$id": "309", + "json": { + "$id": "310", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "311", + "kind": "model", + "name": "PagedApiDefinition", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", + "usage": "Output,Json", + "doc": "Paged collection of ApiDefinition items", + "decorators": [], + "properties": [ + { + "$id": "312", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The ApiDefinition items on this page", + "type": { + "$id": "313", + "kind": "array", + "name": "ArrayApiDefinition", + "valueType": { + "$ref": "164" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", + "serializationOptions": { + "$id": "314", + "json": { + "$id": "315", + "name": "value" + } + } + }, + { + "$id": "316", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "317", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "318", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", + "serializationOptions": { + "$id": "319", + "json": { + "$id": "320", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "321", + "kind": "model", + "name": "ResourceOperationStatusApiSpecExportResultApiSpecExportResultError", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus", + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Provides status details for long running operations.", + "decorators": [], + "properties": [ + { + "$id": "322", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique ID of the operation.", + "type": { + "$id": "323", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.id", + "serializationOptions": { + "$id": "324", + "json": { + "$id": "325", + "name": "id" + } + } + }, + { + "$id": "326", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The status of the operation", + "type": { + "$ref": "50" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.status", + "serializationOptions": { + "$id": "327", + "json": { + "$id": "328", + "name": "status" + } + } + }, + { + "$id": "329", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Error object that describes the error when status is \"Failed\".", + "type": { + "$id": "330", + "kind": "model", + "name": "Error", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The error object.", + "decorators": [], + "properties": [ + { + "$id": "331", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "332", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", + "serializationOptions": { + "$id": "333", + "json": { + "$id": "334", + "name": "code" + } + } + }, + { + "$id": "335", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "A human-readable representation of the error.", + "type": { + "$id": "336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", + "serializationOptions": { + "$id": "337", + "json": { + "$id": "338", + "name": "message" + } + } + }, + { + "$id": "339", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The target of the error.", + "type": { + "$id": "340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", + "serializationOptions": { + "$id": "341", + "json": { + "$id": "342", + "name": "target" + } + } + }, + { + "$id": "343", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "An array of details about specific errors that led to this reported error.", + "type": { + "$id": "344", + "kind": "array", + "name": "ArrayError", + "valueType": { + "$ref": "330" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", + "serializationOptions": { + "$id": "345", + "json": { + "$id": "346", + "name": "details" + } + } + }, + { + "$id": "347", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "An object containing more specific information than the current object about the error.", + "type": { + "$id": "348", + "kind": "model", + "name": "InnerError", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", + "decorators": [], + "properties": [ + { + "$id": "349", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", + "serializationOptions": { + "$id": "351", + "json": { + "$id": "352", + "name": "code" + } + } + }, + { + "$id": "353", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "Inner error.", + "type": { + "$ref": "348" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", + "serializationOptions": { + "$id": "354", + "json": { + "$id": "355", + "name": "innererror" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", + "serializationOptions": { + "$id": "356", + "json": { + "$id": "357", + "name": "innererror" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.error", + "serializationOptions": { + "$id": "358", + "json": { + "$id": "359", + "name": "error" + } + } + }, + { + "$id": "360", + "kind": "property", + "name": "result", + "serializedName": "result", + "doc": "The result of the operation.", + "type": { + "$ref": "189" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.result", + "serializationOptions": { + "$id": "361", + "json": { + "$id": "362", + "name": "result" + } + } + } + ] + }, + { + "$ref": "330" + }, + { + "$ref": "348" + }, + { + "$id": "363", + "kind": "model", + "name": "PagedApiDeployment", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", + "usage": "Output,Json", + "doc": "Paged collection of ApiDeployment items", + "decorators": [], + "properties": [ + { + "$id": "364", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The ApiDeployment items on this page", + "type": { + "$id": "365", + "kind": "array", + "name": "ArrayApiDeployment", + "valueType": { + "$ref": "130" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", + "serializationOptions": { + "$id": "366", + "json": { + "$id": "367", + "name": "value" + } + } + }, + { + "$id": "368", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "369", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "370", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", + "serializationOptions": { + "$id": "371", + "json": { + "$id": "372", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "373", + "kind": "model", + "name": "PagedEnvironment", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", + "usage": "Output,Json", + "doc": "Paged collection of Environment items", + "decorators": [], + "properties": [ + { + "$id": "374", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Environment items on this page", + "type": { + "$id": "375", + "kind": "array", + "name": "ArrayEnvironment", + "valueType": { + "$ref": "74" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", + "serializationOptions": { + "$id": "376", + "json": { + "$id": "377", + "name": "value" + } + } + }, + { + "$id": "378", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "379", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "380", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", + "serializationOptions": { + "$id": "381", + "json": { + "$id": "382", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "383", + "kind": "model", + "name": "PagedApiVersion", + "namespace": "azure.ApiCenter", + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", + "usage": "Output,Json", + "doc": "Paged collection of ApiVersion items", + "decorators": [], + "properties": [ + { + "$id": "384", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The ApiVersion items on this page", + "type": { + "$id": "385", + "kind": "array", + "name": "ArrayApiVersion", + "valueType": { + "$ref": "62" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", + "serializationOptions": { + "$id": "386", + "json": { + "$id": "387", + "name": "value" + } + } + }, + { + "$id": "388", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "389", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "390", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", + "serializationOptions": { + "$id": "391", + "json": { + "$id": "392", + "name": "nextLink" + } + } + } + ] + } + ], + "clients": [ + { + "$id": "393", + "name": "DataApiClient", + "namespace": "azure.ApiCenter", + "doc": "Data API introduces endpoints to manage your API Center resources.", + "operations": [], + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi" + }, + { + "$id": "394", + "name": "Apis", + "namespace": "azure.ApiCenter", + "operations": [ + { + "$id": "395", + "name": "list", + "resourceName": "Api", + "doc": "List a collection of APIs.", + "accessibility": "public", + "parameters": [ + { + "$id": "396", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "398", + "type": { + "$id": "399", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "400", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "401", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "402", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "403", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "404", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "405", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "406", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "407", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "408", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "409", + "kind": "constant", + "valueType": { + "$id": "410", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "411", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "301" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis", + "bufferResponse": true, + "paging": { + "$id": "412", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "413", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.list", + "decorators": [], + "examples": [ + { + "$id": "414", + "kind": "http", + "name": "Apis_List", + "description": "Apis_List", + "filePath": "2024-02-01-preview/Apis_List.json", + "parameters": [ + { + "$id": "415", + "parameter": { + "$ref": "396" + }, + "value": { + "$id": "416", + "kind": "string", + "type": { + "$ref": "397" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "417", + "parameter": { + "$ref": "400" + }, + "value": { + "$id": "418", + "kind": "string", + "type": { + "$ref": "401" + }, + "value": "default" + } + } + ], + "responses": [ + { + "$id": "419", + "response": { + "$ref": "411" + }, + "statusCode": 200, + "bodyValue": { + "$id": "420", + "kind": "model", + "type": { + "$ref": "301" + }, + "value": { + "$id": "421", + "value": { + "$id": "422", + "kind": "array", + "type": { + "$ref": "303" + }, + "value": [ + { + "$id": "423", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "$id": "424", + "name": { + "$id": "425", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "echo-api" + }, + "title": { + "$id": "426", + "kind": "string", + "type": { + "$ref": "207" + }, + "value": "Echo API" + }, + "kind": { + "$id": "427", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "rest" + }, + "lastUpdated": { + "$id": "428", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "2023-12-18T18:49:11.878Z" + }, + "description": { + "$id": "429", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "A simple HTTP request/response service." + }, + "lifecycleStage": { + "$id": "430", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "design" + }, + "termsOfService": { + "$id": "431", + "kind": "model", + "type": { + "$ref": "225" + }, + "value": { + "$id": "432", + "url": { + "$id": "433", + "kind": "string", + "type": { + "$ref": "227" + }, + "value": "https://contoso.com/terms-of-service" + } + } + }, + "license": { + "$id": "434", + "kind": "model", + "type": { + "$ref": "233" + }, + "value": { + "$id": "435", + "name": { + "$id": "436", + "kind": "string", + "type": { + "$ref": "235" + }, + "value": "default" + }, + "url": { + "$id": "437", + "kind": "string", + "type": { + "$ref": "239" + }, + "value": "https://contoso.com/license" + } + } + }, + "externalDocumentation": { + "$id": "438", + "kind": "array", + "type": { + "$ref": "249" + }, + "value": [ + { + "$id": "439", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "440", + "title": { + "$id": "441", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Onboarding docs" + }, + "description": { + "$id": "442", + "kind": "string", + "type": { + "$ref": "256" + }, + "value": "Learn how to onboard to the Echo API." + }, + "url": { + "$id": "443", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "https://docs.contoso.com" + } + } + } + ] + }, + "contacts": { + "$id": "444", + "kind": "array", + "type": { + "$ref": "266" + }, + "value": [ + { + "$id": "445", + "kind": "model", + "type": { + "$ref": "267" + }, + "value": { + "$id": "446", + "name": { + "$id": "447", + "kind": "string", + "type": { + "$ref": "269" + }, + "value": "Contoso support" + }, + "url": { + "$id": "448", + "kind": "string", + "type": { + "$ref": "273" + }, + "value": "https://support.contoso.com" + }, + "email": { + "$id": "449", + "kind": "string", + "type": { + "$ref": "277" + }, + "value": "support@contoso.com" + } + } + } + ] + } + } + } + ] + }, + "nextLink": { + "$id": "450", + "kind": "string", + "type": { + "$ref": "307" + }, + "value": "https://..." + } + } + } + } + ] + } + ] + }, + { + "$id": "451", + "name": "listAll", + "resourceName": "Apis", + "doc": "List a collection of APIs across workspaces.", + "accessibility": "public", + "parameters": [ + { + "$id": "452", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "453", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "454", + "type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "456", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "457", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "458", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "459", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "460", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "461", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "462", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "463", + "kind": "constant", + "valueType": { + "$id": "464", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "465", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "291" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/apis", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.listAll", + "decorators": [], + "examples": [ + { + "$id": "466", + "kind": "http", + "name": "Apis_ListAll", + "description": "Apis_ListAll", + "filePath": "2024-02-01-preview/Apis_ListAll.json", + "parameters": [ + { + "$id": "467", + "parameter": { + "$ref": "452" + }, + "value": { + "$id": "468", + "kind": "string", + "type": { + "$ref": "453" + }, + "value": "2024-02-01-preview" + } + } + ], + "responses": [ + { + "$id": "469", + "response": { + "$ref": "465" + }, + "statusCode": 200, + "bodyValue": { + "$id": "470", + "kind": "model", + "type": { + "$ref": "291" + }, + "value": { + "$id": "471", + "value": { + "$id": "472", + "kind": "array", + "type": { + "$ref": "293" + }, + "value": [ + { + "$id": "473", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "$id": "474", + "name": { + "$id": "475", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "echo-api" + }, + "title": { + "$id": "476", + "kind": "string", + "type": { + "$ref": "207" + }, + "value": "Echo API" + }, + "kind": { + "$id": "477", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "rest" + }, + "lastUpdated": { + "$id": "478", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "2023-12-18T18:49:11.878Z" + }, + "description": { + "$id": "479", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "A simple HTTP request/response service." + }, + "lifecycleStage": { + "$id": "480", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "design" + }, + "termsOfService": { + "$id": "481", + "kind": "model", + "type": { + "$ref": "225" + }, + "value": { + "$id": "482", + "url": { + "$id": "483", + "kind": "string", + "type": { + "$ref": "227" + }, + "value": "https://contoso.com/terms-of-service" + } + } + }, + "license": { + "$id": "484", + "kind": "model", + "type": { + "$ref": "233" + }, + "value": { + "$id": "485", + "name": { + "$id": "486", + "kind": "string", + "type": { + "$ref": "235" + }, + "value": "default" + }, + "url": { + "$id": "487", + "kind": "string", + "type": { + "$ref": "239" + }, + "value": "https://contoso.com/license" + } + } + }, + "externalDocumentation": { + "$id": "488", + "kind": "array", + "type": { + "$ref": "249" + }, + "value": [ + { + "$id": "489", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "490", + "title": { + "$id": "491", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Onboarding docs" + }, + "description": { + "$id": "492", + "kind": "string", + "type": { + "$ref": "256" + }, + "value": "Learn how to onboard to the Echo API." + }, + "url": { + "$id": "493", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "https://docs.contoso.com" + } + } + } + ] + }, + "contacts": { + "$id": "494", + "kind": "array", + "type": { + "$ref": "266" + }, + "value": [ + { + "$id": "495", + "kind": "model", + "type": { + "$ref": "267" + }, + "value": { + "$id": "496", + "name": { + "$id": "497", + "kind": "string", + "type": { + "$ref": "269" + }, + "value": "Contoso support" + }, + "url": { + "$id": "498", + "kind": "string", + "type": { + "$ref": "273" + }, + "value": "https://support.contoso.com" + }, + "email": { + "$id": "499", + "kind": "string", + "type": { + "$ref": "277" + }, + "value": "support@contoso.com" + } + } + } + ] + } + } + } + ] + }, + "nextLink": { + "$id": "500", + "kind": "string", + "type": { + "$ref": "297" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "501", + "name": "get", + "resourceName": "Api", + "doc": "Get an API.", + "accessibility": "public", + "parameters": [ + { + "$id": "502", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "503", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "504", + "type": { + "$id": "505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "506", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "507", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "508", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "510", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "511", + "kind": "constant", + "valueType": { + "$id": "512", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "513", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "201" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.get", + "decorators": [], + "examples": [ + { + "$id": "514", + "kind": "http", + "name": "Apis_Get", + "description": "Apis_Get", + "filePath": "2024-02-01-preview/Apis_Get.json", + "parameters": [ + { + "$id": "515", + "parameter": { + "$ref": "502" + }, + "value": { + "$id": "516", + "kind": "string", + "type": { + "$ref": "503" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "517", + "parameter": { + "$ref": "506" + }, + "value": { + "$id": "518", + "kind": "string", + "type": { + "$ref": "507" + }, + "value": "default" + } + }, + { + "$id": "519", + "parameter": { + "$ref": "508" + }, + "value": { + "$id": "520", + "kind": "string", + "type": { + "$ref": "509" + }, + "value": "echo-api" + } + } + ], + "responses": [ + { + "$id": "521", + "response": { + "$ref": "513" + }, + "statusCode": 200, + "bodyValue": { + "$id": "522", + "kind": "model", + "type": { + "$ref": "201" + }, + "value": { + "$id": "523", + "name": { + "$id": "524", + "kind": "string", + "type": { + "$ref": "203" + }, + "value": "echo-api" + }, + "title": { + "$id": "525", + "kind": "string", + "type": { + "$ref": "207" + }, + "value": "Echo API" + }, + "kind": { + "$id": "526", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "rest" + }, + "lastUpdated": { + "$id": "527", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "2023-12-18T18:49:11.878Z" + }, + "description": { + "$id": "528", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "A simple HTTP request/response service." + }, + "lifecycleStage": { + "$id": "529", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "design" + }, + "termsOfService": { + "$id": "530", + "kind": "model", + "type": { + "$ref": "225" + }, + "value": { + "$id": "531", + "url": { + "$id": "532", + "kind": "string", + "type": { + "$ref": "227" + }, + "value": "https://contoso.com/terms-of-service" + } + } + }, + "license": { + "$id": "533", + "kind": "model", + "type": { + "$ref": "233" + }, + "value": { + "$id": "534", + "name": { + "$id": "535", + "kind": "string", + "type": { + "$ref": "235" + }, + "value": "default" + }, + "url": { + "$id": "536", + "kind": "string", + "type": { + "$ref": "239" + }, + "value": "https://contoso.com/license" + } + } + }, + "externalDocumentation": { + "$id": "537", + "kind": "array", + "type": { + "$ref": "249" + }, + "value": [ + { + "$id": "538", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "539", + "title": { + "$id": "540", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Onboarding docs" + }, + "description": { + "$id": "541", + "kind": "string", + "type": { + "$ref": "256" + }, + "value": "Learn how to onboard to the Echo API." + }, + "url": { + "$id": "542", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "https://docs.contoso.com" + } + } + } + ] + }, + "contacts": { + "$id": "543", + "kind": "array", + "type": { + "$ref": "266" + }, + "value": [ + { + "$id": "544", + "kind": "model", + "type": { + "$ref": "267" + }, + "value": { + "$id": "545", + "name": { + "$id": "546", + "kind": "string", + "type": { + "$ref": "269" + }, + "value": "Contoso support" + }, + "url": { + "$id": "547", + "kind": "string", + "type": { + "$ref": "273" + }, + "value": "https://support.contoso.com" + }, + "email": { + "$id": "548", + "kind": "string", + "type": { + "$ref": "277" + }, + "value": "support@contoso.com" + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "DataApiClient", + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis" + }, + { + "$id": "549", + "name": "ApiDefinitions", + "namespace": "azure.ApiCenter", + "operations": [ + { + "$id": "550", + "name": "listDefinitions", + "resourceName": "ApiDefinition", + "doc": "List a collection of API definitions.", + "accessibility": "public", + "parameters": [ + { + "$id": "551", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "553", + "type": { + "$id": "554", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "555", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "556", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "557", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "558", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "559", + "name": "versionName", + "nameInRequest": "versionName", + "doc": "Version identifier.", + "type": { + "$id": "560", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "561", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "562", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "563", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "564", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "565", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "566", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "567", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "568", + "kind": "constant", + "valueType": { + "$id": "569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "570", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "311" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions", + "bufferResponse": true, + "paging": { + "$id": "571", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "572", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.listDefinitions", + "decorators": [], + "examples": [ + { + "$id": "573", + "kind": "http", + "name": "ApiDefinitions_ListDefinitions", + "description": "ApiDefinitions_ListDefinitions", + "filePath": "2024-02-01-preview/ApiDefinitions_ListDefinitions.json", + "parameters": [ + { + "$id": "574", + "parameter": { + "$ref": "551" + }, + "value": { + "$id": "575", + "kind": "string", + "type": { + "$ref": "552" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "576", + "parameter": { + "$ref": "555" + }, + "value": { + "$id": "577", + "kind": "string", + "type": { + "$ref": "556" + }, + "value": "default" + } + }, + { + "$id": "578", + "parameter": { + "$ref": "557" + }, + "value": { + "$id": "579", + "kind": "string", + "type": { + "$ref": "558" + }, + "value": "echo-api" + } + }, + { + "$id": "580", + "parameter": { + "$ref": "559" + }, + "value": { + "$id": "581", + "kind": "string", + "type": { + "$ref": "560" + }, + "value": "2023-01-01" + } + } + ], + "responses": [ + { + "$id": "582", + "response": { + "$ref": "570" + }, + "statusCode": 200, + "bodyValue": { + "$id": "583", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "$id": "584", + "value": { + "$id": "585", + "kind": "array", + "type": { + "$ref": "313" + }, + "value": [ + { + "$id": "586", + "kind": "model", + "type": { + "$ref": "164" + }, + "value": { + "$id": "587", + "name": { + "$id": "588", + "kind": "string", + "type": { + "$ref": "166" + }, + "value": "default" + }, + "title": { + "$id": "589", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "Default" + }, + "specification": { + "$id": "590", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "$id": "591", + "name": { + "$id": "592", + "kind": "string", + "type": { + "$ref": "180" + }, + "value": "openapi" + }, + "version": { + "$id": "593", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "3.0.1" + } + } + }, + "description": { + "$id": "594", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "Default API definition." + } + } + } + ] + }, + "nextLink": { + "$id": "595", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "https://..." + } + } + } + } + ] + } + ] + }, + { + "$id": "596", + "name": "getDefinition", + "resourceName": "ApiDefinition", + "doc": "Get an API definition.", + "accessibility": "public", + "parameters": [ + { + "$id": "597", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "599", + "type": { + "$id": "600", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "601", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "603", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "605", + "name": "versionName", + "nameInRequest": "versionName", + "doc": "Version identifier.", + "type": { + "$id": "606", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "607", + "name": "definitionName", + "nameInRequest": "definitionName", + "doc": "Definition identifier.", + "type": { + "$id": "608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "609", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "610", + "kind": "constant", + "valueType": { + "$id": "611", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "612", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "164" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getDefinition", + "decorators": [], + "examples": [ + { + "$id": "613", + "kind": "http", + "name": "ApiDefinitions_GetDefinition", + "description": "ApiDefinitions_GetDefinition", + "filePath": "2024-02-01-preview/ApiDefinitions_GetDefinition.json", + "parameters": [ + { + "$id": "614", + "parameter": { + "$ref": "597" + }, + "value": { + "$id": "615", + "kind": "string", + "type": { + "$ref": "598" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "616", + "parameter": { + "$ref": "601" + }, + "value": { + "$id": "617", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "default" + } + }, + { + "$id": "618", + "parameter": { + "$ref": "603" + }, + "value": { + "$id": "619", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "echo-api" + } + }, + { + "$id": "620", + "parameter": { + "$ref": "605" + }, + "value": { + "$id": "621", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "2023-01-01" + } + }, + { + "$id": "622", + "parameter": { + "$ref": "607" + }, + "value": { + "$id": "623", + "kind": "string", + "type": { + "$ref": "608" + }, + "value": "default" + } + } + ], + "responses": [ + { + "$id": "624", + "response": { + "$ref": "612" + }, + "statusCode": 200, + "bodyValue": { + "$id": "625", + "kind": "model", + "type": { + "$ref": "164" + }, + "value": { + "$id": "626", + "name": { + "$id": "627", + "kind": "string", + "type": { + "$ref": "166" + }, + "value": "default" + }, + "title": { + "$id": "628", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "Default" + }, + "specification": { + "$id": "629", + "kind": "model", + "type": { + "$ref": "178" + }, + "value": { + "$id": "630", + "name": { + "$id": "631", + "kind": "string", + "type": { + "$ref": "180" + }, + "value": "openapi" + }, + "version": { + "$id": "632", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "3.0.1" + } + } + }, + "description": { + "$id": "633", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "Default API definition." + } + } + } + } + ] + } + ] + }, + { + "$id": "634", + "name": "getExportSpecificationOperationStatus", + "resourceName": "ResourceOperationStatus", + "doc": "Gets status of a an API specification export operation.", + "accessibility": "public", + "parameters": [ + { + "$id": "635", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "636", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "637", + "type": { + "$id": "638", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "639", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "640", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "641", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "642", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "643", + "name": "versionName", + "nameInRequest": "versionName", + "doc": "Version identifier.", + "type": { + "$id": "644", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "645", + "name": "definitionName", + "nameInRequest": "definitionName", + "doc": "API definition identifier.", + "type": { + "$id": "646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "647", + "name": "operationId", + "nameInRequest": "operationId", + "doc": "The unique ID of the operation.", + "type": { + "$id": "648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "649", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "650", + "kind": "constant", + "valueType": { + "$id": "651", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "652", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "321" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/operations/{operationId}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getExportSpecificationOperationStatus", + "decorators": [], + "examples": [ + { + "$id": "653", + "kind": "http", + "name": "ApiDefinitions_GetExportSpecificationOperationStatus", + "description": "ApiDefinitions_GetExportSpecificationOperationStatus", + "filePath": "2024-02-01-preview/ApiDefinitions_GetExportSpecificationOperationStatus.json", + "parameters": [ + { + "$id": "654", + "parameter": { + "$ref": "635" + }, + "value": { + "$id": "655", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "656", + "parameter": { + "$ref": "639" + }, + "value": { + "$id": "657", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "default" + } + }, + { + "$id": "658", + "parameter": { + "$ref": "641" + }, + "value": { + "$id": "659", + "kind": "string", + "type": { + "$ref": "642" + }, + "value": "echo-api" + } + }, + { + "$id": "660", + "parameter": { + "$ref": "643" + }, + "value": { + "$id": "661", + "kind": "string", + "type": { + "$ref": "644" + }, + "value": "2023-01-01" + } + }, + { + "$id": "662", + "parameter": { + "$ref": "645" + }, + "value": { + "$id": "663", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "default" + } + }, + { + "$id": "664", + "parameter": { + "$ref": "647" + }, + "value": { + "$id": "665", + "kind": "string", + "type": { + "$ref": "648" + }, + "value": "00000000-0000-0000-0000-000000000001" + } + } + ], + "responses": [ + { + "$id": "666", + "response": { + "$ref": "652" + }, + "statusCode": 200, + "bodyValue": { + "$id": "667", + "kind": "model", + "type": { + "$ref": "321" + }, + "value": { + "$id": "668", + "status": { + "$id": "669", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "Succeeded" + }, + "result": { + "$id": "670", + "kind": "model", + "type": { + "$ref": "189" + }, + "value": { + "$id": "671", + "value": { + "$id": "672", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "{ ... }" + }, + "format": { + "$id": "673", + "kind": "string", + "type": { + "$ref": "28" + }, + "value": "link" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "674", + "name": "exportSpecification", + "resourceName": "ApiDefinitions", + "doc": "Export an API specification asynchronously.", + "accessibility": "public", + "parameters": [ + { + "$id": "675", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "677", + "type": { + "$id": "678", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "679", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "680", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "681", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "682", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "683", + "name": "versionName", + "nameInRequest": "versionName", + "doc": "Version identifier.", + "type": { + "$id": "684", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "685", + "name": "definitionName", + "nameInRequest": "definitionName", + "doc": "API definition identifier.", + "type": { + "$id": "686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "687", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "688", + "kind": "constant", + "valueType": { + "$id": "689", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "690", + "statusCodes": [ + 202 + ], + "bodyType": { + "$ref": "321" + }, + "headers": [ + { + "$id": "691", + "name": "operationLocation", + "nameInResponse": "Operation-Location", + "doc": "The location for monitoring the operation state.", + "type": { + "$id": "692", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "693", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}:exportSpecification", + "bufferResponse": true, + "longRunning": { + "$id": "694", + "finalStateVia": 3, + "finalResponse": { + "$id": "695", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "321" + } + }, + "resultPath": "result" + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.exportSpecification", + "decorators": [], + "examples": [ + { + "$id": "696", + "kind": "http", + "name": "ApiDefinitions_ExportSpecification", + "description": "ApiDefinitions_ExportSpecification", + "filePath": "2024-02-01-preview/ApiDefinitions_ExportSpecification.json", + "parameters": [ + { + "$id": "697", + "parameter": { + "$ref": "675" + }, + "value": { + "$id": "698", + "kind": "string", + "type": { + "$ref": "676" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "699", + "parameter": { + "$ref": "679" + }, + "value": { + "$id": "700", + "kind": "string", + "type": { + "$ref": "680" + }, + "value": "default" + } + }, + { + "$id": "701", + "parameter": { + "$ref": "681" + }, + "value": { + "$id": "702", + "kind": "string", + "type": { + "$ref": "682" + }, + "value": "echo-api" + } + }, + { + "$id": "703", + "parameter": { + "$ref": "683" + }, + "value": { + "$id": "704", + "kind": "string", + "type": { + "$ref": "684" + }, + "value": "2023-01-01" + } + }, + { + "$id": "705", + "parameter": { + "$ref": "685" + }, + "value": { + "$id": "706", + "kind": "string", + "type": { + "$ref": "686" + }, + "value": "default" + } + } + ], + "responses": [ + { + "$id": "707", + "response": { + "$ref": "690" + }, + "statusCode": 202, + "bodyValue": { + "$id": "708", + "kind": "model", + "type": { + "$ref": "321" + }, + "value": { + "$id": "709", + "status": { + "$id": "710", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "Succeeded" + }, + "result": { + "$id": "711", + "kind": "model", + "type": { + "$ref": "189" + }, + "value": { + "$id": "712", + "value": { + "$id": "713", + "kind": "string", + "type": { + "$ref": "195" + }, + "value": "{ ... }" + }, + "format": { + "$id": "714", + "kind": "string", + "type": { + "$ref": "28" + }, + "value": "link" + } + } + } + } + } + } + ] + } + ] + } + ], + "parent": "DataApiClient", + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions" + }, + { + "$id": "715", + "name": "ApiDeployments", + "namespace": "azure.ApiCenter", + "operations": [ + { + "$id": "716", + "name": "listDeployments", + "resourceName": "ApiDeployment", + "doc": "List a collection of API deployments.", + "accessibility": "public", + "parameters": [ + { + "$id": "717", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "718", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "719", + "type": { + "$id": "720", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "721", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "722", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "723", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "724", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "725", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "726", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "727", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "728", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "729", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "730", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "731", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "732", + "kind": "constant", + "valueType": { + "$id": "733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "734", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "363" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/deployments", + "bufferResponse": true, + "paging": { + "$id": "735", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "736", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.listDeployments", + "decorators": [], + "examples": [ + { + "$id": "737", + "kind": "http", + "name": "ApiDeployments_ListDeployments", + "description": "ApiDeployments_ListDeployments", + "filePath": "2024-02-01-preview/ApiDeployments_ListDeployments.json", + "parameters": [ + { + "$id": "738", + "parameter": { + "$ref": "717" + }, + "value": { + "$id": "739", + "kind": "string", + "type": { + "$ref": "718" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "740", + "parameter": { + "$ref": "721" + }, + "value": { + "$id": "741", + "kind": "string", + "type": { + "$ref": "722" + }, + "value": "default" + } + }, + { + "$id": "742", + "parameter": { + "$ref": "723" + }, + "value": { + "$id": "743", + "kind": "string", + "type": { + "$ref": "724" + }, + "value": "echo-api" + } + } + ], + "responses": [ + { + "$id": "744", + "response": { + "$ref": "734" + }, + "statusCode": 200, + "bodyValue": { + "$id": "745", + "kind": "model", + "type": { + "$ref": "363" + }, + "value": { + "$id": "746", + "value": { + "$id": "747", + "kind": "array", + "type": { + "$ref": "365" + }, + "value": [ + { + "$id": "748", + "kind": "model", + "type": { + "$ref": "130" + }, + "value": { + "$id": "749", + "name": { + "$id": "750", + "kind": "string", + "type": { + "$ref": "132" + }, + "value": "production" + }, + "title": { + "$id": "751", + "kind": "string", + "type": { + "$ref": "136" + }, + "value": "Production" + }, + "description": { + "$id": "752", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "Production deployment (Public Cloud)" + }, + "environment": { + "$id": "753", + "kind": "string", + "type": { + "$ref": "144" + }, + "value": "public" + }, + "server": { + "$id": "754", + "kind": "model", + "type": { + "$ref": "148" + }, + "value": { + "$id": "755", + "runtimeUris": { + "$id": "756", + "kind": "array", + "type": { + "$ref": "150" + }, + "value": [ + { + "$id": "757", + "kind": "string", + "type": { + "$ref": "151" + }, + "value": "https://contoso.azure-api.net" + } + ] + } + } + }, + "recommended": { + "$id": "758", + "kind": "boolean", + "type": { + "$ref": "161" + }, + "value": true + } + } + } + ] + }, + "nextLink": { + "$id": "759", + "kind": "string", + "type": { + "$ref": "369" + }, + "value": "https://microsoft.com/aiofpisa" + } + } + } + } + ] + } + ] + }, + { + "$id": "760", + "name": "getDeployment", + "resourceName": "ApiDeployment", + "doc": "Get an API deployment.", + "accessibility": "public", + "parameters": [ + { + "$id": "761", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "762", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "763", + "type": { + "$id": "764", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "765", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "766", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "767", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "769", + "name": "deploymentName", + "nameInRequest": "deploymentName", + "doc": "Deployment identifier.", + "type": { + "$id": "770", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "771", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "772", + "kind": "constant", + "valueType": { + "$id": "773", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "774", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "130" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.getDeployment", + "decorators": [], + "examples": [ + { + "$id": "775", + "kind": "http", + "name": "ApiDeployments_GetDeployment", + "description": "ApiDeployments_GetDeployment", + "filePath": "2024-02-01-preview/ApiDeployments_GetDeployment.json", + "parameters": [ + { + "$id": "776", + "parameter": { + "$ref": "761" + }, + "value": { + "$id": "777", + "kind": "string", + "type": { + "$ref": "762" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "778", + "parameter": { + "$ref": "765" + }, + "value": { + "$id": "779", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "eeoezynpqqgtykbukjcelrwvomtccvbjwntxfqh" + } + }, + { + "$id": "780", + "parameter": { + "$ref": "767" + }, + "value": { + "$id": "781", + "kind": "string", + "type": { + "$ref": "768" + }, + "value": "lauuo" + } + }, + { + "$id": "782", + "parameter": { + "$ref": "769" + }, + "value": { + "$id": "783", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "ffc" + } + } + ], + "responses": [ + { + "$id": "784", + "response": { + "$ref": "774" + }, + "statusCode": 200, + "bodyValue": { + "$id": "785", + "kind": "model", + "type": { + "$ref": "130" + }, + "value": { + "$id": "786", + "name": { + "$id": "787", + "kind": "string", + "type": { + "$ref": "132" + }, + "value": "production" + }, + "title": { + "$id": "788", + "kind": "string", + "type": { + "$ref": "136" + }, + "value": "Production" + }, + "description": { + "$id": "789", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "Production deployment (Public Cloud)" + }, + "environment": { + "$id": "790", + "kind": "string", + "type": { + "$ref": "144" + }, + "value": "public" + }, + "server": { + "$id": "791", + "kind": "model", + "type": { + "$ref": "148" + }, + "value": { + "$id": "792", + "runtimeUris": { + "$id": "793", + "kind": "array", + "type": { + "$ref": "150" + }, + "value": [ + { + "$id": "794", + "kind": "string", + "type": { + "$ref": "151" + }, + "value": "https://contoso.azure-api.net" + } + ] + } + } + }, + "recommended": { + "$id": "795", + "kind": "boolean", + "type": { + "$ref": "161" + }, + "value": true + } + } + } + } + ] + } + ] + } + ], + "parent": "DataApiClient", + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments" + }, + { + "$id": "796", + "name": "Environments", + "namespace": "azure.ApiCenter", + "operations": [ + { + "$id": "797", + "name": "list", + "resourceName": "Environment", + "doc": "List a collection of environments.", + "accessibility": "public", + "parameters": [ + { + "$id": "798", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "799", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "800", + "type": { + "$id": "801", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "802", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "803", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "804", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "805", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "806", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "807", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "808", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "809", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "810", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "811", + "kind": "constant", + "valueType": { + "$id": "812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "813", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "373" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/environments", + "bufferResponse": true, + "paging": { + "$id": "814", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "815", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.list", + "decorators": [], + "examples": [ + { + "$id": "816", + "kind": "http", + "name": "Environments_List", + "description": "Environments_List", + "filePath": "2024-02-01-preview/Environments_List.json", + "parameters": [ + { + "$id": "817", + "parameter": { + "$ref": "798" + }, + "value": { + "$id": "818", + "kind": "string", + "type": { + "$ref": "799" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "819", + "parameter": { + "$ref": "802" + }, + "value": { + "$id": "820", + "kind": "string", + "type": { + "$ref": "803" + }, + "value": "default" + } + } + ], + "responses": [ + { + "$id": "821", + "response": { + "$ref": "813" + }, + "statusCode": 200, + "bodyValue": { + "$id": "822", + "kind": "model", + "type": { + "$ref": "373" + }, + "value": { + "$id": "823", + "value": { + "$id": "824", + "kind": "array", + "type": { + "$ref": "375" + }, + "value": [ + { + "$id": "825", + "kind": "model", + "type": { + "$ref": "74" + }, + "value": { + "$id": "826", + "name": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "public" + }, + "title": { + "$id": "828", + "kind": "string", + "type": { + "$ref": "80" + }, + "value": "Public" + }, + "description": { + "$id": "829", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "Public Cloud environment." + }, + "kind": { + "$id": "830", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "production" + }, + "server": { + "$id": "831", + "kind": "model", + "type": { + "$ref": "91" + }, + "value": { + "$id": "832", + "type": { + "$id": "833", + "kind": "string", + "type": { + "$ref": "93" + }, + "value": "Azure API Management" + }, + "managementPortalUris": { + "$id": "834", + "kind": "array", + "type": { + "$ref": "97" + }, + "value": [ + { + "$id": "835", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "https://portal.azure.com" + } + ] + } + } + }, + "onboarding": { + "$id": "836", + "kind": "model", + "type": { + "$ref": "104" + }, + "value": { + "$id": "837", + "instructions": { + "$id": "838", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "https://aka.ms/apim-devportal" + }, + "developerPortalUris": { + "$id": "839", + "kind": "array", + "type": { + "$ref": "110" + }, + "value": [ + { + "$id": "840", + "kind": "string", + "type": { + "$ref": "111" + }, + "value": "https://contoso.developer.azure-api.net" + } + ] + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "841", + "kind": "string", + "type": { + "$ref": "379" + }, + "value": "https://..." + } + } + } + } + ] + } + ] + }, + { + "$id": "842", + "name": "listAll", + "resourceName": "Environments", + "doc": "List a collection of environments across workspaces.", + "accessibility": "public", + "parameters": [ + { + "$id": "843", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "844", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "845", + "type": { + "$id": "846", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "847", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "848", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "849", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "850", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "851", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "852", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "853", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "854", + "kind": "constant", + "valueType": { + "$id": "855", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "856", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "120" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/environments", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.listAll", + "decorators": [], + "examples": [ + { + "$id": "857", + "kind": "http", + "name": "Environments_ListAll", + "description": "Environments_ListAll", + "filePath": "2024-02-01-preview/Environments_ListAll.json", + "parameters": [ + { + "$id": "858", + "parameter": { + "$ref": "843" + }, + "value": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "844" + }, + "value": "2024-02-01-preview" + } + } + ], + "responses": [ + { + "$id": "860", + "response": { + "$ref": "856" + }, + "statusCode": 200, + "bodyValue": { + "$id": "861", + "kind": "model", + "type": { + "$ref": "120" + }, + "value": { + "$id": "862", + "value": { + "$id": "863", + "kind": "array", + "type": { + "$ref": "122" + }, + "value": [ + { + "$id": "864", + "kind": "model", + "type": { + "$ref": "74" + }, + "value": { + "$id": "865", + "name": { + "$id": "866", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "public" + }, + "title": { + "$id": "867", + "kind": "string", + "type": { + "$ref": "80" + }, + "value": "Public" + }, + "description": { + "$id": "868", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "Public Cloud environment." + }, + "kind": { + "$id": "869", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "production" + }, + "server": { + "$id": "870", + "kind": "model", + "type": { + "$ref": "91" + }, + "value": { + "$id": "871", + "type": { + "$id": "872", + "kind": "string", + "type": { + "$ref": "93" + }, + "value": "Azure API Management" + }, + "managementPortalUris": { + "$id": "873", + "kind": "array", + "type": { + "$ref": "97" + }, + "value": [ + { + "$id": "874", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "https://portal.azure.com" + } + ] + } + } + }, + "onboarding": { + "$id": "875", + "kind": "model", + "type": { + "$ref": "104" + }, + "value": { + "$id": "876", + "instructions": { + "$id": "877", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "https://aka.ms/apim-devportal" + }, + "developerPortalUris": { + "$id": "878", + "kind": "array", + "type": { + "$ref": "110" + }, + "value": [ + { + "$id": "879", + "kind": "string", + "type": { + "$ref": "111" + }, + "value": "https://contoso.developer.azure-api.net" + } + ] + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "880", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "https://..." + } + } + } + } + ] + } + ] + }, + { + "$id": "881", + "name": "get", + "resourceName": "Environment", + "doc": "Get an environment.", + "accessibility": "public", + "parameters": [ + { + "$id": "882", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "883", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "884", + "type": { + "$id": "885", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "886", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "887", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "888", + "name": "environmentName", + "nameInRequest": "environmentName", + "doc": "Environment identifier.", + "type": { + "$id": "889", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "890", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "891", + "kind": "constant", + "valueType": { + "$id": "892", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "893", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "74" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/environments/{environmentName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.get", + "decorators": [], + "examples": [ + { + "$id": "894", + "kind": "http", + "name": "Environments_Get", + "description": "Environments_Get", + "filePath": "2024-02-01-preview/Environments_Get.json", + "parameters": [ + { + "$id": "895", + "parameter": { + "$ref": "882" + }, + "value": { + "$id": "896", + "kind": "string", + "type": { + "$ref": "883" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "897", + "parameter": { + "$ref": "886" + }, + "value": { + "$id": "898", + "kind": "string", + "type": { + "$ref": "887" + }, + "value": "default" + } + }, + { + "$id": "899", + "parameter": { + "$ref": "888" + }, + "value": { + "$id": "900", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "production" + } + } + ], + "responses": [ + { + "$id": "901", + "response": { + "$ref": "893" + }, + "statusCode": 200, + "bodyValue": { + "$id": "902", + "kind": "model", + "type": { + "$ref": "74" + }, + "value": { + "$id": "903", + "name": { + "$id": "904", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "public" + }, + "title": { + "$id": "905", + "kind": "string", + "type": { + "$ref": "80" + }, + "value": "Public" + }, + "description": { + "$id": "906", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "Public Cloud environment." + }, + "kind": { + "$id": "907", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "production" + }, + "server": { + "$id": "908", + "kind": "model", + "type": { + "$ref": "91" + }, + "value": { + "$id": "909", + "type": { + "$id": "910", + "kind": "string", + "type": { + "$ref": "93" + }, + "value": "Azure API Management" + }, + "managementPortalUris": { + "$id": "911", + "kind": "array", + "type": { + "$ref": "97" + }, + "value": [ + { + "$id": "912", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "https://portal.azure.com" + } + ] + } + } + }, + "onboarding": { + "$id": "913", + "kind": "model", + "type": { + "$ref": "104" + }, + "value": { + "$id": "914", + "instructions": { + "$id": "915", + "kind": "string", + "type": { + "$ref": "106" + }, + "value": "https://aka.ms/apim-devportal" + }, + "developerPortalUris": { + "$id": "916", + "kind": "array", + "type": { + "$ref": "110" + }, + "value": [ + { + "$id": "917", + "kind": "string", + "type": { + "$ref": "111" + }, + "value": "https://contoso.developer.azure-api.net" + } + ] + } + } + } + } + } + } + ] + } + ] + } + ], + "parent": "DataApiClient", + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments" + }, + { + "$id": "918", + "name": "ApiVersions", + "namespace": "azure.ApiCenter", + "operations": [ + { + "$id": "919", + "name": "listVersions", + "resourceName": "ApiVersion", + "doc": "List a collection of API versions.", + "accessibility": "public", + "parameters": [ + { + "$id": "920", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "921", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "922", + "type": { + "$id": "923", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "924", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "925", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "926", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "927", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "928", + "name": "top", + "nameInRequest": "top", + "doc": "The number of result items to return.", + "type": { + "$id": "929", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "930", + "name": "skip", + "nameInRequest": "skip", + "doc": "The number of result items to skip.", + "type": { + "$id": "931", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "932", + "name": "maxpagesize", + "nameInRequest": "maxpagesize", + "doc": "The maximum number of result items per page.", + "type": { + "$id": "933", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "934", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "935", + "kind": "constant", + "valueType": { + "$id": "936", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "937", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "383" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions", + "bufferResponse": true, + "paging": { + "$id": "938", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "939", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.listVersions", + "decorators": [], + "examples": [ + { + "$id": "940", + "kind": "http", + "name": "ApiVersions_ListVersions", + "description": "ApiVersions_ListVersions", + "filePath": "2024-02-01-preview/ApiVersions_ListVersions.json", + "parameters": [ + { + "$id": "941", + "parameter": { + "$ref": "920" + }, + "value": { + "$id": "942", + "kind": "string", + "type": { + "$ref": "921" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "943", + "parameter": { + "$ref": "924" + }, + "value": { + "$id": "944", + "kind": "string", + "type": { + "$ref": "925" + }, + "value": "default" + } + }, + { + "$id": "945", + "parameter": { + "$ref": "926" + }, + "value": { + "$id": "946", + "kind": "string", + "type": { + "$ref": "927" + }, + "value": "echo-api" + } + } + ], + "responses": [ + { + "$id": "947", + "response": { + "$ref": "937" + }, + "statusCode": 200, + "bodyValue": { + "$id": "948", + "kind": "model", + "type": { + "$ref": "383" + }, + "value": { + "$id": "949", + "value": { + "$id": "950", + "kind": "array", + "type": { + "$ref": "385" + }, + "value": [ + { + "$id": "951", + "kind": "model", + "type": { + "$ref": "62" + }, + "value": { + "$id": "952", + "name": { + "$id": "953", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "2023-01-01" + }, + "title": { + "$id": "954", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "2023-01-01" + }, + "lifecycleStage": { + "$id": "955", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "design" + } + } + } + ] + }, + "nextLink": { + "$id": "956", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "https://..." + } + } + } + } + ] + } + ] + }, + { + "$id": "957", + "name": "getVersion", + "resourceName": "ApiVersion", + "doc": "Get an API version.", + "accessibility": "public", + "parameters": [ + { + "$id": "958", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "959", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "960", + "type": { + "$id": "961", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-02-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "962", + "name": "workspaceName", + "nameInRequest": "workspaceName", + "doc": "Workspace identifier.", + "type": { + "$id": "963", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "964", + "name": "apiName", + "nameInRequest": "apiName", + "doc": "Api identifier.", + "type": { + "$id": "965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "966", + "name": "versionName", + "nameInRequest": "versionName", + "doc": "Version identifier.", + "type": { + "$id": "967", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "968", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "969", + "kind": "constant", + "valueType": { + "$id": "970", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "971", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "62" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms", + "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.getVersion", + "decorators": [], + "examples": [ + { + "$id": "972", + "kind": "http", + "name": "ApiVersions_GetVersion", + "description": "ApiVersions_GetVersion", + "filePath": "2024-02-01-preview/ApiVersions_GetVersion.json", + "parameters": [ + { + "$id": "973", + "parameter": { + "$ref": "958" + }, + "value": { + "$id": "974", + "kind": "string", + "type": { + "$ref": "959" + }, + "value": "2024-02-01-preview" + } + }, + { + "$id": "975", + "parameter": { + "$ref": "962" + }, + "value": { + "$id": "976", + "kind": "string", + "type": { + "$ref": "963" + }, + "value": "default" + } + }, + { + "$id": "977", + "parameter": { + "$ref": "964" + }, + "value": { + "$id": "978", + "kind": "string", + "type": { + "$ref": "965" + }, + "value": "echo-api" + } + }, + { + "$id": "979", + "parameter": { + "$ref": "966" + }, + "value": { + "$id": "980", + "kind": "string", + "type": { + "$ref": "967" + }, + "value": "2023-01-01" + } + } + ], + "responses": [ + { + "$id": "981", + "response": { + "$ref": "971" + }, + "statusCode": 200, + "bodyValue": { + "$id": "982", + "kind": "model", + "type": { + "$ref": "62" + }, + "value": { + "$id": "983", + "name": { + "$id": "984", + "kind": "string", + "type": { + "$ref": "64" + }, + "value": "2023-01-01" + }, + "title": { + "$id": "985", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "2023-01-01" + }, + "lifecycleStage": { + "$id": "986", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "design" + } + } + } + } + ] + } + ] + } + ], + "parent": "DataApiClient", + "parameters": [], + "decorators": [], + "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions" + } + ], + "auth": { + "$id": "987", + "oAuth2": { + "$id": "988", + "scopes": [ + "https://azure-apicenter.net/user_impersonation" + ] + } + } +} diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json new file mode 100644 index 000000000000..ede625681568 --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json @@ -0,0 +1,12 @@ +{ + "output-folder": ".", + "namespace": "Azure.Data.AppConfiguration", + "library-name": "Azure.Data.AppConfiguration", + "flavor": "azure", + "use-model-reader-writer": true, + "shared-source-folders": [ + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared", + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared" + ], + "model-namespace": false +} diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md deleted file mode 100644 index af1f2ccf84c9..000000000000 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md +++ /dev/null @@ -1,55 +0,0 @@ -# Azure SDK Code Generation for Data Plane - -Run `dotnet build /t:GenerateCode` to generate code. - -### AutoRest Configuration -> see https://aka.ms/autorest -``` yaml -input-file: -- https://github.com/Azure/azure-rest-api-specs/blob/c1af3ab8e803da2f40fc90217a6d023bc13b677f/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json -namespace: Azure.Data.AppConfiguration -title: ConfigurationClient -``` - -### Change Endpoint type to Uri -``` yaml -directive: - from: swagger-document - where: $.parameters.Endpoint - transform: $.format = "url" - ``` - -### Modify operation names -``` yaml -directive: -- rename-operation: - from: PutKeyValue - to: SetConfigurationSetting -- rename-operation: - from: DeleteKeyValue - to: DeleteConfigurationSetting -- rename-operation: - from: GetKeyValue - to: GetConfigurationSetting -- rename-operation: - from: GetKeyValues - to: GetConfigurationSettings -- rename-operation: - from: PutLock - to: CreateReadOnlyLock -- rename-operation: - from: DeleteLock - to: DeleteReadOnlyLock -- rename-operation: - from: UpdateSnapshot - to: UpdateSnapshotStatus -``` - -### Internalize protocol methods -``` yaml -directive: - from: swagger-document - where: $.paths.*.* - transform: > - $["x-accessibility"] = "internal" -``` diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml new file mode 100644 index 000000000000..5b2411fe27e1 --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/appconfiguration/AppConfiguration +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json new file mode 100644 index 000000000000..fb609091212b --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json @@ -0,0 +1,13271 @@ +{ + "$id": "1", + "name": "AzureAppConfiguration", + "apiVersions": [ + "2023-11-01" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "GetKeysResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys.ResponseContentType.anonymous", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.keyset+json", + "value": "application/vnd.microsoft.appconfig.keyset+json", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "8", + "kind": "enum", + "name": "KeyValueFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFields", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "10", + "kind": "enumvalue", + "name": "key", + "value": "key", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Key field.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "label", + "value": "label", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Label field.", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "content_type", + "value": "content_type", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Content type field.", + "decorators": [] + }, + { + "$id": "16", + "kind": "enumvalue", + "name": "value", + "value": "value", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Value field.", + "decorators": [] + }, + { + "$id": "18", + "kind": "enumvalue", + "name": "last_modified", + "value": "last_modified", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Last modified field.", + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "tags", + "value": "tags", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Tags field.", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "locked", + "value": "locked", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Locked field.", + "decorators": [] + }, + { + "$id": "24", + "kind": "enumvalue", + "name": "etag", + "value": "etag", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "8" + }, + "doc": "Etag field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Key-value fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "26", + "kind": "enum", + "name": "GetKeyValuesResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues.ResponseContentType.anonymous", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "28", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kvset+json", + "value": "application/vnd.microsoft.appconfig.kvset+json", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "26" + }, + "decorators": [] + }, + { + "$id": "30", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "26" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "32", + "kind": "enum", + "name": "GetKeyValueResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue.ResponseContentType.anonymous", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "34", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kv+json", + "value": "application/vnd.microsoft.appconfig.kv+json", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "38", + "kind": "enum", + "name": "PutKeyValueRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue.RequestContentType.anonymous", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "40", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kv+json", + "value": "application/vnd.microsoft.appconfig.kv+json", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kvset+json", + "value": "application/vnd.microsoft.appconfig.kvset+json", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "44", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "46", + "kind": "enumvalue", + "name": "text/json", + "value": "text/json", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "application/*+json", + "value": "application/*+json", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "application/json-patch+json", + "value": "application/json-patch+json", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "52", + "kind": "enum", + "name": "SnapshotFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotFields", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "54", + "kind": "enumvalue", + "name": "name", + "value": "name", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Name field.", + "decorators": [] + }, + { + "$id": "56", + "kind": "enumvalue", + "name": "status", + "value": "status", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Status field.", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "filters", + "value": "filters", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Filters field.", + "decorators": [] + }, + { + "$id": "60", + "kind": "enumvalue", + "name": "composition_type", + "value": "composition_type", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Composition type field.", + "decorators": [] + }, + { + "$id": "62", + "kind": "enumvalue", + "name": "created", + "value": "created", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Created field.", + "decorators": [] + }, + { + "$id": "64", + "kind": "enumvalue", + "name": "expires", + "value": "expires", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Expires field.", + "decorators": [] + }, + { + "$id": "66", + "kind": "enumvalue", + "name": "retention_period", + "value": "retention_period", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Retention period field.", + "decorators": [] + }, + { + "$id": "68", + "kind": "enumvalue", + "name": "size", + "value": "size", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Size field.", + "decorators": [] + }, + { + "$id": "70", + "kind": "enumvalue", + "name": "items_count", + "value": "items_count", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Items count field.", + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "tags", + "value": "tags", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Tags field.", + "decorators": [] + }, + { + "$id": "74", + "kind": "enumvalue", + "name": "etag", + "value": "etag", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Etag field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Snapshot fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "76", + "kind": "enum", + "name": "SnapshotStatus", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotStatus", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "78", + "kind": "enumvalue", + "name": "provisioning", + "value": "provisioning", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "76" + }, + "doc": "Provisioning", + "decorators": [] + }, + { + "$id": "80", + "kind": "enumvalue", + "name": "ready", + "value": "ready", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "76" + }, + "doc": "Ready", + "decorators": [] + }, + { + "$id": "82", + "kind": "enumvalue", + "name": "archived", + "value": "archived", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "76" + }, + "doc": "Archived", + "decorators": [] + }, + { + "$id": "84", + "kind": "enumvalue", + "name": "failed", + "value": "failed", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "76" + }, + "doc": "Failed", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Snapshot status.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,JsonMergePatch,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "86", + "kind": "enum", + "name": "CompositionType", + "crossLanguageDefinitionId": "AzureAppConfiguration.CompositionType", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "88", + "kind": "enumvalue", + "name": "key", + "value": "key", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "The 'key' composition type.", + "decorators": [] + }, + { + "$id": "90", + "kind": "enumvalue", + "name": "key_label", + "value": "key_label", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "The 'key_label' composition type.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Composition types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "92", + "kind": "enum", + "name": "GetSnapshotsResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots.ResponseContentType.anonymous", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "94", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshotset+json", + "value": "application/vnd.microsoft.appconfig.snapshotset+json", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "92" + }, + "decorators": [] + }, + { + "$id": "96", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "92" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "98", + "kind": "enum", + "name": "GetSnapshotResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot.ResponseContentType.anonymous", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "100", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshot+json", + "value": "application/vnd.microsoft.appconfig.snapshot+json", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "98" + }, + "decorators": [] + }, + { + "$id": "102", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "98" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "104", + "kind": "enum", + "name": "OperationState", + "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "106", + "kind": "enumvalue", + "name": "NotStarted", + "value": "NotStarted", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "The operation has not started.", + "decorators": [] + }, + { + "$id": "108", + "kind": "enumvalue", + "name": "Running", + "value": "Running", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "The operation is in progress.", + "decorators": [] + }, + { + "$id": "110", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "The operation has completed successfully.", + "decorators": [] + }, + { + "$id": "112", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "The operation has failed.", + "decorators": [] + }, + { + "$id": "114", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "The operation has been canceled by the user.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Enum describing allowed operation states.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroPolling", + "decorators": [] + }, + { + "$id": "116", + "kind": "enum", + "name": "CreateSnapshotRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot.RequestContentType.anonymous", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "118", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshot+json", + "value": "application/vnd.microsoft.appconfig.snapshot+json", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "116" + }, + "decorators": [] + }, + { + "$id": "120", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "116" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "122", + "kind": "enum", + "name": "UpdateSnapshotRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot.RequestContentType.anonymous", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "124", + "kind": "enumvalue", + "name": "application/merge-patch+json", + "value": "application/merge-patch+json", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "122" + }, + "decorators": [] + }, + { + "$id": "126", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "122" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "128", + "kind": "enum", + "name": "LabelFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelFields", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "130", + "kind": "enumvalue", + "name": "name", + "value": "name", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "128" + }, + "doc": "Name field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Label fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "132", + "kind": "enum", + "name": "GetLabelsResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels.ResponseContentType.anonymous", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "134", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.labelset+json", + "value": "application/vnd.microsoft.appconfig.labelset+json", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "132" + }, + "decorators": [] + }, + { + "$id": "136", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "132" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "138", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "AzureAppConfiguration.Versions", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "140", + "kind": "enumvalue", + "name": "v2023_11_01", + "value": "2023-11-01", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "138" + }, + "doc": "The 2023-11-01 API version", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Service API versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "models": [ + { + "$id": "142", + "kind": "model", + "name": "KeyListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "143", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "144", + "kind": "array", + "name": "ArrayKey", + "valueType": { + "$id": "145", + "kind": "model", + "name": "Key", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Key", + "usage": "Output,Json", + "doc": "Keys serve as identifiers for key-values and are used to store and retrieve corresponding values.", + "decorators": [], + "properties": [ + { + "$id": "146", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the key.", + "type": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Key.name", + "serializationOptions": { + "$id": "148", + "json": { + "$id": "149", + "name": "name" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.items", + "serializationOptions": { + "$id": "150", + "json": { + "$id": "151", + "name": "items" + } + } + }, + { + "$id": "152", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.@nextLink", + "serializationOptions": { + "$id": "154", + "json": { + "$id": "155", + "name": "@nextLink" + } + } + } + ] + }, + { + "$ref": "145" + }, + { + "$id": "156", + "kind": "model", + "name": "Error", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Error", + "usage": "Error,Json,Exception", + "doc": "Azure App Configuration error object.", + "decorators": [], + "properties": [ + { + "$id": "157", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the error.", + "type": { + "$id": "158", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.type", + "serializationOptions": { + "$id": "159", + "json": { + "$id": "160", + "name": "type" + } + } + }, + { + "$id": "161", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "A brief summary of the error.", + "type": { + "$id": "162", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.title", + "serializationOptions": { + "$id": "163", + "json": { + "$id": "164", + "name": "title" + } + } + }, + { + "$id": "165", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the parameter that resulted in the error.", + "type": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.name", + "serializationOptions": { + "$id": "167", + "json": { + "$id": "168", + "name": "name" + } + } + }, + { + "$id": "169", + "kind": "property", + "name": "detail", + "serializedName": "detail", + "doc": "A detailed description of the error.", + "type": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.detail", + "serializationOptions": { + "$id": "171", + "json": { + "$id": "172", + "name": "detail" + } + } + }, + { + "$id": "173", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The HTTP status code that the error maps to.", + "type": { + "$id": "174", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.status", + "serializationOptions": { + "$id": "175", + "json": { + "$id": "176", + "name": "status" + } + } + } + ] + }, + { + "$id": "177", + "kind": "model", + "name": "KeyValueListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "178", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "179", + "kind": "array", + "name": "ArrayKeyValue", + "valueType": { + "$id": "180", + "kind": "model", + "name": "KeyValue", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue", + "usage": "Input,Output,Json", + "doc": "A key-value pair representing application settings.", + "decorators": [], + "properties": [ + { + "$id": "181", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "The key of the key-value.", + "type": { + "$id": "182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.key", + "serializationOptions": { + "$id": "183", + "json": { + "$id": "184", + "name": "key" + } + } + }, + { + "$id": "185", + "kind": "property", + "name": "label", + "serializedName": "label", + "doc": "The label the key-value belongs to.", + "type": { + "$id": "186", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.label", + "serializationOptions": { + "$id": "187", + "json": { + "$id": "188", + "name": "label" + } + } + }, + { + "$id": "189", + "kind": "property", + "name": "contentType", + "serializedName": "content_type", + "doc": "The content type of the value stored within the key-value.", + "type": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.contentType", + "serializationOptions": { + "$id": "191", + "json": { + "$id": "192", + "name": "content_type" + } + } + }, + { + "$id": "193", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The value of the key-value.", + "type": { + "$id": "194", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.value", + "serializationOptions": { + "$id": "195", + "json": { + "$id": "196", + "name": "value" + } + } + }, + { + "$id": "197", + "kind": "property", + "name": "lastModified", + "serializedName": "last_modified", + "doc": "A date representing the last time the key-value was modified.", + "type": { + "$id": "198", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.lastModified", + "serializationOptions": { + "$id": "200", + "json": { + "$id": "201", + "name": "last_modified" + } + } + }, + { + "$id": "202", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "The tags of the key-value", + "type": { + "$id": "203", + "kind": "dict", + "keyType": { + "$id": "204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.tags", + "serializationOptions": { + "$id": "206", + "json": { + "$id": "207", + "name": "tags" + } + } + }, + { + "$id": "208", + "kind": "property", + "name": "locked", + "serializedName": "locked", + "doc": "Indicates whether the key-value is locked.", + "type": { + "$id": "209", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.locked", + "serializationOptions": { + "$id": "210", + "json": { + "$id": "211", + "name": "locked" + } + } + }, + { + "$id": "212", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.etag", + "serializationOptions": { + "$id": "214", + "json": { + "$id": "215", + "name": "etag" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.items", + "serializationOptions": { + "$id": "216", + "json": { + "$id": "217", + "name": "items" + } + } + }, + { + "$id": "218", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "An identifier representing the returned state of the resource.", + "type": { + "$id": "219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.etag", + "serializationOptions": { + "$id": "220", + "json": { + "$id": "221", + "name": "etag" + } + } + }, + { + "$id": "222", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.@nextLink", + "serializationOptions": { + "$id": "224", + "json": { + "$id": "225", + "name": "@nextLink" + } + } + } + ] + }, + { + "$ref": "180" + }, + { + "$id": "226", + "kind": "model", + "name": "SnapshotListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult", + "usage": "Output,Json", + "doc": "The result of a snapshot list request.", + "decorators": [], + "properties": [ + { + "$id": "227", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "228", + "kind": "array", + "name": "ArraySnapshot", + "valueType": { + "$id": "229", + "kind": "model", + "name": "Snapshot", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A snapshot is a named, immutable subset of an App Configuration store's key-values.", + "decorators": [], + "properties": [ + { + "$id": "230", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the snapshot.", + "type": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.name", + "serializationOptions": { + "$id": "232", + "json": { + "$id": "233", + "name": "name" + } + } + }, + { + "$id": "234", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The current status of the snapshot.", + "type": { + "$ref": "76" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.status", + "serializationOptions": { + "$id": "235", + "json": { + "$id": "236", + "name": "status" + } + } + }, + { + "$id": "237", + "kind": "property", + "name": "filters", + "serializedName": "filters", + "doc": "A list of filters used to filter the key-values included in the snapshot.", + "type": { + "$id": "238", + "kind": "array", + "name": "ArrayKeyValueFilter", + "valueType": { + "$id": "239", + "kind": "model", + "name": "KeyValueFilter", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Enables filtering of key-values. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapisnapshots", + "decorators": [], + "properties": [ + { + "$id": "240", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "Filters key-values by their key field.", + "type": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.key", + "serializationOptions": { + "$id": "242", + "json": { + "$id": "243", + "name": "key" + } + } + }, + { + "$id": "244", + "kind": "property", + "name": "label", + "serializedName": "label", + "doc": "Filters key-values by their label field.", + "type": { + "$id": "245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.label", + "serializationOptions": { + "$id": "246", + "json": { + "$id": "247", + "name": "label" + } + } + }, + { + "$id": "248", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Filters key-values by their tags field.", + "type": { + "$id": "249", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.tags", + "serializationOptions": { + "$id": "251", + "json": { + "$id": "252", + "name": "tags" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.filters", + "serializationOptions": { + "$id": "253", + "json": { + "$id": "254", + "name": "filters" + } + } + }, + { + "$id": "255", + "kind": "property", + "name": "compositionType", + "serializedName": "composition_type", + "doc": "The composition type describes how the key-values within the snapshot are\ncomposed. The 'key' composition type ensures there are no two key-values\ncontaining the same key. The 'key_label' composition type ensures there are no\ntwo key-values containing the same key and label.", + "type": { + "$ref": "86" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.compositionType", + "serializationOptions": { + "$id": "256", + "json": { + "$id": "257", + "name": "composition_type" + } + } + }, + { + "$id": "258", + "kind": "property", + "name": "created", + "serializedName": "created", + "doc": "The time that the snapshot was created.", + "type": { + "$id": "259", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.created", + "serializationOptions": { + "$id": "261", + "json": { + "$id": "262", + "name": "created" + } + } + }, + { + "$id": "263", + "kind": "property", + "name": "expires", + "serializedName": "expires", + "doc": "The time that the snapshot will expire.", + "type": { + "$id": "264", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.expires", + "serializationOptions": { + "$id": "266", + "json": { + "$id": "267", + "name": "expires" + } + } + }, + { + "$id": "268", + "kind": "property", + "name": "retentionPeriod", + "serializedName": "retention_period", + "doc": "The amount of time, in seconds, that a snapshot will remain in the archived\nstate before expiring. This property is only writable during the creation of a\nsnapshot. If not specified, the default lifetime of key-value revisions will be\nused.", + "type": { + "$id": "269", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.retentionPeriod", + "serializationOptions": { + "$id": "270", + "json": { + "$id": "271", + "name": "retention_period" + } + } + }, + { + "$id": "272", + "kind": "property", + "name": "size", + "serializedName": "size", + "doc": "The size in bytes of the snapshot.", + "type": { + "$id": "273", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.size", + "serializationOptions": { + "$id": "274", + "json": { + "$id": "275", + "name": "size" + } + } + }, + { + "$id": "276", + "kind": "property", + "name": "itemsCount", + "serializedName": "items_count", + "doc": "The amount of key-values in the snapshot.", + "type": { + "$id": "277", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.itemsCount", + "serializationOptions": { + "$id": "278", + "json": { + "$id": "279", + "name": "items_count" + } + } + }, + { + "$id": "280", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "The tags of the snapshot.", + "type": { + "$id": "281", + "kind": "dict", + "keyType": { + "$id": "282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.tags", + "serializationOptions": { + "$id": "284", + "json": { + "$id": "285", + "name": "tags" + } + } + }, + { + "$id": "286", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "A value representing the current state of the snapshot.", + "type": { + "$id": "287", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.etag", + "serializationOptions": { + "$id": "288", + "json": { + "$id": "289", + "name": "etag" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.items", + "serializationOptions": { + "$id": "290", + "json": { + "$id": "291", + "name": "items" + } + } + }, + { + "$id": "292", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "293", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.@nextLink", + "serializationOptions": { + "$id": "294", + "json": { + "$id": "295", + "name": "@nextLink" + } + } + } + ] + }, + { + "$ref": "229" + }, + { + "$ref": "239" + }, + { + "$id": "296", + "kind": "model", + "name": "OperationDetails", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails", + "usage": "Output,Json,LroPolling", + "doc": "Details of a long running operation.", + "decorators": [], + "properties": [ + { + "$id": "297", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique id of the operation.", + "type": { + "$id": "298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.id", + "serializationOptions": { + "$id": "299", + "json": { + "$id": "300", + "name": "id" + } + } + }, + { + "$id": "301", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The current status of the operation", + "type": { + "$ref": "104" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.status", + "serializationOptions": { + "$id": "302", + "json": { + "$id": "303", + "name": "status" + } + } + }, + { + "$id": "304", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "An error, available when the status is `Failed`, describing why the operation\nfailed.", + "type": { + "$ref": "156" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.error", + "serializationOptions": { + "$id": "305", + "json": { + "$id": "306", + "name": "error" + } + } + } + ] + }, + { + "$id": "307", + "kind": "model", + "name": "SnapshotUpdateParameters", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters", + "usage": "Input,JsonMergePatch,Json", + "doc": "Parameters used to update a snapshot.", + "decorators": [], + "properties": [ + { + "$id": "308", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The desired status of the snapshot.", + "type": { + "$ref": "76" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters.status", + "serializationOptions": { + "$id": "309", + "json": { + "$id": "310", + "name": "status" + } + } + } + ] + }, + { + "$id": "311", + "kind": "model", + "name": "LabelListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "312", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "313", + "kind": "array", + "name": "ArrayLabel", + "valueType": { + "$id": "314", + "kind": "model", + "name": "Label", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Label", + "usage": "Output,Json", + "doc": "Labels are used to group key-values.", + "decorators": [], + "properties": [ + { + "$id": "315", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the label.", + "type": { + "$id": "316", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Label.name", + "serializationOptions": { + "$id": "317", + "json": { + "$id": "318", + "name": "name" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.items", + "serializationOptions": { + "$id": "319", + "json": { + "$id": "320", + "name": "items" + } + } + }, + { + "$id": "321", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "322", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.@nextLink", + "serializationOptions": { + "$id": "323", + "json": { + "$id": "324", + "name": "@nextLink" + } + } + } + ] + }, + { + "$ref": "314" + } + ], + "clients": [ + { + "$id": "325", + "name": "AzureAppConfigurationClient", + "namespace": "Azure.Data.AppConfiguration", + "doc": "Azure App Configuration REST API", + "operations": [ + { + "$id": "326", + "name": "getKeys", + "resourceName": "Key", + "summary": "Gets a list of keys.", + "doc": "Gets a list of keys.", + "accessibility": "public", + "parameters": [ + { + "$id": "327", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "328", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "329", + "type": { + "$id": "330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "331", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "332", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "333", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "335", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "337", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "338", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "339", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "341", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "142" + }, + "headers": [ + { + "$id": "342", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "344", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "2" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.keyset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/keys", + "bufferResponse": true, + "paging": { + "$id": "345", + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "$id": "346", + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys", + "decorators": [], + "examples": [ + { + "$id": "347", + "kind": "http", + "name": "Gets a list of keys.", + "description": "Gets a list of keys.", + "filePath": "2023-11-01/GetKeys.json", + "parameters": [ + { + "$id": "348", + "parameter": { + "$ref": "327" + }, + "value": { + "$id": "349", + "kind": "string", + "type": { + "$ref": "328" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "350", + "response": { + "$ref": "341" + }, + "statusCode": 200, + "bodyValue": { + "$id": "351", + "kind": "model", + "type": { + "$ref": "142" + }, + "value": { + "$id": "352", + "items": { + "$id": "353", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "354", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "$id": "355", + "name": { + "$id": "356", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "MaxRequests" + } + } + }, + { + "$id": "357", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "$id": "358", + "name": { + "$id": "359", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "RequestTimeout" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "360", + "name": "checkKeys", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "361", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "362", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "363", + "type": { + "$id": "364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "365", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "366", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "367", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "369", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "371", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "373", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "374", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "376", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "377", + "kind": "constant", + "valueType": { + "$id": "378", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "379", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "380", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/keys", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeys", + "decorators": [], + "examples": [ + { + "$id": "382", + "kind": "http", + "name": "Check keys", + "description": "Check keys", + "filePath": "2023-11-01/CheckKeys.json", + "parameters": [ + { + "$id": "383", + "parameter": { + "$ref": "361" + }, + "value": { + "$id": "384", + "kind": "string", + "type": { + "$ref": "362" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "385", + "response": { + "$ref": "379" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "386", + "name": "getKeyValues", + "resourceName": "KeyValue", + "summary": "Gets a list of key-values.", + "doc": "Gets a list of key-values.", + "accessibility": "public", + "parameters": [ + { + "$id": "387", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "388", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "389", + "type": { + "$id": "390", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "391", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "392", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "393", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "395", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "397", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "399", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "400", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "401", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "402", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "403", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "405", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "406", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "407", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "408", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "409", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "410", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "412", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "413", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "414", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "177" + }, + "headers": [ + { + "$id": "415", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "416", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "417", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "418", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "419", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "26" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/kv", + "bufferResponse": true, + "paging": { + "$id": "420", + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "$id": "421", + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues", + "decorators": [], + "examples": [ + { + "$id": "422", + "kind": "http", + "name": "Gets a list of key-values.", + "description": "Gets a list of key-values.", + "filePath": "2023-11-01/GetKeyValues.json", + "parameters": [ + { + "$id": "423", + "parameter": { + "$ref": "387" + }, + "value": { + "$id": "424", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "425", + "response": { + "$ref": "414" + }, + "statusCode": 200, + "bodyValue": { + "$id": "426", + "kind": "model", + "type": { + "$ref": "177" + }, + "value": { + "$id": "427", + "items": { + "$id": "428", + "kind": "array", + "type": { + "$ref": "179" + }, + "value": [ + { + "$id": "429", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "430", + "etag": { + "$id": "431", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "432", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Background" + }, + "label": { + "$id": "433", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "434", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "435", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "436" + } + }, + "locked": { + "$id": "437", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "438", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "439", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "440", + "etag": { + "$id": "441", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "442", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "443", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "444", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "50" + }, + "tags": { + "$id": "445", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "446" + } + }, + "locked": { + "$id": "447", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "448", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "449", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "450", + "etag": { + "$id": "451", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "452", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "453", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World" + }, + "tags": { + "$id": "454", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "455" + } + }, + "locked": { + "$id": "456", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "457", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "458", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "459", + "etag": { + "$id": "460", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "461", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "462", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "463", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "464" + } + }, + "locked": { + "$id": "465", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "466", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "467", + "kind": "http", + "name": "Gets a list of key-values using the If-Match header.", + "description": "Gets a list of key-values using the If-Match header.", + "filePath": "2023-11-01/GetKeyValues_IfMatch.json", + "parameters": [ + { + "$id": "468", + "parameter": { + "$ref": "387" + }, + "value": { + "$id": "469", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "2023-11-01" + } + }, + { + "$id": "470", + "parameter": { + "$ref": "405" + }, + "value": { + "$id": "471", + "kind": "string", + "type": { + "$ref": "406" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "472", + "response": { + "$ref": "414" + }, + "statusCode": 200, + "bodyValue": { + "$id": "473", + "kind": "model", + "type": { + "$ref": "177" + }, + "value": { + "$id": "474", + "items": { + "$id": "475", + "kind": "array", + "type": { + "$ref": "179" + }, + "value": [ + { + "$id": "476", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "477", + "etag": { + "$id": "478", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "479", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Background" + }, + "label": { + "$id": "480", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "481", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "482", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "483" + } + }, + "locked": { + "$id": "484", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "485", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "486", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "487", + "etag": { + "$id": "488", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "489", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "490", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "491", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "50" + }, + "tags": { + "$id": "492", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "493" + } + }, + "locked": { + "$id": "494", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "495", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "496", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "497", + "etag": { + "$id": "498", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "499", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "500", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World" + }, + "tags": { + "$id": "501", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "502" + } + }, + "locked": { + "$id": "503", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "504", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "505", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "506", + "etag": { + "$id": "507", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "508", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "509", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "510", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "511" + } + }, + "locked": { + "$id": "512", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "513", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "514", + "kind": "http", + "name": "Gets a list of key-values using the If-None-Match header.", + "description": "Gets a list of key-values using the If-None-Match header.", + "filePath": "2023-11-01/GetKeyValues_IfNoneMatch.json", + "parameters": [ + { + "$id": "515", + "parameter": { + "$ref": "387" + }, + "value": { + "$id": "516", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "2023-11-01" + } + }, + { + "$id": "517", + "parameter": { + "$ref": "407" + }, + "value": { + "$id": "518", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "$id": "519", + "response": { + "$ref": "414" + }, + "statusCode": 200, + "bodyValue": { + "$id": "520", + "kind": "model", + "type": { + "$ref": "177" + }, + "value": { + "$id": "521", + "items": { + "$id": "522", + "kind": "array", + "type": { + "$ref": "179" + }, + "value": [ + { + "$id": "523", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "524", + "etag": { + "$id": "525", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "526", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Background" + }, + "label": { + "$id": "527", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "528", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "529", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "530" + } + }, + "locked": { + "$id": "531", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "532", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "533", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "534", + "etag": { + "$id": "535", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "536", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "537", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "Asset1" + }, + "value": { + "$id": "538", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "50" + }, + "tags": { + "$id": "539", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "540" + } + }, + "locked": { + "$id": "541", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "542", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "543", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "544", + "etag": { + "$id": "545", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "546", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "547", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World" + }, + "tags": { + "$id": "548", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "549" + } + }, + "locked": { + "$id": "550", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "551", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "552", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "553", + "etag": { + "$id": "554", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "555", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "556", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "blue" + }, + "tags": { + "$id": "557", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "558" + } + }, + "locked": { + "$id": "559", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "560", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "561", + "name": "checkKeyValues", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "562", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "563", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "564", + "type": { + "$id": "565", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "566", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "567", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "568", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "570", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "571", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "572", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "573", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "574", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "575", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "576", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "577", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "578", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "579", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "580", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "581", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "582", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "583", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "584", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "585", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "586", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "587", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "588", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "590", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "591", + "kind": "constant", + "valueType": { + "$id": "592", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "593", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "594", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "596", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/kv", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues", + "decorators": [], + "examples": [ + { + "$id": "598", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckKeyValues.json", + "parameters": [ + { + "$id": "599", + "parameter": { + "$ref": "562" + }, + "value": { + "$id": "600", + "kind": "string", + "type": { + "$ref": "563" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "601", + "response": { + "$ref": "593" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "602", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-Match header.", + "description": "Requests the headers and status of the given resource using the If-Match header.", + "filePath": "2023-11-01/CheckKeyValues_IfMatch.json", + "parameters": [ + { + "$id": "603", + "parameter": { + "$ref": "562" + }, + "value": { + "$id": "604", + "kind": "string", + "type": { + "$ref": "563" + }, + "value": "2023-11-01" + } + }, + { + "$id": "605", + "parameter": { + "$ref": "580" + }, + "value": { + "$id": "606", + "kind": "string", + "type": { + "$ref": "581" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "607", + "response": { + "$ref": "593" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "608", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-None-Match header.", + "description": "Requests the headers and status of the given resource using the If-None-Match header.", + "filePath": "2023-11-01/CheckKeyValues_IfNoneMatch.json", + "parameters": [ + { + "$id": "609", + "parameter": { + "$ref": "562" + }, + "value": { + "$id": "610", + "kind": "string", + "type": { + "$ref": "563" + }, + "value": "2023-11-01" + } + }, + { + "$id": "611", + "parameter": { + "$ref": "582" + }, + "value": { + "$id": "612", + "kind": "string", + "type": { + "$ref": "583" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "613", + "response": { + "$ref": "593" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "614", + "name": "getKeyValue", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a single key-value.", + "doc": "Gets a single key-value.", + "accessibility": "public", + "parameters": [ + { + "$id": "615", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "616", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "617", + "type": { + "$id": "618", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "619", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value.", + "type": { + "$id": "620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "621", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "623", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "624", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "625", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "626", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "627", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "628", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "629", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "631", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "632", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "633", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "634", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "636", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "637", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "638", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "180" + }, + "headers": [ + { + "$id": "639", + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$id": "640", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "641", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + } + }, + { + "$id": "642", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "643", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "644", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "645", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "646", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "32" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue", + "decorators": [], + "examples": [ + { + "$id": "647", + "kind": "http", + "name": "Gets a single key-value.", + "description": "Gets a single key-value.", + "filePath": "2023-11-01/GetKeyValue.json", + "parameters": [ + { + "$id": "648", + "parameter": { + "$ref": "615" + }, + "value": { + "$id": "649", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "2023-11-01" + } + }, + { + "$id": "650", + "parameter": { + "$ref": "619" + }, + "value": { + "$id": "651", + "kind": "string", + "type": { + "$ref": "620" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "652", + "response": { + "$ref": "638" + }, + "statusCode": 200, + "bodyValue": { + "$id": "653", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "654", + "etag": { + "$id": "655", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "656", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "657", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "658", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "659" + } + }, + "locked": { + "$id": "660", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "661", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "662", + "kind": "http", + "name": "Gets a single key-value using the If-Match header.", + "description": "Gets a single key-value using the If-Match header.", + "filePath": "2023-11-01/GetKeyValue_IfMatch.json", + "parameters": [ + { + "$id": "663", + "parameter": { + "$ref": "615" + }, + "value": { + "$id": "664", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "2023-11-01" + } + }, + { + "$id": "665", + "parameter": { + "$ref": "619" + }, + "value": { + "$id": "666", + "kind": "string", + "type": { + "$ref": "620" + }, + "value": "Message" + } + }, + { + "$id": "667", + "parameter": { + "$ref": "629" + }, + "value": { + "$id": "668", + "kind": "string", + "type": { + "$ref": "630" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "669", + "response": { + "$ref": "638" + }, + "statusCode": 200, + "bodyValue": { + "$id": "670", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "671", + "etag": { + "$id": "672", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "673", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "674", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "675", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "676" + } + }, + "locked": { + "$id": "677", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "678", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "679", + "kind": "http", + "name": "Gets a single key-value using the If-None-Match header.", + "description": "Gets a single key-value using the If-None-Match header.", + "filePath": "2023-11-01/GetKeyValue_IfNoneMatch.json", + "parameters": [ + { + "$id": "680", + "parameter": { + "$ref": "615" + }, + "value": { + "$id": "681", + "kind": "string", + "type": { + "$ref": "616" + }, + "value": "2023-11-01" + } + }, + { + "$id": "682", + "parameter": { + "$ref": "619" + }, + "value": { + "$id": "683", + "kind": "string", + "type": { + "$ref": "620" + }, + "value": "Message" + } + }, + { + "$id": "684", + "parameter": { + "$ref": "631" + }, + "value": { + "$id": "685", + "kind": "string", + "type": { + "$ref": "632" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "$id": "686", + "response": { + "$ref": "638" + }, + "statusCode": 200, + "bodyValue": { + "$id": "687", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "688", + "etag": { + "$id": "689", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "690", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "691", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "692", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "693" + } + }, + "locked": { + "$id": "694", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "695", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + { + "$id": "696", + "name": "putKeyValue", + "resourceName": "AzureAppConfiguration", + "summary": "Creates a key-value.", + "doc": "Creates a key-value.", + "accessibility": "public", + "parameters": [ + { + "$id": "697", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "698", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "699", + "type": { + "$id": "700", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "701", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "38" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "702", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to create.", + "type": { + "$id": "703", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "704", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to create.", + "type": { + "$id": "705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "706", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "707", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "708", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "710", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "711", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "712", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "713", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "714", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "715", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "716", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "717", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value to create.", + "type": { + "$ref": "180" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "718", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "180" + }, + "headers": [ + { + "$id": "719", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "720", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "721", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "722", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "723", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "32" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/kv/{key}", + "requestMediaTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/vnd.microsoft.appconfig.kvset+json", + "application/json", + "text/json", + "application/*+json", + "application/json-patch+json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue", + "decorators": [], + "examples": [ + { + "$id": "724", + "kind": "http", + "name": "Creates a key-value.", + "description": "Creates a key-value.", + "filePath": "2023-11-01/PutKeyValue.json", + "parameters": [ + { + "$id": "725", + "parameter": { + "$ref": "697" + }, + "value": { + "$id": "726", + "kind": "string", + "type": { + "$ref": "698" + }, + "value": "2023-11-01" + } + }, + { + "$id": "727", + "parameter": { + "$ref": "702" + }, + "value": { + "$id": "728", + "kind": "string", + "type": { + "$ref": "703" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "729", + "response": { + "$ref": "718" + }, + "statusCode": 200, + "bodyValue": { + "$id": "730", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "731", + "etag": { + "$id": "732", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL" + }, + "key": { + "$id": "733", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "734", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "735", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "736" + } + }, + "locked": { + "$id": "737", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "738", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "739", + "kind": "http", + "name": "Creates a key-value with the If-Match header.", + "description": "Creates a key-value with the If-Match header.", + "filePath": "2023-11-01/PutKeyValue_IfMatch.json", + "parameters": [ + { + "$id": "740", + "parameter": { + "$ref": "697" + }, + "value": { + "$id": "741", + "kind": "string", + "type": { + "$ref": "698" + }, + "value": "2023-11-01" + } + }, + { + "$id": "742", + "parameter": { + "$ref": "702" + }, + "value": { + "$id": "743", + "kind": "string", + "type": { + "$ref": "703" + }, + "value": "Message" + } + }, + { + "$id": "744", + "parameter": { + "$ref": "708" + }, + "value": { + "$id": "745", + "kind": "string", + "type": { + "$ref": "709" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "746", + "response": { + "$ref": "718" + }, + "statusCode": 200, + "bodyValue": { + "$id": "747", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "748", + "etag": { + "$id": "749", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "750", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "751", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "752", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "753" + } + }, + "locked": { + "$id": "754", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "755", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + { + "$id": "756", + "name": "deleteKeyValue", + "resourceName": "AzureAppConfiguration", + "summary": "Deletes a key-value.", + "doc": "Deletes a key-value.", + "accessibility": "public", + "parameters": [ + { + "$id": "757", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "758", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "759", + "type": { + "$id": "760", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "761", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to delete.", + "type": { + "$id": "762", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "763", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to delete.", + "type": { + "$id": "764", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "765", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "766", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "767", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "769", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "770", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "772", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "773", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "774", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "180" + }, + "headers": [ + { + "$id": "775", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "776", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "777", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "778", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "779", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "32" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + { + "$id": "780", + "statusCodes": [ + 204 + ], + "headers": [ + { + "$id": "781", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "782", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue", + "decorators": [], + "examples": [ + { + "$id": "783", + "kind": "http", + "name": "Deletes a key-value.", + "description": "Deletes a key-value.", + "filePath": "2023-11-01/DeleteKeyValue.json", + "parameters": [ + { + "$id": "784", + "parameter": { + "$ref": "757" + }, + "value": { + "$id": "785", + "kind": "string", + "type": { + "$ref": "758" + }, + "value": "2023-11-01" + } + }, + { + "$id": "786", + "parameter": { + "$ref": "761" + }, + "value": { + "$id": "787", + "kind": "string", + "type": { + "$ref": "762" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "788", + "response": { + "$ref": "774" + }, + "statusCode": 200, + "bodyValue": { + "$id": "789", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "790", + "etag": { + "$id": "791", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "792", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "793", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "794", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "795" + } + }, + "locked": { + "$id": "796", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "797", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + }, + { + "$id": "798", + "response": { + "$ref": "780" + }, + "statusCode": 204 + } + ] + }, + { + "$id": "799", + "kind": "http", + "name": "Deletes a key-value using If-Match header", + "description": "Deletes a key-value using If-Match header", + "filePath": "2023-11-01/DeleteKeyValue_IfMatch.json", + "parameters": [ + { + "$id": "800", + "parameter": { + "$ref": "757" + }, + "value": { + "$id": "801", + "kind": "string", + "type": { + "$ref": "758" + }, + "value": "2023-11-01" + } + }, + { + "$id": "802", + "parameter": { + "$ref": "761" + }, + "value": { + "$id": "803", + "kind": "string", + "type": { + "$ref": "762" + }, + "value": "Message" + } + }, + { + "$id": "804", + "parameter": { + "$ref": "767" + }, + "value": { + "$id": "805", + "kind": "string", + "type": { + "$ref": "768" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "806", + "response": { + "$ref": "774" + }, + "statusCode": 200, + "bodyValue": { + "$id": "807", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "808", + "etag": { + "$id": "809", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "810", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "811", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "812", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "813" + } + }, + "locked": { + "$id": "814", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "815", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + }, + { + "$id": "816", + "response": { + "$ref": "780" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "817", + "name": "checkKeyValue", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "818", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "819", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "820", + "type": { + "$id": "821", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "822", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to retrieve.", + "type": { + "$id": "823", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "824", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "826", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "827", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "828", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "829", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "830", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "831", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "832", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "833", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "834", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "835", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "836", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "837", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "838", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "839", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "840", + "kind": "constant", + "valueType": { + "$id": "841", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "842", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "843", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "844", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "845", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "846", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue", + "decorators": [], + "examples": [ + { + "$id": "847", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckKeyValue.json", + "parameters": [ + { + "$id": "848", + "parameter": { + "$ref": "818" + }, + "value": { + "$id": "849", + "kind": "string", + "type": { + "$ref": "819" + }, + "value": "2023-11-01" + } + }, + { + "$id": "850", + "parameter": { + "$ref": "822" + }, + "value": { + "$id": "851", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "852", + "response": { + "$ref": "842" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "853", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-Match header.", + "description": "Requests the headers and status of the given resource using the If-Match header.", + "filePath": "2023-11-01/CheckKeyValue_IfMatch.json", + "parameters": [ + { + "$id": "854", + "parameter": { + "$ref": "818" + }, + "value": { + "$id": "855", + "kind": "string", + "type": { + "$ref": "819" + }, + "value": "2023-11-01" + } + }, + { + "$id": "856", + "parameter": { + "$ref": "822" + }, + "value": { + "$id": "857", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "Message" + } + }, + { + "$id": "858", + "parameter": { + "$ref": "830" + }, + "value": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "860", + "response": { + "$ref": "842" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "861", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-None-Match header.", + "description": "Requests the headers and status of the given resource using the If-None-Match header.", + "filePath": "2023-11-01/CheckKeyValue_IfNoneMatch.json", + "parameters": [ + { + "$id": "862", + "parameter": { + "$ref": "818" + }, + "value": { + "$id": "863", + "kind": "string", + "type": { + "$ref": "819" + }, + "value": "2023-11-01" + } + }, + { + "$id": "864", + "parameter": { + "$ref": "822" + }, + "value": { + "$id": "865", + "kind": "string", + "type": { + "$ref": "823" + }, + "value": "Message" + } + }, + { + "$id": "866", + "parameter": { + "$ref": "832" + }, + "value": { + "$id": "867", + "kind": "string", + "type": { + "$ref": "833" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "$id": "868", + "response": { + "$ref": "842" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "869", + "name": "getSnapshots", + "resourceName": "Snapshot", + "summary": "Gets a list of key-value snapshots.", + "doc": "Gets a list of key-value snapshots.", + "accessibility": "public", + "parameters": [ + { + "$id": "870", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "871", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "872", + "type": { + "$id": "873", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "874", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned snapshots.", + "type": { + "$id": "875", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "876", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "877", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "878", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "879", + "kind": "array", + "name": "ArraySnapshotFields", + "valueType": { + "$ref": "52" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "880", + "name": "status", + "nameInRequest": "status", + "doc": "Used to filter returned snapshots by their status property.", + "type": { + "$id": "881", + "kind": "array", + "name": "ArraySnapshotStatus", + "valueType": { + "$ref": "76" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "882", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "883", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "884", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "885", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "886", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "226" + }, + "headers": [ + { + "$id": "887", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "888", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "889", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "92" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshotset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/snapshots", + "bufferResponse": true, + "paging": { + "$id": "890", + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "$id": "891", + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots", + "decorators": [], + "examples": [ + { + "$id": "892", + "kind": "http", + "name": "Gets a list of key-value snapshots.", + "description": "Gets a list of key-value snapshots.", + "filePath": "2023-11-01/GetSnapshots.json", + "parameters": [ + { + "$id": "893", + "parameter": { + "$ref": "870" + }, + "value": { + "$id": "894", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "895", + "response": { + "$ref": "886" + }, + "statusCode": 200, + "bodyValue": { + "$id": "896", + "kind": "model", + "type": { + "$ref": "226" + }, + "value": { + "$id": "897", + "items": { + "$id": "898", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "899", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "900", + "etag": { + "$id": "901", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "902", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "903", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "ready" + }, + "filters": { + "$id": "904", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "905", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "906", + "key": { + "$id": "907", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "908", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "909", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "910", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "911", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 100000 + }, + "items_count": { + "$id": "912", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 71 + }, + "retention_period": { + "$id": "913", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "914", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "915", + "release": { + "$id": "916", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "{link/id}" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "917", + "name": "checkSnapshots", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "918", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "919", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "920", + "type": { + "$id": "921", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "922", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "923", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "924", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "925", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "926", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "927", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "929", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "930", + "kind": "constant", + "valueType": { + "$id": "931", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "932", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "933", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "934", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/snapshots", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots", + "decorators": [], + "examples": [ + { + "$id": "935", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckSnapshots.json", + "parameters": [ + { + "$id": "936", + "parameter": { + "$ref": "918" + }, + "value": { + "$id": "937", + "kind": "string", + "type": { + "$ref": "919" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "938", + "response": { + "$ref": "932" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "939", + "name": "getSnapshot", + "resourceName": "Snapshot", + "summary": "Gets a single key-value snapshot.", + "doc": "Gets a single key-value snapshot.", + "accessibility": "public", + "parameters": [ + { + "$id": "940", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "941", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "942", + "type": { + "$id": "943", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "944", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the snapshot.", + "type": { + "$id": "945", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "946", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "947", + "kind": "array", + "name": "ArraySnapshotFields", + "valueType": { + "$ref": "52" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "948", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "949", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "950", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "951", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "952", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "953", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "954", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "955", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "956", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "957", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "958", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "959", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "229" + }, + "headers": [ + { + "$id": "960", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "961", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "962", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "963", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "964", + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "966", + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$id": "967", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "968", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + } + }, + { + "$id": "969", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "98" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot", + "decorators": [], + "examples": [ + { + "$id": "970", + "kind": "http", + "name": "Gets a single key-value snapshot.", + "description": "Gets a single key-value snapshot.", + "filePath": "2023-11-01/GetSnapshot.json", + "parameters": [ + { + "$id": "971", + "parameter": { + "$ref": "940" + }, + "value": { + "$id": "972", + "kind": "string", + "type": { + "$ref": "941" + }, + "value": "2023-11-01" + } + }, + { + "$id": "973", + "parameter": { + "$ref": "944" + }, + "value": { + "$id": "974", + "kind": "string", + "type": { + "$ref": "945" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "$id": "975", + "response": { + "$ref": "959" + }, + "statusCode": 200, + "bodyValue": { + "$id": "976", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "977", + "etag": { + "$id": "978", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "979", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "980", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "ready" + }, + "filters": { + "$id": "981", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "982", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "983", + "key": { + "$id": "984", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "985", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "986", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "987", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "988", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 100000 + }, + "items_count": { + "$id": "989", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 71 + }, + "retention_period": { + "$id": "990", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "991", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "992", + "release": { + "$id": "993", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "994", + "kind": "http", + "name": "Gets a single key-value snapshot failed.", + "description": "Gets a single key-value snapshot failed.", + "filePath": "2023-11-01/GetSnapshot_Failed.json", + "parameters": [ + { + "$id": "995", + "parameter": { + "$ref": "940" + }, + "value": { + "$id": "996", + "kind": "string", + "type": { + "$ref": "941" + }, + "value": "2023-11-01" + } + }, + { + "$id": "997", + "parameter": { + "$ref": "944" + }, + "value": { + "$id": "998", + "kind": "string", + "type": { + "$ref": "945" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "999", + "parameter": { + "$ref": "950" + }, + "value": { + "$id": "1000", + "kind": "string", + "type": { + "$ref": "951" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "$id": "1001", + "response": { + "$ref": "959" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1002", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1003", + "etag": { + "$id": "1004", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1005", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1006", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "failed" + }, + "filters": { + "$id": "1007", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1008", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1009", + "key": { + "$id": "1010", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1011", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1012", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1013", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "1014", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 0 + }, + "items_count": { + "$id": "1015", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 0 + }, + "retention_period": { + "$id": "1016", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "1017", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1018", + "release": { + "$id": "1019", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "1020", + "kind": "http", + "name": "Gets a single key-value snapshot using If-Match header.", + "description": "Gets a single key-value snapshot using If-Match header.", + "filePath": "2023-11-01/GetSnapshot_IfMatch.json", + "parameters": [ + { + "$id": "1021", + "parameter": { + "$ref": "940" + }, + "value": { + "$id": "1022", + "kind": "string", + "type": { + "$ref": "941" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1023", + "parameter": { + "$ref": "944" + }, + "value": { + "$id": "1024", + "kind": "string", + "type": { + "$ref": "945" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1025", + "parameter": { + "$ref": "950" + }, + "value": { + "$id": "1026", + "kind": "string", + "type": { + "$ref": "951" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "$id": "1027", + "response": { + "$ref": "959" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1028", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1029", + "etag": { + "$id": "1030", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1031", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1032", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "ready" + }, + "filters": { + "$id": "1033", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1034", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1035", + "key": { + "$id": "1036", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1037", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1038", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1039", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "1040", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 100000 + }, + "items_count": { + "$id": "1041", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 71 + }, + "retention_period": { + "$id": "1042", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "1043", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1044", + "release": { + "$id": "1045", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "1046", + "kind": "http", + "name": "Gets a single key-value snapshot using If-None-Match header.", + "description": "Gets a single key-value snapshot using If-None-Match header.", + "filePath": "2023-11-01/GetSnapshot_IfNoneMatch.json", + "parameters": [ + { + "$id": "1047", + "parameter": { + "$ref": "940" + }, + "value": { + "$id": "1048", + "kind": "string", + "type": { + "$ref": "941" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1049", + "parameter": { + "$ref": "944" + }, + "value": { + "$id": "1050", + "kind": "string", + "type": { + "$ref": "945" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1051", + "parameter": { + "$ref": "952" + }, + "value": { + "$id": "1052", + "kind": "string", + "type": { + "$ref": "953" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "1053", + "response": { + "$ref": "959" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1054", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1055", + "etag": { + "$id": "1056", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1057", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1058", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "ready" + }, + "filters": { + "$id": "1059", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1060", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1061", + "key": { + "$id": "1062", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1063", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1064", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1065", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "1066", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 100000 + }, + "items_count": { + "$id": "1067", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 71 + }, + "retention_period": { + "$id": "1068", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "1069", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1070", + "release": { + "$id": "1071", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1072", + "name": "getOperationDetails", + "resourceName": "AzureAppConfiguration", + "summary": "Gets the state of a long running operation.", + "doc": "Gets the state of a long running operation.", + "accessibility": "public", + "parameters": [ + { + "$id": "1073", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1074", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1075", + "type": { + "$id": "1076", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1077", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "Snapshot identifier for the long running operation.", + "type": { + "$id": "1078", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1079", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1080", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1082", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1083", + "kind": "constant", + "valueType": { + "$id": "1084", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1085", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "296" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails", + "decorators": [], + "examples": [ + { + "$id": "1086", + "kind": "http", + "name": "Gets the state of a long running operation.", + "description": "Gets the state of a long running operation.", + "filePath": "2023-11-01/GetOperationStatus.json", + "parameters": [ + { + "$id": "1087", + "parameter": { + "$ref": "1073" + }, + "value": { + "$id": "1088", + "kind": "string", + "type": { + "$ref": "1074" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1089", + "parameter": { + "$ref": "1077" + }, + "value": { + "$id": "1090", + "kind": "string", + "type": { + "$ref": "1078" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "$id": "1091", + "response": { + "$ref": "1085" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1092", + "kind": "model", + "type": { + "$ref": "296" + }, + "value": { + "$id": "1093", + "id": { + "$id": "1094", + "kind": "string", + "type": { + "$ref": "298" + }, + "value": "4yghgV_8lJJ5t7_kxhMpsyNCyjmZE5Q6zU0pXOp7Jvs" + }, + "status": { + "$id": "1095", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "Running" + } + } + } + } + ] + } + ] + }, + { + "$id": "1096", + "name": "createSnapshot", + "resourceName": "Snapshot", + "summary": "Creates a key-value snapshot.", + "doc": "Creates a key-value snapshot.", + "accessibility": "public", + "parameters": [ + { + "$id": "1097", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1098", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1099", + "type": { + "$id": "1100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1101", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "116" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1102", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to create.", + "type": { + "$id": "1103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1104", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1106", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1108", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value snapshot to create.", + "type": { + "$ref": "229" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1109", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "229" + }, + "headers": [ + { + "$id": "1110", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1112", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1114", + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "1115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1116", + "name": "operationLocation", + "nameInResponse": "Operation-Location", + "doc": "The location for monitoring the operation state.", + "type": { + "$id": "1117", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1118", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + } + }, + { + "$id": "1119", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "98" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "requestMediaTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "1120", + "finalStateVia": 2, + "finalResponse": { + "$id": "1121", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "229" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot", + "decorators": [], + "examples": [ + { + "$id": "1122", + "kind": "http", + "name": "Creates a key-value snapshot.", + "description": "Creates a key-value snapshot.", + "filePath": "2023-11-01/CreateSnapshot.json", + "parameters": [ + { + "$id": "1123", + "parameter": { + "$ref": "1097" + }, + "value": { + "$id": "1124", + "kind": "string", + "type": { + "$ref": "1098" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1125", + "parameter": { + "$ref": "1102" + }, + "value": { + "$id": "1126", + "kind": "string", + "type": { + "$ref": "1103" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1127", + "parameter": { + "$ref": "1108" + }, + "value": { + "$id": "1128", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1129", + "filters": { + "$id": "1130", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1131", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1132", + "key": { + "$id": "1133", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1134", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "retention_period": { + "$id": "1135", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 3600 + } + } + } + } + ], + "responses": [ + { + "$id": "1136", + "response": { + "$ref": "1109" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1137", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1138", + "etag": { + "$id": "1139", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1140", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1141", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "provisioning" + }, + "filters": { + "$id": "1142", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1143", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1144", + "key": { + "$id": "1145", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1146", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1147", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1148", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "1149", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 0 + }, + "items_count": { + "$id": "1150", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 0 + }, + "retention_period": { + "$id": "1151", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 3600 + }, + "tags": { + "$id": "1152", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1153" + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1154", + "name": "updateSnapshot", + "resourceName": "AzureAppConfiguration", + "summary": "Updates the state of a key-value snapshot.", + "doc": "Updates the state of a key-value snapshot.", + "accessibility": "public", + "parameters": [ + { + "$id": "1155", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1157", + "type": { + "$id": "1158", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1159", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "122" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1160", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to update.", + "type": { + "$id": "1161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1162", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1164", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1166", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1168", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1169", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1171", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1173", + "name": "entity", + "nameInRequest": "entity", + "doc": "The parameters used to update the snapshot.", + "type": { + "$ref": "307" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1174", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "229" + }, + "headers": [ + { + "$id": "1175", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1177", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1179", + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "1180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1181", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "98" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "requestMediaTypes": [ + "application/merge-patch+json", + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot", + "decorators": [], + "examples": [ + { + "$id": "1182", + "kind": "http", + "name": "Updates the state of a key-value snapshot.", + "description": "Updates the state of a key-value snapshot.", + "filePath": "2023-11-01/UpdateSnapshot.json", + "parameters": [ + { + "$id": "1183", + "parameter": { + "$ref": "1155" + }, + "value": { + "$id": "1184", + "kind": "string", + "type": { + "$ref": "1156" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1185", + "parameter": { + "$ref": "1160" + }, + "value": { + "$id": "1186", + "kind": "string", + "type": { + "$ref": "1161" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1187", + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1188", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1189", + "status": { + "$id": "1190", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "archived" + } + } + } + } + ], + "responses": [ + { + "$id": "1191", + "response": { + "$ref": "1174" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1192", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1193", + "etag": { + "$id": "1194", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1195", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1196", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "archived" + }, + "filters": { + "$id": "1197", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1198", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1199", + "key": { + "$id": "1200", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1201", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1202", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1203", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "expires": { + "$id": "1204", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "2022-09-01T22:19:40+00:00" + }, + "size": { + "$id": "1205", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 10000 + }, + "items_count": { + "$id": "1206", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 70 + }, + "retention_period": { + "$id": "1207", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "1208", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1209" + } + } + } + } + } + ] + }, + { + "$id": "1210", + "kind": "http", + "name": "Updates the state of a key-value snapshot using the If-Match header.", + "description": "Updates the state of a key-value snapshot using the If-Match header.", + "filePath": "2023-11-01/UpdateSnapshot_IfMatch.json", + "parameters": [ + { + "$id": "1211", + "parameter": { + "$ref": "1155" + }, + "value": { + "$id": "1212", + "kind": "string", + "type": { + "$ref": "1156" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1213", + "parameter": { + "$ref": "1160" + }, + "value": { + "$id": "1214", + "kind": "string", + "type": { + "$ref": "1161" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1215", + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1216", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1217", + "status": { + "$id": "1218", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "archived" + } + } + } + }, + { + "$id": "1219", + "parameter": { + "$ref": "1164" + }, + "value": { + "$id": "1220", + "kind": "string", + "type": { + "$ref": "1165" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "$id": "1221", + "response": { + "$ref": "1174" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1222", + "kind": "model", + "type": { + "$ref": "229" + }, + "value": { + "$id": "1223", + "etag": { + "$id": "1224", + "kind": "string", + "type": { + "$ref": "287" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1225", + "kind": "string", + "type": { + "$ref": "231" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1226", + "kind": "string", + "type": { + "$ref": "76" + }, + "value": "archived" + }, + "filters": { + "$id": "1227", + "kind": "array", + "type": { + "$ref": "238" + }, + "value": [ + { + "$id": "1228", + "kind": "model", + "type": { + "$ref": "239" + }, + "value": { + "$id": "1229", + "key": { + "$id": "1230", + "kind": "string", + "type": { + "$ref": "241" + }, + "value": "app1/*" + }, + "label": { + "$id": "1231", + "kind": "string", + "type": { + "$ref": "245" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1232", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "all" + }, + "created": { + "$id": "1233", + "kind": "string", + "type": { + "$ref": "259" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "expires": { + "$id": "1234", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "2022-09-01T22:19:40+00:00" + }, + "size": { + "$id": "1235", + "kind": "number", + "type": { + "$ref": "273" + }, + "value": 10000 + }, + "items_count": { + "$id": "1236", + "kind": "number", + "type": { + "$ref": "277" + }, + "value": 70 + }, + "retention_period": { + "$id": "1237", + "kind": "number", + "type": { + "$ref": "269" + }, + "value": 2592000 + }, + "tags": { + "$id": "1238", + "kind": "dict", + "type": { + "$ref": "281" + }, + "value": { + "$id": "1239" + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1240", + "name": "checkSnapshot", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1241", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1243", + "type": { + "$id": "1244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1245", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to check.", + "type": { + "$id": "1246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1247", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1248", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1249", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1251", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1253", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1254", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1256", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1257", + "kind": "constant", + "valueType": { + "$id": "1258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1259", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "1260", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1262", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1264", + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "1265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot", + "decorators": [], + "examples": [ + { + "$id": "1266", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckSnapshot.json", + "parameters": [ + { + "$id": "1267", + "parameter": { + "$ref": "1241" + }, + "value": { + "$id": "1268", + "kind": "string", + "type": { + "$ref": "1242" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1269", + "parameter": { + "$ref": "1245" + }, + "value": { + "$id": "1270", + "kind": "string", + "type": { + "$ref": "1246" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "$id": "1271", + "response": { + "$ref": "1259" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "1272", + "kind": "http", + "name": "Requests the headers and status of the given resource using If-Match header.", + "description": "Requests the headers and status of the given resource using If-Match header.", + "filePath": "2023-11-01/CheckSnapshot_IfMatch.json", + "parameters": [ + { + "$id": "1273", + "parameter": { + "$ref": "1241" + }, + "value": { + "$id": "1274", + "kind": "string", + "type": { + "$ref": "1242" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1275", + "parameter": { + "$ref": "1245" + }, + "value": { + "$id": "1276", + "kind": "string", + "type": { + "$ref": "1246" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1277", + "parameter": { + "$ref": "1249" + }, + "value": { + "$id": "1278", + "kind": "string", + "type": { + "$ref": "1250" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "$id": "1279", + "response": { + "$ref": "1259" + }, + "statusCode": 200 + } + ] + }, + { + "$id": "1280", + "kind": "http", + "name": "Requests the headers and status of the given resource using If-None-Match header", + "description": "Requests the headers and status of the given resource using If-None-Match header", + "filePath": "2023-11-01/CheckSnapshot_IfNoneMatch.json", + "parameters": [ + { + "$id": "1281", + "parameter": { + "$ref": "1241" + }, + "value": { + "$id": "1282", + "kind": "string", + "type": { + "$ref": "1242" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1283", + "parameter": { + "$ref": "1245" + }, + "value": { + "$id": "1284", + "kind": "string", + "type": { + "$ref": "1246" + }, + "value": "Prod-2022-08-01" + } + }, + { + "$id": "1285", + "parameter": { + "$ref": "1251" + }, + "value": { + "$id": "1286", + "kind": "string", + "type": { + "$ref": "1252" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "1287", + "response": { + "$ref": "1259" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "1288", + "name": "getLabels", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a list of labels.", + "doc": "Gets a list of labels.", + "accessibility": "public", + "parameters": [ + { + "$id": "1289", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1290", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1291", + "type": { + "$id": "1292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1293", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1295", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1297", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1299", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1301", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "1302", + "kind": "array", + "name": "ArrayLabelFields", + "valueType": { + "$ref": "128" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1303", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1304", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1306", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1308", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "311" + }, + "headers": [ + { + "$id": "1309", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1310", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1311", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "132" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.labelset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/labels", + "bufferResponse": true, + "paging": { + "$id": "1312", + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "$id": "1313", + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels", + "decorators": [], + "examples": [ + { + "$id": "1314", + "kind": "http", + "name": "Gets a list of labels.", + "description": "Gets a list of labels.", + "filePath": "2023-11-01/GetLabels.json", + "parameters": [ + { + "$id": "1315", + "parameter": { + "$ref": "1289" + }, + "value": { + "$id": "1316", + "kind": "string", + "type": { + "$ref": "1290" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "1317", + "response": { + "$ref": "1308" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1318", + "kind": "model", + "type": { + "$ref": "311" + }, + "value": { + "$id": "1319", + "items": { + "$id": "1320", + "kind": "array", + "type": { + "$ref": "313" + }, + "value": [ + { + "$id": "1321", + "kind": "model", + "type": { + "$ref": "314" + }, + "value": { + "$id": "1322" + } + }, + { + "$id": "1323", + "kind": "model", + "type": { + "$ref": "314" + }, + "value": { + "$id": "1324", + "name": { + "$id": "1325", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "Asset1" + } + } + }, + { + "$id": "1326", + "kind": "model", + "type": { + "$ref": "314" + }, + "value": { + "$id": "1327", + "name": { + "$id": "1328", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "Asset1/devCi" + } + } + }, + { + "$id": "1329", + "kind": "model", + "type": { + "$ref": "314" + }, + "value": { + "$id": "1330", + "name": { + "$id": "1331", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "Asset1/devCi/branch1" + } + } + }, + { + "$id": "1332", + "kind": "model", + "type": { + "$ref": "314" + }, + "value": { + "$id": "1333", + "name": { + "$id": "1334", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "WestUs" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "1335", + "name": "checkLabels", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1336", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1338", + "type": { + "$id": "1339", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1340", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1341", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1342", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1344", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1346", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1348", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "1349", + "kind": "array", + "name": "ArrayLabelFields", + "valueType": { + "$ref": "128" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1350", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1351", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1353", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1354", + "kind": "constant", + "valueType": { + "$id": "1355", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1356", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "1357", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1358", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/labels", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkLabels", + "decorators": [], + "examples": [ + { + "$id": "1359", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckLabels.json", + "parameters": [ + { + "$id": "1360", + "parameter": { + "$ref": "1336" + }, + "value": { + "$id": "1361", + "kind": "string", + "type": { + "$ref": "1337" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "1362", + "response": { + "$ref": "1356" + }, + "statusCode": 200 + } + ] + } + ] + }, + { + "$id": "1363", + "name": "putLock", + "resourceName": "AzureAppConfiguration", + "summary": "Locks a key-value.", + "doc": "Locks a key-value.", + "accessibility": "public", + "parameters": [ + { + "$id": "1364", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1366", + "type": { + "$id": "1367", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1368", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to lock.", + "type": { + "$id": "1369", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1370", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to lock.", + "type": { + "$id": "1371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1372", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1373", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1374", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1376", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1377", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1378", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1379", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1380", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1381", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1382", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1383", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "180" + }, + "headers": [ + { + "$id": "1384", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1386", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1388", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "32" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/locks/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putLock", + "decorators": [], + "examples": [ + { + "$id": "1389", + "kind": "http", + "name": "Locks a key-value.", + "description": "Locks a key-value.", + "filePath": "2023-11-01/PutLock.json", + "parameters": [ + { + "$id": "1390", + "parameter": { + "$ref": "1364" + }, + "value": { + "$id": "1391", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1392", + "parameter": { + "$ref": "1368" + }, + "value": { + "$id": "1393", + "kind": "string", + "type": { + "$ref": "1369" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "1394", + "response": { + "$ref": "1383" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1395", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1396", + "etag": { + "$id": "1397", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV4" + }, + "key": { + "$id": "1398", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1399", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1400", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1401" + } + }, + "locked": { + "$id": "1402", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": true + }, + "last_modified": { + "$id": "1403", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "1404", + "kind": "http", + "name": "Locks a key-value using If-Match header.", + "description": "Locks a key-value using If-Match header.", + "filePath": "2023-11-01/PutLock_IfMatch.json", + "parameters": [ + { + "$id": "1405", + "parameter": { + "$ref": "1364" + }, + "value": { + "$id": "1406", + "kind": "string", + "type": { + "$ref": "1365" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1407", + "parameter": { + "$ref": "1368" + }, + "value": { + "$id": "1408", + "kind": "string", + "type": { + "$ref": "1369" + }, + "value": "Message" + } + }, + { + "$id": "1409", + "parameter": { + "$ref": "1374" + }, + "value": { + "$id": "1410", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "1411", + "response": { + "$ref": "1383" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1412", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1413", + "etag": { + "$id": "1414", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "1415", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1416", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1417", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1418" + } + }, + "locked": { + "$id": "1419", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": true + }, + "last_modified": { + "$id": "1420", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + { + "$id": "1421", + "name": "deleteLock", + "resourceName": "AzureAppConfiguration", + "summary": "Unlocks a key-value.", + "doc": "Unlocks a key-value.", + "accessibility": "public", + "parameters": [ + { + "$id": "1422", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1423", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1424", + "type": { + "$id": "1425", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1426", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to unlock.", + "type": { + "$id": "1427", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1428", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to unlock.", + "type": { + "$id": "1429", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1430", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1431", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1432", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1433", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1434", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1435", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1436", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1437", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1439", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1440", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1441", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "180" + }, + "headers": [ + { + "$id": "1442", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1443", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1444", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1445", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1446", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "32" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/locks/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteLock", + "decorators": [], + "examples": [ + { + "$id": "1447", + "kind": "http", + "name": "Unlocks a key-value.", + "description": "Unlocks a key-value.", + "filePath": "2023-11-01/DeleteLock.json", + "parameters": [ + { + "$id": "1448", + "parameter": { + "$ref": "1422" + }, + "value": { + "$id": "1449", + "kind": "string", + "type": { + "$ref": "1423" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1450", + "parameter": { + "$ref": "1426" + }, + "value": { + "$id": "1451", + "kind": "string", + "type": { + "$ref": "1427" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "$id": "1452", + "response": { + "$ref": "1441" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1453", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1454", + "etag": { + "$id": "1455", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s" + }, + "key": { + "$id": "1456", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1457", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1458", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1459" + } + }, + "locked": { + "$id": "1460", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "1461", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "1462", + "kind": "http", + "name": "Unlocks a key-value using If-Match header.", + "description": "Unlocks a key-value using If-Match header.", + "filePath": "2023-11-01/DeleteLock_IfMatch.json", + "parameters": [ + { + "$id": "1463", + "parameter": { + "$ref": "1422" + }, + "value": { + "$id": "1464", + "kind": "string", + "type": { + "$ref": "1423" + }, + "value": "2023-11-01" + } + }, + { + "$id": "1465", + "parameter": { + "$ref": "1426" + }, + "value": { + "$id": "1466", + "kind": "string", + "type": { + "$ref": "1427" + }, + "value": "Message" + } + }, + { + "$id": "1467", + "parameter": { + "$ref": "1432" + }, + "value": { + "$id": "1468", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "$id": "1469", + "response": { + "$ref": "1441" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1470", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1471", + "etag": { + "$id": "1472", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "1473", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1474", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1475", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1476" + } + }, + "locked": { + "$id": "1477", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "1478", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + { + "$id": "1479", + "name": "getRevisions", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a list of key-value revisions.", + "doc": "Gets a list of key-value revisions.", + "accessibility": "public", + "parameters": [ + { + "$id": "1480", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1481", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1482", + "type": { + "$id": "1483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1484", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1486", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1487", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1488", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1489", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1490", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1491", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1492", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1493", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1494", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "1495", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1496", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1497", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1498", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1499", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1500", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1501", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1502", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1503", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1504", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "177" + }, + "headers": [ + { + "$id": "1505", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1506", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1507", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1508", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1509", + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "26" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/revisions", + "bufferResponse": true, + "paging": { + "$id": "1510", + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "$id": "1511", + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getRevisions", + "decorators": [], + "examples": [ + { + "$id": "1512", + "kind": "http", + "name": "Gets a list of key-value revisions.", + "description": "Gets a list of key-value revisions.", + "filePath": "2023-11-01/GetRevisions.json", + "parameters": [ + { + "$id": "1513", + "parameter": { + "$ref": "1480" + }, + "value": { + "$id": "1514", + "kind": "string", + "type": { + "$ref": "1481" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "1515", + "response": { + "$ref": "1504" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1516", + "kind": "model", + "type": { + "$ref": "177" + }, + "value": { + "$id": "1517", + "items": { + "$id": "1518", + "kind": "array", + "type": { + "$ref": "179" + }, + "value": [ + { + "$id": "1519", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1520", + "etag": { + "$id": "1521", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s" + }, + "key": { + "$id": "1522", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1523", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1524", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1525" + } + }, + "locked": { + "$id": "1526", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "1527", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + }, + { + "$id": "1528", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1529", + "etag": { + "$id": "1530", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV4" + }, + "key": { + "$id": "1531", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1532", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "A new message." + }, + "tags": { + "$id": "1533", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1534" + } + }, + "locked": { + "$id": "1535", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "1536", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:52:20+00:00" + } + } + }, + { + "$id": "1537", + "kind": "model", + "type": { + "$ref": "180" + }, + "value": { + "$id": "1538", + "etag": { + "$id": "1539", + "kind": "string", + "type": { + "$ref": "213" + }, + "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL" + }, + "key": { + "$id": "1540", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Message" + }, + "value": { + "$id": "1541", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1542", + "kind": "dict", + "type": { + "$ref": "203" + }, + "value": { + "$id": "1543" + } + }, + "locked": { + "$id": "1544", + "kind": "boolean", + "type": { + "$ref": "209" + }, + "value": false + }, + "last_modified": { + "$id": "1545", + "kind": "string", + "type": { + "$ref": "198" + }, + "value": "2019-08-27T16:50:47+00:00" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "1546", + "name": "checkRevisions", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1547", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1548", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1549", + "type": { + "$id": "1550", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2023-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1551", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1553", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1554", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1555", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1556", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1557", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1558", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1559", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1560", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1561", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "1562", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "8" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1563", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1564", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1565", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1566", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1567", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1568", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1569", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1570", + "kind": "constant", + "valueType": { + "$id": "1571", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1572", + "statusCodes": [ + 200 + ], + "headers": [ + { + "$id": "1573", + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1575", + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1576", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/revisions", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions", + "decorators": [], + "examples": [ + { + "$id": "1577", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2023-11-01/CheckRevisions.json", + "parameters": [ + { + "$id": "1578", + "parameter": { + "$ref": "1547" + }, + "value": { + "$id": "1579", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "2023-11-01" + } + } + ], + "responses": [ + { + "$id": "1580", + "response": { + "$ref": "1572" + }, + "statusCode": 200 + } + ] + } + ] + } + ], + "parameters": [ + { + "$id": "1581", + "name": "endpoint", + "nameInRequest": "endpoint", + "type": { + "$id": "1582", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client" + } + ], + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration" + } + ], + "auth": { + "$id": "1583", + "apiKey": { + "$id": "1584", + "name": "Connection String", + "in": "header" + }, + "oAuth2": { + "$id": "1585", + "scopes": [ + "https://azconfig.io/.default" + ] + } + } +} diff --git a/sdk/batch/Azure.Compute.Batch/tsp-location.yaml b/sdk/batch/Azure.Compute.Batch/tsp-location.yaml index 8e6c9fccab46..f095983733c3 100644 --- a/sdk/batch/Azure.Compute.Batch/tsp-location.yaml +++ b/sdk/batch/Azure.Compute.Batch/tsp-location.yaml @@ -1,3 +1,4 @@ directory: specification/batch/Azure.Batch -commit: e7ed63002df7e9cc1d3e4cd139d76c4d7040acd3 +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/Azure.ResourceManager.DurableTask.sln b/sdk/durabletask/Azure.ResourceManager.DurableTask/Azure.ResourceManager.DurableTask.sln new file mode 100644 index 000000000000..4564bbd5499e --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/Azure.ResourceManager.DurableTask.sln @@ -0,0 +1,56 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29709.97 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.DurableTask.Samples", "samples\Azure.ResourceManager.DurableTask.Samples.csproj", "{7A2DFF15-5746-49F4-BD0F-C6C35337088A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.DurableTask", "src\Azure.ResourceManager.DurableTask.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.DurableTask.Tests", "tests\Azure.ResourceManager.DurableTask.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU + {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Release|Any CPU.Build.0 = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} + EndGlobalSection +EndGlobal diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/CHANGELOG.md b/sdk/durabletask/Azure.ResourceManager.DurableTask/CHANGELOG.md new file mode 100644 index 000000000000..8b33f0fedccc --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/CHANGELOG.md @@ -0,0 +1,11 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes \ No newline at end of file diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/Directory.Build.props b/sdk/durabletask/Azure.ResourceManager.DurableTask/Directory.Build.props new file mode 100644 index 000000000000..63bd836ad44b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/Directory.Build.props @@ -0,0 +1,6 @@ + + + + diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/README.md b/sdk/durabletask/Azure.ResourceManager.DurableTask/README.md new file mode 100644 index 000000000000..61c6950f4999 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/README.md @@ -0,0 +1,80 @@ +# Microsoft Azure DurableTask management client library for .NET + +**[Describe the service briefly first.]** + +This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities: + + - Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET. + - Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing. + - HTTP pipeline with custom policies. + - Better error-handling. + - Support uniform telemetry across all languages. + +## Getting started + +### Install the package + +Install the Microsoft Azure DurableTask management library for .NET with [NuGet](https://www.nuget.org/): + +```dotnetcli +dotnet add package Azure.ResourceManager.DurableTask --prerelease +``` + +### Prerequisites + +* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/). + +### Authenticate the Client + +To create an authenticated client and start interacting with Microsoft Azure resources, see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md). + +## Key concepts + +Key concepts of the Microsoft Azure SDK for .NET can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html) + +## Documentation + +Documentation is available to help you learn how to use this package: + +- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md). +- [API References](https://learn.microsoft.com/dotnet/api/?view=azure-dotnet). +- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md). + +## Examples + +Code samples for using the management library for .NET can be found in the following locations +- [.NET Management Library Code Samples](https://aka.ms/azuresdk-net-mgmt-samples) + +## Troubleshooting + +- File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-net/issues). +- Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on Stack Overflow using Azure and .NET tags. + +## Next steps + +For more information about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/). + +## Contributing + +For details on contributing to this repository, see the [contributing +guide][cg]. + +This project welcomes contributions and suggestions. Most contributions +require you to agree to a Contributor License Agreement (CLA) declaring +that you have the right to, and actually do, grant us the rights to use +your contribution. For details, visit . + +When you submit a pull request, a CLA-bot will automatically determine +whether you need to provide a CLA and decorate the PR appropriately +(for example, label, comment). Follow the instructions provided by the +bot. You'll only need to do this action once across all repositories +using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For +more information, see the [Code of Conduct FAQ][coc_faq] or contact + with any other questions or comments. + + +[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md +[coc]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ \ No newline at end of file diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.net8.0.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.net8.0.cs new file mode 100644 index 000000000000..ede053490d5f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.net8.0.cs @@ -0,0 +1,270 @@ +namespace Azure.ResourceManager.DurableTask +{ + public static partial class DurableTaskExtensions + { + public static Azure.Response GetScheduler(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static System.Threading.Tasks.Task> GetSchedulerAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.ResourceManager.DurableTask.SchedulerResource GetSchedulerResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } + public static Azure.ResourceManager.DurableTask.SchedulerCollection GetSchedulers(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; } + public static Azure.Pageable GetSchedulers(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.AsyncPageable GetSchedulersAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.ResourceManager.DurableTask.TaskHubResource GetTaskHubResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } + } + public partial class SchedulerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + protected SchedulerCollection() { } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string schedulerName, Azure.ResourceManager.DurableTask.SchedulerData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string schedulerName, Azure.ResourceManager.DurableTask.SchedulerData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public partial class SchedulerData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerData(Azure.Core.AzureLocation location) { } + public Azure.ResourceManager.DurableTask.Models.SchedulerProperties Properties { get { throw null; } set { } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public static readonly Azure.Core.ResourceType ResourceType; + protected SchedulerResource() { } + public virtual Azure.ResourceManager.DurableTask.SchedulerData Data { get { throw null; } } + public virtual bool HasData { get { throw null; } } + public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTaskHub(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTaskHubAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.DurableTask.TaskHubCollection GetTaskHubs() { throw null; } + public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.Models.SchedulerPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.Models.SchedulerPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class TaskHubCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + protected TaskHubCollection() { } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string taskHubName, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string taskHubName, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public partial class TaskHubData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public TaskHubData() { } + public Azure.ResourceManager.DurableTask.Models.TaskHubProperties Properties { get { throw null; } set { } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class TaskHubResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public static readonly Azure.Core.ResourceType ResourceType; + protected TaskHubResource() { } + public virtual Azure.ResourceManager.DurableTask.TaskHubData Data { get { throw null; } } + public virtual bool HasData { get { throw null; } } + public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} +namespace Azure.ResourceManager.DurableTask.Mocking +{ + public partial class MockableDurableTaskArmClient : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskArmClient() { } + public virtual Azure.ResourceManager.DurableTask.SchedulerResource GetSchedulerResource(Azure.Core.ResourceIdentifier id) { throw null; } + public virtual Azure.ResourceManager.DurableTask.TaskHubResource GetTaskHubResource(Azure.Core.ResourceIdentifier id) { throw null; } + } + public partial class MockableDurableTaskResourceGroupResource : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskResourceGroupResource() { } + public virtual Azure.Response GetScheduler(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSchedulerAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.DurableTask.SchedulerCollection GetSchedulers() { throw null; } + } + public partial class MockableDurableTaskSubscriptionResource : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskSubscriptionResource() { } + public virtual Azure.Pageable GetSchedulers(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSchedulersAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} +namespace Azure.ResourceManager.DurableTask.Models +{ + public static partial class ArmDurableTaskModelFactory + { + public static Azure.ResourceManager.DurableTask.SchedulerData SchedulerData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DurableTask.Models.SchedulerProperties properties = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerProperties SchedulerProperties(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), string endpoint = null, System.Collections.Generic.IEnumerable ipAllowlist = null, Azure.ResourceManager.DurableTask.Models.SchedulerSku sku = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate SchedulerPropertiesUpdate(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), string endpoint = null, System.Collections.Generic.IEnumerable ipAllowlist = null, Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate sku = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerSku SchedulerSku(string name = null, int? capacity = default(int?), Azure.ResourceManager.DurableTask.Models.RedundancyState? redundancyState = default(Azure.ResourceManager.DurableTask.Models.RedundancyState?)) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate SchedulerSkuUpdate(string name = null, int? capacity = default(int?), Azure.ResourceManager.DurableTask.Models.RedundancyState? redundancyState = default(Azure.ResourceManager.DurableTask.Models.RedundancyState?)) { throw null; } + public static Azure.ResourceManager.DurableTask.TaskHubData TaskHubData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.DurableTask.Models.TaskHubProperties properties = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.TaskHubProperties TaskHubProperties(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), System.Uri dashboardUri = null) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ProvisioningState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ProvisioningState(string value) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Accepted { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Canceled { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Deleting { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Failed { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Provisioning { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Succeeded { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Updating { get { throw null; } } + public bool Equals(Azure.ResourceManager.DurableTask.Models.ProvisioningState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DurableTask.Models.ProvisioningState left, Azure.ResourceManager.DurableTask.Models.ProvisioningState right) { throw null; } + public static implicit operator Azure.ResourceManager.DurableTask.Models.ProvisioningState (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DurableTask.Models.ProvisioningState left, Azure.ResourceManager.DurableTask.Models.ProvisioningState right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct RedundancyState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public RedundancyState(string value) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.RedundancyState None { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.RedundancyState Zone { get { throw null; } } + public bool Equals(Azure.ResourceManager.DurableTask.Models.RedundancyState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DurableTask.Models.RedundancyState left, Azure.ResourceManager.DurableTask.Models.RedundancyState right) { throw null; } + public static implicit operator Azure.ResourceManager.DurableTask.Models.RedundancyState (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DurableTask.Models.RedundancyState left, Azure.ResourceManager.DurableTask.Models.RedundancyState right) { throw null; } + public override string ToString() { throw null; } + } + public partial class SchedulerPatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerPatch() { } + public Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate Properties { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Tags { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPatch System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerProperties(System.Collections.Generic.IEnumerable ipAllowlist, Azure.ResourceManager.DurableTask.Models.SchedulerSku sku) { } + public string Endpoint { get { throw null; } } + public System.Collections.Generic.IList IPAllowlist { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.SchedulerSku Sku { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerPropertiesUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerPropertiesUpdate() { } + public string Endpoint { get { throw null; } } + public System.Collections.Generic.IList IPAllowlist { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate Sku { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerSku : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerSku(string name) { } + public int? Capacity { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public Azure.ResourceManager.DurableTask.Models.RedundancyState? RedundancyState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSku System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSku System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerSkuUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerSkuUpdate() { } + public int? Capacity { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public Azure.ResourceManager.DurableTask.Models.RedundancyState? RedundancyState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class TaskHubProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public TaskHubProperties() { } + public System.Uri DashboardUri { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.TaskHubProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.TaskHubProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.netstandard2.0.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.netstandard2.0.cs new file mode 100644 index 000000000000..ede053490d5f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.netstandard2.0.cs @@ -0,0 +1,270 @@ +namespace Azure.ResourceManager.DurableTask +{ + public static partial class DurableTaskExtensions + { + public static Azure.Response GetScheduler(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static System.Threading.Tasks.Task> GetSchedulerAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.ResourceManager.DurableTask.SchedulerResource GetSchedulerResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } + public static Azure.ResourceManager.DurableTask.SchedulerCollection GetSchedulers(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; } + public static Azure.Pageable GetSchedulers(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.AsyncPageable GetSchedulersAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.ResourceManager.DurableTask.TaskHubResource GetTaskHubResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } + } + public partial class SchedulerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + protected SchedulerCollection() { } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string schedulerName, Azure.ResourceManager.DurableTask.SchedulerData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string schedulerName, Azure.ResourceManager.DurableTask.SchedulerData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public partial class SchedulerData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerData(Azure.Core.AzureLocation location) { } + public Azure.ResourceManager.DurableTask.Models.SchedulerProperties Properties { get { throw null; } set { } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public static readonly Azure.Core.ResourceType ResourceType; + protected SchedulerResource() { } + public virtual Azure.ResourceManager.DurableTask.SchedulerData Data { get { throw null; } } + public virtual bool HasData { get { throw null; } } + public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTaskHub(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTaskHubAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.DurableTask.TaskHubCollection GetTaskHubs() { throw null; } + public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.SchedulerData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.Models.SchedulerPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.Models.SchedulerPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class TaskHubCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + protected TaskHubCollection() { } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string taskHubName, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string taskHubName, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string taskHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public partial class TaskHubData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public TaskHubData() { } + public Azure.ResourceManager.DurableTask.Models.TaskHubProperties Properties { get { throw null; } set { } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class TaskHubResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public static readonly Azure.Core.ResourceType ResourceType; + protected TaskHubResource() { } + public virtual Azure.ResourceManager.DurableTask.TaskHubData Data { get { throw null; } } + public virtual bool HasData { get { throw null; } } + public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.TaskHubData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.TaskHubData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} +namespace Azure.ResourceManager.DurableTask.Mocking +{ + public partial class MockableDurableTaskArmClient : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskArmClient() { } + public virtual Azure.ResourceManager.DurableTask.SchedulerResource GetSchedulerResource(Azure.Core.ResourceIdentifier id) { throw null; } + public virtual Azure.ResourceManager.DurableTask.TaskHubResource GetTaskHubResource(Azure.Core.ResourceIdentifier id) { throw null; } + } + public partial class MockableDurableTaskResourceGroupResource : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskResourceGroupResource() { } + public virtual Azure.Response GetScheduler(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSchedulerAsync(string schedulerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.DurableTask.SchedulerCollection GetSchedulers() { throw null; } + } + public partial class MockableDurableTaskSubscriptionResource : Azure.ResourceManager.ArmResource + { + protected MockableDurableTaskSubscriptionResource() { } + public virtual Azure.Pageable GetSchedulers(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSchedulersAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} +namespace Azure.ResourceManager.DurableTask.Models +{ + public static partial class ArmDurableTaskModelFactory + { + public static Azure.ResourceManager.DurableTask.SchedulerData SchedulerData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DurableTask.Models.SchedulerProperties properties = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerProperties SchedulerProperties(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), string endpoint = null, System.Collections.Generic.IEnumerable ipAllowlist = null, Azure.ResourceManager.DurableTask.Models.SchedulerSku sku = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate SchedulerPropertiesUpdate(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), string endpoint = null, System.Collections.Generic.IEnumerable ipAllowlist = null, Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate sku = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerSku SchedulerSku(string name = null, int? capacity = default(int?), Azure.ResourceManager.DurableTask.Models.RedundancyState? redundancyState = default(Azure.ResourceManager.DurableTask.Models.RedundancyState?)) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate SchedulerSkuUpdate(string name = null, int? capacity = default(int?), Azure.ResourceManager.DurableTask.Models.RedundancyState? redundancyState = default(Azure.ResourceManager.DurableTask.Models.RedundancyState?)) { throw null; } + public static Azure.ResourceManager.DurableTask.TaskHubData TaskHubData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.DurableTask.Models.TaskHubProperties properties = null) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.TaskHubProperties TaskHubProperties(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), System.Uri dashboardUri = null) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ProvisioningState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ProvisioningState(string value) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Accepted { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Canceled { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Deleting { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Failed { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Provisioning { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Succeeded { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.ProvisioningState Updating { get { throw null; } } + public bool Equals(Azure.ResourceManager.DurableTask.Models.ProvisioningState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DurableTask.Models.ProvisioningState left, Azure.ResourceManager.DurableTask.Models.ProvisioningState right) { throw null; } + public static implicit operator Azure.ResourceManager.DurableTask.Models.ProvisioningState (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DurableTask.Models.ProvisioningState left, Azure.ResourceManager.DurableTask.Models.ProvisioningState right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct RedundancyState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public RedundancyState(string value) { throw null; } + public static Azure.ResourceManager.DurableTask.Models.RedundancyState None { get { throw null; } } + public static Azure.ResourceManager.DurableTask.Models.RedundancyState Zone { get { throw null; } } + public bool Equals(Azure.ResourceManager.DurableTask.Models.RedundancyState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DurableTask.Models.RedundancyState left, Azure.ResourceManager.DurableTask.Models.RedundancyState right) { throw null; } + public static implicit operator Azure.ResourceManager.DurableTask.Models.RedundancyState (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DurableTask.Models.RedundancyState left, Azure.ResourceManager.DurableTask.Models.RedundancyState right) { throw null; } + public override string ToString() { throw null; } + } + public partial class SchedulerPatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerPatch() { } + public Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate Properties { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Tags { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPatch System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerProperties(System.Collections.Generic.IEnumerable ipAllowlist, Azure.ResourceManager.DurableTask.Models.SchedulerSku sku) { } + public string Endpoint { get { throw null; } } + public System.Collections.Generic.IList IPAllowlist { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.SchedulerSku Sku { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerPropertiesUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerPropertiesUpdate() { } + public string Endpoint { get { throw null; } } + public System.Collections.Generic.IList IPAllowlist { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate Sku { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerPropertiesUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerSku : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerSku(string name) { } + public int? Capacity { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public Azure.ResourceManager.DurableTask.Models.RedundancyState? RedundancyState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSku System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSku System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SchedulerSkuUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SchedulerSkuUpdate() { } + public int? Capacity { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public Azure.ResourceManager.DurableTask.Models.RedundancyState? RedundancyState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.SchedulerSkuUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class TaskHubProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public TaskHubProperties() { } + public System.Uri DashboardUri { get { throw null; } } + public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.TaskHubProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DurableTask.Models.TaskHubProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/assets.json b/sdk/durabletask/Azure.ResourceManager.DurableTask/assets.json new file mode 100644 index 000000000000..56671aacf0f5 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/assets.json @@ -0,0 +1,7 @@ + +{ + "AssetsRepo": "Azure/azure-sdk-assets", + "AssetsRepoPrefixPath": "net", + "TagPrefix": "net/durabletask/Azure.ResourceManager.DurableTask", + "Tag": "" +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Azure.ResourceManager.DurableTask.Samples.csproj b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Azure.ResourceManager.DurableTask.Samples.csproj new file mode 100644 index 000000000000..536ac11ce49a --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Azure.ResourceManager.DurableTask.Samples.csproj @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerCollection.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerCollection.cs new file mode 100644 index 000000000000..59fb120a856d --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerCollection.cs @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Resources; +using NUnit.Framework; + +namespace Azure.ResourceManager.DurableTask.Samples +{ + public partial class Sample_SchedulerCollection + { + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_SchedulersCreateOrUpdate() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_CreateOrUpdate.json + // this example is just showing the usage of "Scheduler_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this SchedulerResource + SchedulerCollection collection = resourceGroupResource.GetSchedulers(); + + // invoke the operation + string schedulerName = "testscheduler"; + SchedulerData data = new SchedulerData(new AzureLocation("northcentralus")) + { + Properties = new SchedulerProperties(new string[] { "10.0.0.0/8" }, new SchedulerSku("Dedicated")), + Tags = +{ +["key7131"] = "ryohwcoiccwsnewjigfmijz", +["key2138"] = "fjaeecgnvqd" +}, + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, schedulerName, data); + SchedulerResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Get_SchedulersGet() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Get.json + // this example is just showing the usage of "Scheduler_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this SchedulerResource + SchedulerCollection collection = resourceGroupResource.GetSchedulers(); + + // invoke the operation + string schedulerName = "testscheduler"; + SchedulerResource result = await collection.GetAsync(schedulerName); + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetAll_SchedulersListByResourceGroup() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_ListByResourceGroup.json + // this example is just showing the usage of "Scheduler_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this SchedulerResource + SchedulerCollection collection = resourceGroupResource.GetSchedulers(); + + // invoke the operation and iterate over the result + await foreach (SchedulerResource item in collection.GetAllAsync()) + { + // the variable item is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = item.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + Console.WriteLine("Succeeded"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Exists_SchedulersGet() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Get.json + // this example is just showing the usage of "Scheduler_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this SchedulerResource + SchedulerCollection collection = resourceGroupResource.GetSchedulers(); + + // invoke the operation + string schedulerName = "testscheduler"; + bool result = await collection.ExistsAsync(schedulerName); + + Console.WriteLine($"Succeeded: {result}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetIfExists_SchedulersGet() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Get.json + // this example is just showing the usage of "Scheduler_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this SchedulerResource + SchedulerCollection collection = resourceGroupResource.GetSchedulers(); + + // invoke the operation + string schedulerName = "testscheduler"; + NullableResponse response = await collection.GetIfExistsAsync(schedulerName); + SchedulerResource result = response.HasValue ? response.Value : null; + + if (result == null) + { + Console.WriteLine("Succeeded with null as result"); + } + else + { + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerResource.cs new file mode 100644 index 000000000000..a5db61e7fbeb --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SchedulerResource.cs @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using Azure.ResourceManager.DurableTask.Models; +using NUnit.Framework; + +namespace Azure.ResourceManager.DurableTask.Samples +{ + public partial class Sample_SchedulerResource + { + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Get_SchedulersGet() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Get.json + // this example is just showing the usage of "Scheduler_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // invoke the operation + SchedulerResource result = await scheduler.GetAsync(); + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Delete_SchedulersDelete() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Delete.json + // this example is just showing the usage of "Scheduler_Delete" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // invoke the operation + await scheduler.DeleteAsync(WaitUntil.Completed); + + Console.WriteLine("Succeeded"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Update_SchedulersUpdate() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_Update.json + // this example is just showing the usage of "Scheduler_Update" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // invoke the operation + SchedulerPatch patch = new SchedulerPatch + { + Properties = new SchedulerPropertiesUpdate + { + IPAllowlist = { "10.0.0.0/8" }, + Sku = new SchedulerSkuUpdate + { + Name = "Dedicated", + Capacity = 10, + }, + }, + Tags = +{ +["key8653"] = "lr" +}, + }; + ArmOperation lro = await scheduler.UpdateAsync(WaitUntil.Completed, patch); + SchedulerResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs new file mode 100644 index 000000000000..ed50efa434ea --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using Azure.ResourceManager.Resources; +using NUnit.Framework; + +namespace Azure.ResourceManager.DurableTask.Samples +{ + public partial class Sample_SubscriptionResourceExtensions + { + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetSchedulers_SchedulersListBySubscription() + { + // Generated from example definition: 2024-10-01-preview/Schedulers_ListBySubscription.json + // this example is just showing the usage of "Scheduler_ListBySubscription" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SubscriptionResource created on azure + // for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId); + SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId); + + // invoke the operation and iterate over the result + await foreach (SchedulerResource item in subscriptionResource.GetSchedulersAsync()) + { + // the variable item is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + SchedulerData resourceData = item.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + Console.WriteLine("Succeeded"); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubCollection.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubCollection.cs new file mode 100644 index 000000000000..b84dc3556b78 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubCollection.cs @@ -0,0 +1,200 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using Azure.ResourceManager.DurableTask.Models; +using NUnit.Framework; + +namespace Azure.ResourceManager.DurableTask.Samples +{ + public partial class Sample_TaskHubCollection + { + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_TaskHubsCreateOrUpdate() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_CreateOrUpdate.json + // this example is just showing the usage of "TaskHub_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // get the collection of this TaskHubResource + TaskHubCollection collection = scheduler.GetTaskHubs(); + + // invoke the operation + string taskHubName = "testtaskhub"; + TaskHubData data = new TaskHubData + { + Properties = new TaskHubProperties(), + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, taskHubName, data); + TaskHubResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Get_TaskHubsGet() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_Get.json + // this example is just showing the usage of "TaskHub_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // get the collection of this TaskHubResource + TaskHubCollection collection = scheduler.GetTaskHubs(); + + // invoke the operation + string taskHubName = "testtuskhub"; + TaskHubResource result = await collection.GetAsync(taskHubName); + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetAll_TaskHubsListByScheduler() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_ListByScheduler.json + // this example is just showing the usage of "TaskHub_ListByScheduler" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testtaskhub"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // get the collection of this TaskHubResource + TaskHubCollection collection = scheduler.GetTaskHubs(); + + // invoke the operation and iterate over the result + await foreach (TaskHubResource item in collection.GetAllAsync()) + { + // the variable item is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = item.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + Console.WriteLine("Succeeded"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Exists_TaskHubsGet() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_Get.json + // this example is just showing the usage of "TaskHub_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // get the collection of this TaskHubResource + TaskHubCollection collection = scheduler.GetTaskHubs(); + + // invoke the operation + string taskHubName = "testtuskhub"; + bool result = await collection.ExistsAsync(taskHubName); + + Console.WriteLine($"Succeeded: {result}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetIfExists_TaskHubsGet() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_Get.json + // this example is just showing the usage of "TaskHub_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this SchedulerResource created on azure + // for more information of creating SchedulerResource, please refer to the document of SchedulerResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + ResourceIdentifier schedulerResourceId = SchedulerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName); + SchedulerResource scheduler = client.GetSchedulerResource(schedulerResourceId); + + // get the collection of this TaskHubResource + TaskHubCollection collection = scheduler.GetTaskHubs(); + + // invoke the operation + string taskHubName = "testtuskhub"; + NullableResponse response = await collection.GetIfExistsAsync(taskHubName); + TaskHubResource result = response.HasValue ? response.Value : null; + + if (result == null) + { + Console.WriteLine("Succeeded with null as result"); + } + else + { + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubResource.cs new file mode 100644 index 000000000000..3ffd0e10a057 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/samples/Generated/Samples/Sample_TaskHubResource.cs @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using Azure.ResourceManager.DurableTask.Models; +using NUnit.Framework; + +namespace Azure.ResourceManager.DurableTask.Samples +{ + public partial class Sample_TaskHubResource + { + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Get_TaskHubsGet() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_Get.json + // this example is just showing the usage of "TaskHub_Get" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this TaskHubResource created on azure + // for more information of creating TaskHubResource, please refer to the document of TaskHubResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + string taskHubName = "testtuskhub"; + ResourceIdentifier taskHubResourceId = TaskHubResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName, taskHubName); + TaskHubResource taskHub = client.GetTaskHubResource(taskHubResourceId); + + // invoke the operation + TaskHubResource result = await taskHub.GetAsync(); + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Delete_TaskHubsDelete() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_Delete.json + // this example is just showing the usage of "TaskHub_Delete" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this TaskHubResource created on azure + // for more information of creating TaskHubResource, please refer to the document of TaskHubResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + string taskHubName = "testtuskhub"; + ResourceIdentifier taskHubResourceId = TaskHubResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName, taskHubName); + TaskHubResource taskHub = client.GetTaskHubResource(taskHubResourceId); + + // invoke the operation + await taskHub.DeleteAsync(WaitUntil.Completed); + + Console.WriteLine("Succeeded"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Update_TaskHubsCreateOrUpdate() + { + // Generated from example definition: 2024-10-01-preview/TaskHubs_CreateOrUpdate.json + // this example is just showing the usage of "TaskHub_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this TaskHubResource created on azure + // for more information of creating TaskHubResource, please refer to the document of TaskHubResource + string subscriptionId = "EE9BD735-67CE-4A90-89C4-439D3F6A4C93"; + string resourceGroupName = "rgopenapi"; + string schedulerName = "testscheduler"; + string taskHubName = "testtaskhub"; + ResourceIdentifier taskHubResourceId = TaskHubResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, schedulerName, taskHubName); + TaskHubResource taskHub = client.GetTaskHubResource(taskHubResourceId); + + // invoke the operation + TaskHubData data = new TaskHubData + { + Properties = new TaskHubProperties(), + }; + ArmOperation lro = await taskHub.UpdateAsync(WaitUntil.Completed, data); + TaskHubResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + TaskHubData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Azure.ResourceManager.DurableTask.csproj b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Azure.ResourceManager.DurableTask.csproj new file mode 100644 index 000000000000..eef34dffbc5f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Azure.ResourceManager.DurableTask.csproj @@ -0,0 +1,8 @@ + + + Azure Resource Manager client SDK for Azure resource provider DurableTask. + 1.0.0-beta.1 + azure;management;arm;resource manager;durabletask + Azure.ResourceManager.DurableTask + + diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ArmDurableTaskModelFactory.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ArmDurableTaskModelFactory.cs new file mode 100644 index 000000000000..03debd566c37 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ArmDurableTaskModelFactory.cs @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// Model factory for models. + public static partial class ArmDurableTaskModelFactory + { + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The resource-specific properties for this resource. + /// A new instance for mocking. + public static TaskHubData TaskHubData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, TaskHubProperties properties = null) + { + return new TaskHubData( + id, + name, + resourceType, + systemData, + properties, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler dashboard. + /// A new instance for mocking. + public static TaskHubProperties TaskHubProperties(ProvisioningState? provisioningState = null, Uri dashboardUri = null) + { + return new TaskHubProperties(provisioningState, dashboardUri, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The tags. + /// The location. + /// The resource-specific properties for this resource. + /// A new instance for mocking. + public static SchedulerData SchedulerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, SchedulerProperties properties = null) + { + tags ??= new Dictionary(); + + return new SchedulerData( + id, + name, + resourceType, + systemData, + tags, + location, + properties, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler. + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + /// SKU of the durable task scheduler. + /// A new instance for mocking. + public static SchedulerProperties SchedulerProperties(ProvisioningState? provisioningState = null, string endpoint = null, IEnumerable ipAllowlist = null, SchedulerSku sku = null) + { + ipAllowlist ??= new List(); + + return new SchedulerProperties(provisioningState, endpoint, ipAllowlist?.ToList(), sku, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The name of the SKU. + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + /// Indicates whether the current SKU configuration is zone redundant. + /// A new instance for mocking. + public static SchedulerSku SchedulerSku(string name = null, int? capacity = null, RedundancyState? redundancyState = null) + { + return new SchedulerSku(name, capacity, redundancyState, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler. + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + /// SKU of the durable task scheduler. + /// A new instance for mocking. + public static SchedulerPropertiesUpdate SchedulerPropertiesUpdate(ProvisioningState? provisioningState = null, string endpoint = null, IEnumerable ipAllowlist = null, SchedulerSkuUpdate sku = null) + { + ipAllowlist ??= new List(); + + return new SchedulerPropertiesUpdate(provisioningState, endpoint, ipAllowlist?.ToList(), sku, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The name of the SKU. + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + /// Indicates whether the current SKU configuration is zone redundant. + /// A new instance for mocking. + public static SchedulerSkuUpdate SchedulerSkuUpdate(string name = null, int? capacity = null, RedundancyState? redundancyState = null) + { + return new SchedulerSkuUpdate(name, capacity, redundancyState, serializedAdditionalRawData: null); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/DurableTaskExtensions.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/DurableTaskExtensions.cs new file mode 100644 index 000000000000..59b95fb5863a --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/DurableTaskExtensions.cs @@ -0,0 +1,238 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.ResourceManager.DurableTask.Mocking; +using Azure.ResourceManager.Resources; + +namespace Azure.ResourceManager.DurableTask +{ + /// A class to add extension methods to Azure.ResourceManager.DurableTask. + public static partial class DurableTaskExtensions + { + private static MockableDurableTaskArmClient GetMockableDurableTaskArmClient(ArmClient client) + { + return client.GetCachedClient(client0 => new MockableDurableTaskArmClient(client0)); + } + + private static MockableDurableTaskResourceGroupResource GetMockableDurableTaskResourceGroupResource(ArmResource resource) + { + return resource.GetCachedClient(client => new MockableDurableTaskResourceGroupResource(client, resource.Id)); + } + + private static MockableDurableTaskSubscriptionResource GetMockableDurableTaskSubscriptionResource(ArmResource resource) + { + return resource.GetCachedClient(client => new MockableDurableTaskSubscriptionResource(client, resource.Id)); + } + + /// + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// You can use to create a from its components. + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static SchedulerResource GetSchedulerResource(this ArmClient client, ResourceIdentifier id) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableDurableTaskArmClient(client).GetSchedulerResource(id); + } + + /// + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// You can use to create a from its components. + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static TaskHubResource GetTaskHubResource(this ArmClient client, ResourceIdentifier id) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableDurableTaskArmClient(client).GetTaskHubResource(id); + } + + /// + /// Gets a collection of SchedulerResources in the ResourceGroupResource. + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// is null. + /// An object representing collection of SchedulerResources and their operations over a SchedulerResource. + public static SchedulerCollection GetSchedulers(this ResourceGroupResource resourceGroupResource) + { + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + + return GetMockableDurableTaskResourceGroupResource(resourceGroupResource).GetSchedulers(); + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The name of the Scheduler. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public static async Task> GetSchedulerAsync(this ResourceGroupResource resourceGroupResource, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + + return await GetMockableDurableTaskResourceGroupResource(resourceGroupResource).GetSchedulerAsync(schedulerName, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The name of the Scheduler. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public static Response GetScheduler(this ResourceGroupResource resourceGroupResource, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + + return GetMockableDurableTaskResourceGroupResource(resourceGroupResource).GetScheduler(schedulerName, cancellationToken); + } + + /// + /// List Schedulers by subscription + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The cancellation token to use. + /// is null. + /// An async collection of that may take multiple service requests to iterate over. + public static AsyncPageable GetSchedulersAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + + return GetMockableDurableTaskSubscriptionResource(subscriptionResource).GetSchedulersAsync(cancellationToken); + } + + /// + /// List Schedulers by subscription + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// The cancellation token to use. + /// is null. + /// A collection of that may take multiple service requests to iterate over. + public static Pageable GetSchedulers(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + + return GetMockableDurableTaskSubscriptionResource(subscriptionResource).GetSchedulers(cancellationToken); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskArmClient.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskArmClient.cs new file mode 100644 index 000000000000..066b094f4491 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskArmClient.cs @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Mocking +{ + /// A class to add extension methods to ArmClient. + public partial class MockableDurableTaskArmClient : ArmResource + { + /// Initializes a new instance of the class for mocking. + protected MockableDurableTaskArmClient() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal MockableDurableTaskArmClient(ArmClient client, ResourceIdentifier id) : base(client, id) + { + } + + internal MockableDurableTaskArmClient(ArmClient client) : this(client, ResourceIdentifier.Root) + { + } + + private string GetApiVersionOrNull(ResourceType resourceType) + { + TryGetApiVersion(resourceType, out string apiVersion); + return apiVersion; + } + + /// + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// You can use to create a from its components. + /// + /// The resource ID of the resource to get. + /// Returns a object. + public virtual SchedulerResource GetSchedulerResource(ResourceIdentifier id) + { + SchedulerResource.ValidateResourceId(id); + return new SchedulerResource(Client, id); + } + + /// + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// You can use to create a from its components. + /// + /// The resource ID of the resource to get. + /// Returns a object. + public virtual TaskHubResource GetTaskHubResource(ResourceIdentifier id) + { + TaskHubResource.ValidateResourceId(id); + return new TaskHubResource(Client, id); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskResourceGroupResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskResourceGroupResource.cs new file mode 100644 index 000000000000..7f7eb5e71b35 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskResourceGroupResource.cs @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Mocking +{ + /// A class to add extension methods to ResourceGroupResource. + public partial class MockableDurableTaskResourceGroupResource : ArmResource + { + /// Initializes a new instance of the class for mocking. + protected MockableDurableTaskResourceGroupResource() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal MockableDurableTaskResourceGroupResource(ArmClient client, ResourceIdentifier id) : base(client, id) + { + } + + private string GetApiVersionOrNull(ResourceType resourceType) + { + TryGetApiVersion(resourceType, out string apiVersion); + return apiVersion; + } + + /// Gets a collection of SchedulerResources in the ResourceGroupResource. + /// An object representing collection of SchedulerResources and their operations over a SchedulerResource. + public virtual SchedulerCollection GetSchedulers() + { + return GetCachedClient(client => new SchedulerCollection(client, Id)); + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetSchedulerAsync(string schedulerName, CancellationToken cancellationToken = default) + { + return await GetSchedulers().GetAsync(schedulerName, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetScheduler(string schedulerName, CancellationToken cancellationToken = default) + { + return GetSchedulers().Get(schedulerName, cancellationToken); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskSubscriptionResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskSubscriptionResource.cs new file mode 100644 index 000000000000..b46b8c12f2a9 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Extensions/MockableDurableTaskSubscriptionResource.cs @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Threading; +using Autorest.CSharp.Core; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask.Mocking +{ + /// A class to add extension methods to SubscriptionResource. + public partial class MockableDurableTaskSubscriptionResource : ArmResource + { + private ClientDiagnostics _schedulerClientDiagnostics; + private SchedulersRestOperations _schedulerRestClient; + + /// Initializes a new instance of the class for mocking. + protected MockableDurableTaskSubscriptionResource() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal MockableDurableTaskSubscriptionResource(ArmClient client, ResourceIdentifier id) : base(client, id) + { + } + + private ClientDiagnostics SchedulerClientDiagnostics => _schedulerClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.DurableTask", SchedulerResource.ResourceType.Namespace, Diagnostics); + private SchedulersRestOperations SchedulerRestClient => _schedulerRestClient ??= new SchedulersRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(SchedulerResource.ResourceType)); + + private string GetApiVersionOrNull(ResourceType resourceType) + { + TryGetApiVersion(resourceType, out string apiVersion); + return apiVersion; + } + + /// + /// List Schedulers by subscription + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// An async collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetSchedulersAsync(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => SchedulerRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => SchedulerRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new SchedulerResource(Client, SchedulerData.DeserializeSchedulerData(e)), SchedulerClientDiagnostics, Pipeline, "MockableDurableTaskSubscriptionResource.GetSchedulers", "value", "nextLink", cancellationToken); + } + + /// + /// List Schedulers by subscription + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetSchedulers(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => SchedulerRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => SchedulerRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new SchedulerResource(Client, SchedulerData.DeserializeSchedulerData(e)), SchedulerClientDiagnostics, Pipeline, "MockableDurableTaskSubscriptionResource.GetSchedulers", "value", "nextLink", cancellationToken); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Argument.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Argument.cs new file mode 100644 index 000000000000..d15981d33b18 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Argument.cs @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask +{ + internal static class Argument + { + public static void AssertNotNull(T value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + } + + public static void AssertNotNull(T? value, string name) + where T : struct + { + if (!value.HasValue) + { + throw new ArgumentNullException(name); + } + } + + public static void AssertNotNullOrEmpty(IEnumerable value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (value is ICollection collectionOfT && collectionOfT.Count == 0) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + if (value is ICollection collection && collection.Count == 0) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + using IEnumerator e = value.GetEnumerator(); + if (!e.MoveNext()) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + } + + public static void AssertNotNullOrEmpty(string value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (value.Length == 0) + { + throw new ArgumentException("Value cannot be an empty string.", name); + } + } + + public static void AssertNotNullOrWhiteSpace(string value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (string.IsNullOrWhiteSpace(value)) + { + throw new ArgumentException("Value cannot be empty or contain only white-space characters.", name); + } + } + + public static void AssertNotDefault(ref T value, string name) + where T : struct, IEquatable + { + if (value.Equals(default)) + { + throw new ArgumentException("Value cannot be empty.", name); + } + } + + public static void AssertInRange(T value, T minimum, T maximum, string name) + where T : notnull, IComparable + { + if (minimum.CompareTo(value) > 0) + { + throw new ArgumentOutOfRangeException(name, "Value is less than the minimum allowed."); + } + if (maximum.CompareTo(value) < 0) + { + throw new ArgumentOutOfRangeException(name, "Value is greater than the maximum allowed."); + } + } + + public static void AssertEnumDefined(Type enumType, object value, string name) + { + if (!Enum.IsDefined(enumType, value)) + { + throw new ArgumentException($"Value not defined for {enumType.FullName}.", name); + } + } + + public static T CheckNotNull(T value, string name) + where T : class + { + AssertNotNull(value, name); + return value; + } + + public static string CheckNotNullOrEmpty(string value, string name) + { + AssertNotNullOrEmpty(value, name); + return value; + } + + public static void AssertNull(T value, string name, string message = null) + { + if (value != null) + { + throw new ArgumentException(message ?? "Value must be null.", name); + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingDictionary.cs new file mode 100644 index 000000000000..001cb5f61046 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingDictionary.cs @@ -0,0 +1,167 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask +{ + internal class ChangeTrackingDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull + { + private IDictionary _innerDictionary; + + public ChangeTrackingDictionary() + { + } + + public ChangeTrackingDictionary(IDictionary dictionary) + { + if (dictionary == null) + { + return; + } + _innerDictionary = new Dictionary(dictionary); + } + + public ChangeTrackingDictionary(IReadOnlyDictionary dictionary) + { + if (dictionary == null) + { + return; + } + _innerDictionary = new Dictionary(); + foreach (var pair in dictionary) + { + _innerDictionary.Add(pair); + } + } + + public bool IsUndefined => _innerDictionary == null; + + public int Count => IsUndefined ? 0 : EnsureDictionary().Count; + + public bool IsReadOnly => IsUndefined ? false : EnsureDictionary().IsReadOnly; + + public ICollection Keys => IsUndefined ? Array.Empty() : EnsureDictionary().Keys; + + public ICollection Values => IsUndefined ? Array.Empty() : EnsureDictionary().Values; + + public TValue this[TKey key] + { + get + { + if (IsUndefined) + { + throw new KeyNotFoundException(nameof(key)); + } + return EnsureDictionary()[key]; + } + set + { + EnsureDictionary()[key] = value; + } + } + + IEnumerable IReadOnlyDictionary.Keys => Keys; + + IEnumerable IReadOnlyDictionary.Values => Values; + + public IEnumerator> GetEnumerator() + { + if (IsUndefined) + { + IEnumerator> enumerateEmpty() + { + yield break; + } + return enumerateEmpty(); + } + return EnsureDictionary().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + public void Add(KeyValuePair item) + { + EnsureDictionary().Add(item); + } + + public void Clear() + { + EnsureDictionary().Clear(); + } + + public bool Contains(KeyValuePair item) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Contains(item); + } + + public void CopyTo(KeyValuePair[] array, int index) + { + if (IsUndefined) + { + return; + } + EnsureDictionary().CopyTo(array, index); + } + + public bool Remove(KeyValuePair item) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Remove(item); + } + + public void Add(TKey key, TValue value) + { + EnsureDictionary().Add(key, value); + } + + public bool ContainsKey(TKey key) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().ContainsKey(key); + } + + public bool Remove(TKey key) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Remove(key); + } + + public bool TryGetValue(TKey key, out TValue value) + { + if (IsUndefined) + { + value = default; + return false; + } + return EnsureDictionary().TryGetValue(key, out value); + } + + public IDictionary EnsureDictionary() + { + return _innerDictionary ??= new Dictionary(); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingList.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingList.cs new file mode 100644 index 000000000000..5ce8ee7ec441 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ChangeTrackingList.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.DurableTask +{ + internal class ChangeTrackingList : IList, IReadOnlyList + { + private IList _innerList; + + public ChangeTrackingList() + { + } + + public ChangeTrackingList(IList innerList) + { + if (innerList != null) + { + _innerList = innerList; + } + } + + public ChangeTrackingList(IReadOnlyList innerList) + { + if (innerList != null) + { + _innerList = innerList.ToList(); + } + } + + public bool IsUndefined => _innerList == null; + + public int Count => IsUndefined ? 0 : EnsureList().Count; + + public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly; + + public T this[int index] + { + get + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + return EnsureList()[index]; + } + set + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + EnsureList()[index] = value; + } + } + + public void Reset() + { + _innerList = null; + } + + public IEnumerator GetEnumerator() + { + if (IsUndefined) + { + IEnumerator enumerateEmpty() + { + yield break; + } + return enumerateEmpty(); + } + return EnsureList().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + public void Add(T item) + { + EnsureList().Add(item); + } + + public void Clear() + { + EnsureList().Clear(); + } + + public bool Contains(T item) + { + if (IsUndefined) + { + return false; + } + return EnsureList().Contains(item); + } + + public void CopyTo(T[] array, int arrayIndex) + { + if (IsUndefined) + { + return; + } + EnsureList().CopyTo(array, arrayIndex); + } + + public bool Remove(T item) + { + if (IsUndefined) + { + return false; + } + return EnsureList().Remove(item); + } + + public int IndexOf(T item) + { + if (IsUndefined) + { + return -1; + } + return EnsureList().IndexOf(item); + } + + public void Insert(int index, T item) + { + EnsureList().Insert(index, item); + } + + public void RemoveAt(int index) + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + EnsureList().RemoveAt(index); + } + + public IList EnsureList() + { + return _innerList ??= new List(); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ModelSerializationExtensions.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ModelSerializationExtensions.cs new file mode 100644 index 000000000000..7548acaf9b19 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/ModelSerializationExtensions.cs @@ -0,0 +1,399 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.Text.Json; +using System.Xml; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask +{ + internal static class ModelSerializationExtensions + { + internal static readonly JsonDocumentOptions JsonDocumentOptions = new JsonDocumentOptions { MaxDepth = 256 }; + internal static readonly ModelReaderWriterOptions WireOptions = new ModelReaderWriterOptions("W"); + + public static object GetObject(this JsonElement element) + { + switch (element.ValueKind) + { + case JsonValueKind.String: + return element.GetString(); + case JsonValueKind.Number: + if (element.TryGetInt32(out int intValue)) + { + return intValue; + } + if (element.TryGetInt64(out long longValue)) + { + return longValue; + } + return element.GetDouble(); + case JsonValueKind.True: + return true; + case JsonValueKind.False: + return false; + case JsonValueKind.Undefined: + case JsonValueKind.Null: + return null; + case JsonValueKind.Object: + var dictionary = new Dictionary(); + foreach (var jsonProperty in element.EnumerateObject()) + { + dictionary.Add(jsonProperty.Name, jsonProperty.Value.GetObject()); + } + return dictionary; + case JsonValueKind.Array: + var list = new List(); + foreach (var item in element.EnumerateArray()) + { + list.Add(item.GetObject()); + } + return list.ToArray(); + default: + throw new NotSupportedException($"Not supported value kind {element.ValueKind}"); + } + } + + public static byte[] GetBytesFromBase64(this JsonElement element, string format) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + + return format switch + { + "U" => TypeFormatters.FromBase64UrlString(element.GetRequiredString()), + "D" => element.GetBytesFromBase64(), + _ => throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)) + }; + } + + public static DateTimeOffset GetDateTimeOffset(this JsonElement element, string format) => format switch + { + "U" when element.ValueKind == JsonValueKind.Number => DateTimeOffset.FromUnixTimeSeconds(element.GetInt64()), + _ => TypeFormatters.ParseDateTimeOffset(element.GetString(), format) + }; + + public static TimeSpan GetTimeSpan(this JsonElement element, string format) => TypeFormatters.ParseTimeSpan(element.GetString(), format); + + public static char GetChar(this JsonElement element) + { + if (element.ValueKind == JsonValueKind.String) + { + var text = element.GetString(); + if (text == null || text.Length != 1) + { + throw new NotSupportedException($"Cannot convert \"{text}\" to a char"); + } + return text[0]; + } + else + { + throw new NotSupportedException($"Cannot convert {element.ValueKind} to a char"); + } + } + + [Conditional("DEBUG")] + public static void ThrowNonNullablePropertyIsNull(this JsonProperty property) + { + throw new JsonException($"A property '{property.Name}' defined as non-nullable but received as null from the service. This exception only happens in DEBUG builds of the library and would be ignored in the release build"); + } + + public static string GetRequiredString(this JsonElement element) + { + var value = element.GetString(); + if (value == null) + { + throw new InvalidOperationException($"The requested operation requires an element of type 'String', but the target element has type '{element.ValueKind}'."); + } + return value; + } + + public static void WriteStringValue(this Utf8JsonWriter writer, DateTimeOffset value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, DateTime value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, TimeSpan value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, char value) + { + writer.WriteStringValue(value.ToString(CultureInfo.InvariantCulture)); + } + + public static void WriteBase64StringValue(this Utf8JsonWriter writer, byte[] value, string format) + { + if (value == null) + { + writer.WriteNullValue(); + return; + } + switch (format) + { + case "U": + writer.WriteStringValue(TypeFormatters.ToBase64UrlString(value)); + break; + case "D": + writer.WriteBase64StringValue(value); + break; + default: + throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)); + } + } + + public static void WriteNumberValue(this Utf8JsonWriter writer, DateTimeOffset value, string format) + { + if (format != "U") + { + throw new ArgumentOutOfRangeException(nameof(format), "Only 'U' format is supported when writing a DateTimeOffset as a Number."); + } + writer.WriteNumberValue(value.ToUnixTimeSeconds()); + } + + public static void WriteObjectValue(this Utf8JsonWriter writer, T value, ModelReaderWriterOptions options = null) + { + switch (value) + { + case null: + writer.WriteNullValue(); + break; + case IJsonModel jsonModel: + jsonModel.Write(writer, options ?? WireOptions); + break; + case IUtf8JsonSerializable serializable: + serializable.Write(writer); + break; + case byte[] bytes: + writer.WriteBase64StringValue(bytes); + break; + case BinaryData bytes0: + writer.WriteBase64StringValue(bytes0); + break; + case JsonElement json: + json.WriteTo(writer); + break; + case int i: + writer.WriteNumberValue(i); + break; + case decimal d: + writer.WriteNumberValue(d); + break; + case double d0: + if (double.IsNaN(d0)) + { + writer.WriteStringValue("NaN"); + } + else + { + writer.WriteNumberValue(d0); + } + break; + case float f: + writer.WriteNumberValue(f); + break; + case long l: + writer.WriteNumberValue(l); + break; + case string s: + writer.WriteStringValue(s); + break; + case bool b: + writer.WriteBooleanValue(b); + break; + case Guid g: + writer.WriteStringValue(g); + break; + case DateTimeOffset dateTimeOffset: + writer.WriteStringValue(dateTimeOffset, "O"); + break; + case DateTime dateTime: + writer.WriteStringValue(dateTime, "O"); + break; + case IEnumerable> enumerable: + writer.WriteStartObject(); + foreach (var pair in enumerable) + { + writer.WritePropertyName(pair.Key); + writer.WriteObjectValue(pair.Value, options); + } + writer.WriteEndObject(); + break; + case IEnumerable objectEnumerable: + writer.WriteStartArray(); + foreach (var item in objectEnumerable) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + break; + case TimeSpan timeSpan: + writer.WriteStringValue(timeSpan, "P"); + break; + default: + throw new NotSupportedException($"Not supported type {value.GetType()}"); + } + } + + public static void WriteObjectValue(this Utf8JsonWriter writer, object value, ModelReaderWriterOptions options = null) + { + writer.WriteObjectValue(value, options); + } + + internal static class TypeFormatters + { + private const string RoundtripZFormat = "yyyy-MM-ddTHH:mm:ss.fffffffZ"; + public const string DefaultNumberFormat = "G"; + + public static string ToString(bool value) => value ? "true" : "false"; + + public static string ToString(DateTime value, string format) => value.Kind switch + { + DateTimeKind.Utc => ToString((DateTimeOffset)value, format), + _ => throw new NotSupportedException($"DateTime {value} has a Kind of {value.Kind}. Azure SDK requires it to be UTC. You can call DateTime.SpecifyKind to change Kind property value to DateTimeKind.Utc.") + }; + + public static string ToString(DateTimeOffset value, string format) => format switch + { + "D" => value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture), + "U" => value.ToUnixTimeSeconds().ToString(CultureInfo.InvariantCulture), + "O" => value.ToUniversalTime().ToString(RoundtripZFormat, CultureInfo.InvariantCulture), + "o" => value.ToUniversalTime().ToString(RoundtripZFormat, CultureInfo.InvariantCulture), + "R" => value.ToString("r", CultureInfo.InvariantCulture), + _ => value.ToString(format, CultureInfo.InvariantCulture) + }; + + public static string ToString(TimeSpan value, string format) => format switch + { + "P" => XmlConvert.ToString(value), + _ => value.ToString(format, CultureInfo.InvariantCulture) + }; + + public static string ToString(byte[] value, string format) => format switch + { + "U" => ToBase64UrlString(value), + "D" => Convert.ToBase64String(value), + _ => throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)) + }; + + public static string ToBase64UrlString(byte[] value) + { + int numWholeOrPartialInputBlocks = checked(value.Length + 2) / 3; + int size = checked(numWholeOrPartialInputBlocks * 4); + char[] output = new char[size]; + + int numBase64Chars = Convert.ToBase64CharArray(value, 0, value.Length, output, 0); + + int i = 0; + for (; i < numBase64Chars; i++) + { + char ch = output[i]; + if (ch == '+') + { + output[i] = '-'; + } + else + { + if (ch == '/') + { + output[i] = '_'; + } + else + { + if (ch == '=') + { + break; + } + } + } + } + + return new string(output, 0, i); + } + + public static byte[] FromBase64UrlString(string value) + { + int paddingCharsToAdd = (value.Length % 4) switch + { + 0 => 0, + 2 => 2, + 3 => 1, + _ => throw new InvalidOperationException("Malformed input") + }; + char[] output = new char[(value.Length + paddingCharsToAdd)]; + int i = 0; + for (; i < value.Length; i++) + { + char ch = value[i]; + if (ch == '-') + { + output[i] = '+'; + } + else + { + if (ch == '_') + { + output[i] = '/'; + } + else + { + output[i] = ch; + } + } + } + + for (; i < output.Length; i++) + { + output[i] = '='; + } + + return Convert.FromBase64CharArray(output, 0, output.Length); + } + + public static DateTimeOffset ParseDateTimeOffset(string value, string format) => format switch + { + "U" => DateTimeOffset.FromUnixTimeSeconds(long.Parse(value, CultureInfo.InvariantCulture)), + _ => DateTimeOffset.Parse(value, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal) + }; + + public static TimeSpan ParseTimeSpan(string value, string format) => format switch + { + "P" => XmlConvert.ToTimeSpan(value), + _ => TimeSpan.ParseExact(value, format, CultureInfo.InvariantCulture) + }; + + public static string ConvertToString(object value, string format = null) => value switch + { + null => "null", + string s => s, + bool b => ToString(b), + int or float or double or long or decimal => ((IFormattable)value).ToString(DefaultNumberFormat, CultureInfo.InvariantCulture), + byte[] b0 when format != null => ToString(b0, format), + IEnumerable s0 => string.Join(",", s0), + DateTimeOffset dateTime when format != null => ToString(dateTime, format), + TimeSpan timeSpan when format != null => ToString(timeSpan, format), + TimeSpan timeSpan0 => XmlConvert.ToString(timeSpan0), + Guid guid => guid.ToString(), + BinaryData binaryData => ConvertToString(binaryData.ToArray(), format), + _ => value.ToString() + }; + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Optional.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Optional.cs new file mode 100644 index 000000000000..dd8a99d7dd47 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Optional.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; + +namespace Azure.ResourceManager.DurableTask +{ + internal static class Optional + { + public static bool IsCollectionDefined(IEnumerable collection) + { + return !(collection is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined); + } + + public static bool IsCollectionDefined(IDictionary collection) + { + return !(collection is ChangeTrackingDictionary changeTrackingDictionary && changeTrackingDictionary.IsUndefined); + } + + public static bool IsCollectionDefined(IReadOnlyDictionary collection) + { + return !(collection is ChangeTrackingDictionary changeTrackingDictionary && changeTrackingDictionary.IsUndefined); + } + + public static bool IsDefined(T? value) + where T : struct + { + return value.HasValue; + } + + public static bool IsDefined(object value) + { + return value != null; + } + + public static bool IsDefined(JsonElement value) + { + return value.ValueKind != JsonValueKind.Undefined; + } + + public static bool IsDefined(string value) + { + return value != null; + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Utf8JsonRequestContent.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Utf8JsonRequestContent.cs new file mode 100644 index 000000000000..491ccbbaaf8c --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Internal/Utf8JsonRequestContent.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.IO; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask +{ + internal class Utf8JsonRequestContent : RequestContent + { + private readonly MemoryStream _stream; + private readonly RequestContent _content; + + public Utf8JsonRequestContent() + { + _stream = new MemoryStream(); + _content = Create(_stream); + JsonWriter = new Utf8JsonWriter(_stream); + } + + public Utf8JsonWriter JsonWriter { get; } + + public override async Task WriteToAsync(Stream stream, CancellationToken cancellationToken = default) + { + await JsonWriter.FlushAsync().ConfigureAwait(false); + await _content.WriteToAsync(stream, cancellationToken).ConfigureAwait(false); + } + + public override void WriteTo(Stream stream, CancellationToken cancellationToken = default) + { + JsonWriter.Flush(); + _content.WriteTo(stream, cancellationToken); + } + + public override bool TryComputeLength(out long length) + { + length = JsonWriter.BytesCommitted + JsonWriter.BytesPending; + return true; + } + + public override void Dispose() + { + JsonWriter.Dispose(); + _content.Dispose(); + _stream.Dispose(); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperation.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperation.cs new file mode 100644 index 000000000000..34ba48f6a7cb --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperation.cs @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask +{ +#pragma warning disable SA1649 // File name should match first type name + internal class DurableTaskArmOperation : ArmOperation +#pragma warning restore SA1649 // File name should match first type name + { + private readonly OperationInternal _operation; + private readonly RehydrationToken? _completeRehydrationToken; + private readonly NextLinkOperationImplementation _nextLinkOperation; + private readonly string _operationId; + + /// Initializes a new instance of DurableTaskArmOperation for mocking. + protected DurableTaskArmOperation() + { + } + + internal DurableTaskArmOperation(Response response, RehydrationToken? rehydrationToken = null) + { + _operation = OperationInternal.Succeeded(response); + _completeRehydrationToken = rehydrationToken; + _operationId = GetOperationId(rehydrationToken); + } + + internal DurableTaskArmOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response, OperationFinalStateVia finalStateVia, bool skipApiVersionOverride = false, string apiVersionOverrideValue = null) + { + var nextLinkOperation = NextLinkOperationImplementation.Create(pipeline, request.Method, request.Uri.ToUri(), response, finalStateVia, skipApiVersionOverride, apiVersionOverrideValue); + if (nextLinkOperation is NextLinkOperationImplementation nextLinkOperationValue) + { + _nextLinkOperation = nextLinkOperationValue; + _operationId = _nextLinkOperation.OperationId; + } + else + { + _completeRehydrationToken = NextLinkOperationImplementation.GetRehydrationToken(request.Method, request.Uri.ToUri(), response, finalStateVia); + _operationId = GetOperationId(_completeRehydrationToken); + } + _operation = new OperationInternal(nextLinkOperation, clientDiagnostics, response, "DurableTaskArmOperation", fallbackStrategy: new SequentialDelayStrategy()); + } + + private string GetOperationId(RehydrationToken? rehydrationToken) + { + if (rehydrationToken is null) + { + return null; + } + var lroDetails = ModelReaderWriter.Write(rehydrationToken, ModelReaderWriterOptions.Json).ToObjectFromJson>(); + return lroDetails["id"]; + } + /// + public override string Id => _operationId ?? NextLinkOperationImplementation.NotSet; + + /// + public override RehydrationToken? GetRehydrationToken() => _nextLinkOperation?.GetRehydrationToken() ?? _completeRehydrationToken; + + /// + public override bool HasCompleted => _operation.HasCompleted; + + /// + public override Response GetRawResponse() => _operation.RawResponse; + + /// + public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken); + + /// + public override ValueTask UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken); + + /// + public override Response WaitForCompletionResponse(CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponse(cancellationToken); + + /// + public override Response WaitForCompletionResponse(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponse(pollingInterval, cancellationToken); + + /// + public override ValueTask WaitForCompletionResponseAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponseAsync(cancellationToken); + + /// + public override ValueTask WaitForCompletionResponseAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponseAsync(pollingInterval, cancellationToken); + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperationOfT.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperationOfT.cs new file mode 100644 index 000000000000..dbab97aea54e --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/DurableTaskArmOperationOfT.cs @@ -0,0 +1,100 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask +{ +#pragma warning disable SA1649 // File name should match first type name + internal class DurableTaskArmOperation : ArmOperation +#pragma warning restore SA1649 // File name should match first type name + { + private readonly OperationInternal _operation; + private readonly RehydrationToken? _completeRehydrationToken; + private readonly NextLinkOperationImplementation _nextLinkOperation; + private readonly string _operationId; + + /// Initializes a new instance of DurableTaskArmOperation for mocking. + protected DurableTaskArmOperation() + { + } + + internal DurableTaskArmOperation(Response response, RehydrationToken? rehydrationToken = null) + { + _operation = OperationInternal.Succeeded(response.GetRawResponse(), response.Value); + _completeRehydrationToken = rehydrationToken; + _operationId = GetOperationId(rehydrationToken); + } + + internal DurableTaskArmOperation(IOperationSource source, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response, OperationFinalStateVia finalStateVia, bool skipApiVersionOverride = false, string apiVersionOverrideValue = null) + { + var nextLinkOperation = NextLinkOperationImplementation.Create(pipeline, request.Method, request.Uri.ToUri(), response, finalStateVia, skipApiVersionOverride, apiVersionOverrideValue); + if (nextLinkOperation is NextLinkOperationImplementation nextLinkOperationValue) + { + _nextLinkOperation = nextLinkOperationValue; + _operationId = _nextLinkOperation.OperationId; + } + else + { + _completeRehydrationToken = NextLinkOperationImplementation.GetRehydrationToken(request.Method, request.Uri.ToUri(), response, finalStateVia); + _operationId = GetOperationId(_completeRehydrationToken); + } + _operation = new OperationInternal(NextLinkOperationImplementation.Create(source, nextLinkOperation), clientDiagnostics, response, "DurableTaskArmOperation", fallbackStrategy: new SequentialDelayStrategy()); + } + + private string GetOperationId(RehydrationToken? rehydrationToken) + { + if (rehydrationToken is null) + { + return null; + } + var lroDetails = ModelReaderWriter.Write(rehydrationToken, ModelReaderWriterOptions.Json).ToObjectFromJson>(); + return lroDetails["id"]; + } + /// + public override string Id => _operationId ?? NextLinkOperationImplementation.NotSet; + + /// + public override RehydrationToken? GetRehydrationToken() => _nextLinkOperation?.GetRehydrationToken() ?? _completeRehydrationToken; + + /// + public override T Value => _operation.Value; + + /// + public override bool HasValue => _operation.HasValue; + + /// + public override bool HasCompleted => _operation.HasCompleted; + + /// + public override Response GetRawResponse() => _operation.RawResponse; + + /// + public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken); + + /// + public override ValueTask UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken); + + /// + public override Response WaitForCompletion(CancellationToken cancellationToken = default) => _operation.WaitForCompletion(cancellationToken); + + /// + public override Response WaitForCompletion(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletion(pollingInterval, cancellationToken); + + /// + public override ValueTask> WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken); + + /// + public override ValueTask> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(pollingInterval, cancellationToken); + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/SchedulerOperationSource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/SchedulerOperationSource.cs new file mode 100644 index 000000000000..42ece9ff12c1 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/SchedulerOperationSource.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask +{ + internal class SchedulerOperationSource : IOperationSource + { + private readonly ArmClient _client; + + internal SchedulerOperationSource(ArmClient client) + { + _client = client; + } + + SchedulerResource IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content); + return new SchedulerResource(_client, data); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content); + return await Task.FromResult(new SchedulerResource(_client, data)).ConfigureAwait(false); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/TaskHubOperationSource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/TaskHubOperationSource.cs new file mode 100644 index 000000000000..cf7b9d83c7b6 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/LongRunningOperation/TaskHubOperationSource.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask +{ + internal class TaskHubOperationSource : IOperationSource + { + private readonly ArmClient _client; + + internal TaskHubOperationSource(ArmClient client) + { + _client = client; + } + + TaskHubResource IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content); + return new TaskHubResource(_client, data); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content); + return await Task.FromResult(new TaskHubResource(_client, data)).ConfigureAwait(false); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/ProvisioningState.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/ProvisioningState.cs new file mode 100644 index 000000000000..2705a701b11f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/ProvisioningState.cs @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The status of the current operation. + public readonly partial struct ProvisioningState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public ProvisioningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string SucceededValue = "Succeeded"; + private const string FailedValue = "Failed"; + private const string CanceledValue = "Canceled"; + private const string ProvisioningValue = "Provisioning"; + private const string UpdatingValue = "Updating"; + private const string DeletingValue = "Deleting"; + private const string AcceptedValue = "Accepted"; + + /// Resource has been created. + public static ProvisioningState Succeeded { get; } = new ProvisioningState(SucceededValue); + /// Resource creation failed. + public static ProvisioningState Failed { get; } = new ProvisioningState(FailedValue); + /// Resource creation was canceled. + public static ProvisioningState Canceled { get; } = new ProvisioningState(CanceledValue); + /// The resource is being provisioned. + public static ProvisioningState Provisioning { get; } = new ProvisioningState(ProvisioningValue); + /// The resource is updating. + public static ProvisioningState Updating { get; } = new ProvisioningState(UpdatingValue); + /// The resource is being deleted. + public static ProvisioningState Deleting { get; } = new ProvisioningState(DeletingValue); + /// The resource create request has been accepted. + public static ProvisioningState Accepted { get; } = new ProvisioningState(AcceptedValue); + /// Determines if two values are the same. + public static bool operator ==(ProvisioningState left, ProvisioningState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ProvisioningState left, ProvisioningState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator ProvisioningState(string value) => new ProvisioningState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ProvisioningState other && Equals(other); + /// + public bool Equals(ProvisioningState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/RedundancyState.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/RedundancyState.cs new file mode 100644 index 000000000000..cab76ba363c0 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/RedundancyState.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The state of the resource redundancy. + public readonly partial struct RedundancyState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public RedundancyState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string NoneValue = "None"; + private const string ZoneValue = "Zone"; + + /// The resource is not redundant. + public static RedundancyState None { get; } = new RedundancyState(NoneValue); + /// The resource is zone redundant. + public static RedundancyState Zone { get; } = new RedundancyState(ZoneValue); + /// Determines if two values are the same. + public static bool operator ==(RedundancyState left, RedundancyState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(RedundancyState left, RedundancyState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator RedundancyState(string value) => new RedundancyState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is RedundancyState other && Equals(other); + /// + public bool Equals(RedundancyState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.Serialization.cs new file mode 100644 index 000000000000..807d24dc9971 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.Serialization.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + internal partial class SchedulerListResult : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerListResult)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("value"u8); + writer.WriteStartArray(); + foreach (var item in Value) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + if (Optional.IsDefined(NextLink)) + { + writer.WritePropertyName("nextLink"u8); + writer.WriteStringValue(NextLink.AbsoluteUri); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerListResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerListResult)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerListResult(document.RootElement, options); + } + + internal static SchedulerListResult DeserializeSchedulerListResult(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IReadOnlyList value = default; + Uri nextLink = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("value"u8)) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(SchedulerData.DeserializeSchedulerData(item, options)); + } + value = array; + continue; + } + if (property.NameEquals("nextLink"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + nextLink = new Uri(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerListResult(value, nextLink, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerListResult)} does not support writing '{options.Format}' format."); + } + } + + SchedulerListResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerListResult(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerListResult)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.cs new file mode 100644 index 000000000000..85a9ef186815 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerListResult.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The response of a Scheduler list operation. + internal partial class SchedulerListResult + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// The Scheduler items on this page. + /// is null. + internal SchedulerListResult(IEnumerable value) + { + Argument.AssertNotNull(value, nameof(value)); + + Value = value.ToList(); + } + + /// Initializes a new instance of . + /// The Scheduler items on this page. + /// The link to the next page of items. + /// Keeps track of any properties unknown to the library. + internal SchedulerListResult(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) + { + Value = value; + NextLink = nextLink; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal SchedulerListResult() + { + } + + /// The Scheduler items on this page. + public IReadOnlyList Value { get; } + /// The link to the next page of items. + public Uri NextLink { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.Serialization.cs new file mode 100644 index 000000000000..f7210c8c994d --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.Serialization.cs @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class SchedulerPatch : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerPatch)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(Properties)) + { + writer.WritePropertyName("properties"u8); + writer.WriteObjectValue(Properties, options); + } + if (Optional.IsCollectionDefined(Tags)) + { + writer.WritePropertyName("tags"u8); + writer.WriteStartObject(); + foreach (var item in Tags) + { + writer.WritePropertyName(item.Key); + writer.WriteStringValue(item.Value); + } + writer.WriteEndObject(); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerPatch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerPatch)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerPatch(document.RootElement, options); + } + + internal static SchedulerPatch DeserializeSchedulerPatch(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + SchedulerPropertiesUpdate properties = default; + IDictionary tags = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("properties"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + properties = SchedulerPropertiesUpdate.DeserializeSchedulerPropertiesUpdate(property.Value, options); + continue; + } + if (property.NameEquals("tags"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + Dictionary dictionary = new Dictionary(); + foreach (var property0 in property.Value.EnumerateObject()) + { + dictionary.Add(property0.Name, property0.Value.GetString()); + } + tags = dictionary; + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerPatch(properties, tags ?? new ChangeTrackingDictionary(), serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerPatch)} does not support writing '{options.Format}' format."); + } + } + + SchedulerPatch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerPatch(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerPatch)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.cs new file mode 100644 index 000000000000..1ba9640a8146 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPatch.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The update request model for the Scheduler resource. + public partial class SchedulerPatch + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public SchedulerPatch() + { + Tags = new ChangeTrackingDictionary(); + } + + /// Initializes a new instance of . + /// The resource-specific properties for this resource. + /// Resource tags. + /// Keeps track of any properties unknown to the library. + internal SchedulerPatch(SchedulerPropertiesUpdate properties, IDictionary tags, IDictionary serializedAdditionalRawData) + { + Properties = properties; + Tags = tags; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The resource-specific properties for this resource. + public SchedulerPropertiesUpdate Properties { get; set; } + /// Resource tags. + public IDictionary Tags { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.Serialization.cs new file mode 100644 index 000000000000..2133da08804c --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.Serialization.cs @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class SchedulerProperties : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerProperties)} does not support writing '{format}' format."); + } + + if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) + { + writer.WritePropertyName("provisioningState"u8); + writer.WriteStringValue(ProvisioningState.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(Endpoint)) + { + writer.WritePropertyName("endpoint"u8); + writer.WriteStringValue(Endpoint); + } + writer.WritePropertyName("ipAllowlist"u8); + writer.WriteStartArray(); + foreach (var item in IPAllowlist) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + writer.WritePropertyName("sku"u8); + writer.WriteObjectValue(Sku, options); + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerProperties)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerProperties(document.RootElement, options); + } + + internal static SchedulerProperties DeserializeSchedulerProperties(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + ProvisioningState? provisioningState = default; + string endpoint = default; + IList ipAllowlist = default; + SchedulerSku sku = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("provisioningState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + provisioningState = new ProvisioningState(property.Value.GetString()); + continue; + } + if (property.NameEquals("endpoint"u8)) + { + endpoint = property.Value.GetString(); + continue; + } + if (property.NameEquals("ipAllowlist"u8)) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + ipAllowlist = array; + continue; + } + if (property.NameEquals("sku"u8)) + { + sku = SchedulerSku.DeserializeSchedulerSku(property.Value, options); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerProperties(provisioningState, endpoint, ipAllowlist, sku, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerProperties)} does not support writing '{options.Format}' format."); + } + } + + SchedulerProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerProperties(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerProperties)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.cs new file mode 100644 index 000000000000..622f09dfc0bb --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerProperties.cs @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// Details of the Scheduler. + public partial class SchedulerProperties + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + /// SKU of the durable task scheduler. + /// or is null. + public SchedulerProperties(IEnumerable ipAllowlist, SchedulerSku sku) + { + Argument.AssertNotNull(ipAllowlist, nameof(ipAllowlist)); + Argument.AssertNotNull(sku, nameof(sku)); + + IPAllowlist = ipAllowlist.ToList(); + Sku = sku; + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler. + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + /// SKU of the durable task scheduler. + /// Keeps track of any properties unknown to the library. + internal SchedulerProperties(ProvisioningState? provisioningState, string endpoint, IList ipAllowlist, SchedulerSku sku, IDictionary serializedAdditionalRawData) + { + ProvisioningState = provisioningState; + Endpoint = endpoint; + IPAllowlist = ipAllowlist; + Sku = sku; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal SchedulerProperties() + { + } + + /// The status of the last operation. + public ProvisioningState? ProvisioningState { get; } + /// URL of the durable task scheduler. + public string Endpoint { get; } + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + public IList IPAllowlist { get; } + /// SKU of the durable task scheduler. + public SchedulerSku Sku { get; set; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.Serialization.cs new file mode 100644 index 000000000000..d6ea1112424f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.Serialization.cs @@ -0,0 +1,184 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class SchedulerPropertiesUpdate : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerPropertiesUpdate)} does not support writing '{format}' format."); + } + + if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) + { + writer.WritePropertyName("provisioningState"u8); + writer.WriteStringValue(ProvisioningState.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(Endpoint)) + { + writer.WritePropertyName("endpoint"u8); + writer.WriteStringValue(Endpoint); + } + if (Optional.IsCollectionDefined(IPAllowlist)) + { + writer.WritePropertyName("ipAllowlist"u8); + writer.WriteStartArray(); + foreach (var item in IPAllowlist) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + } + if (Optional.IsDefined(Sku)) + { + writer.WritePropertyName("sku"u8); + writer.WriteObjectValue(Sku, options); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerPropertiesUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerPropertiesUpdate)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerPropertiesUpdate(document.RootElement, options); + } + + internal static SchedulerPropertiesUpdate DeserializeSchedulerPropertiesUpdate(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + ProvisioningState? provisioningState = default; + string endpoint = default; + IList ipAllowlist = default; + SchedulerSkuUpdate sku = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("provisioningState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + provisioningState = new ProvisioningState(property.Value.GetString()); + continue; + } + if (property.NameEquals("endpoint"u8)) + { + endpoint = property.Value.GetString(); + continue; + } + if (property.NameEquals("ipAllowlist"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + ipAllowlist = array; + continue; + } + if (property.NameEquals("sku"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + sku = SchedulerSkuUpdate.DeserializeSchedulerSkuUpdate(property.Value, options); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerPropertiesUpdate(provisioningState, endpoint, ipAllowlist ?? new ChangeTrackingList(), sku, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerPropertiesUpdate)} does not support writing '{options.Format}' format."); + } + } + + SchedulerPropertiesUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerPropertiesUpdate(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerPropertiesUpdate)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.cs new file mode 100644 index 000000000000..d366144b270e --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerPropertiesUpdate.cs @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The Scheduler resource properties to be updated. + public partial class SchedulerPropertiesUpdate + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public SchedulerPropertiesUpdate() + { + IPAllowlist = new ChangeTrackingList(); + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler. + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + /// SKU of the durable task scheduler. + /// Keeps track of any properties unknown to the library. + internal SchedulerPropertiesUpdate(ProvisioningState? provisioningState, string endpoint, IList ipAllowlist, SchedulerSkuUpdate sku, IDictionary serializedAdditionalRawData) + { + ProvisioningState = provisioningState; + Endpoint = endpoint; + IPAllowlist = ipAllowlist; + Sku = sku; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The status of the last operation. + public ProvisioningState? ProvisioningState { get; } + /// URL of the durable task scheduler. + public string Endpoint { get; } + /// IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR. + public IList IPAllowlist { get; } + /// SKU of the durable task scheduler. + public SchedulerSkuUpdate Sku { get; set; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.Serialization.cs new file mode 100644 index 000000000000..e9a1ac002035 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.Serialization.cs @@ -0,0 +1,156 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class SchedulerSku : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerSku)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + if (Optional.IsDefined(Capacity)) + { + writer.WritePropertyName("capacity"u8); + writer.WriteNumberValue(Capacity.Value); + } + if (options.Format != "W" && Optional.IsDefined(RedundancyState)) + { + writer.WritePropertyName("redundancyState"u8); + writer.WriteStringValue(RedundancyState.Value.ToString()); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerSku IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerSku)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerSku(document.RootElement, options); + } + + internal static SchedulerSku DeserializeSchedulerSku(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string name = default; + int? capacity = default; + RedundancyState? redundancyState = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("capacity"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + capacity = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("redundancyState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + redundancyState = new RedundancyState(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerSku(name, capacity, redundancyState, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerSku)} does not support writing '{options.Format}' format."); + } + } + + SchedulerSku IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerSku(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerSku)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.cs new file mode 100644 index 000000000000..9da3588373ca --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSku.cs @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The SKU (Stock Keeping Unit) assigned to this durable task scheduler. + public partial class SchedulerSku + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// The name of the SKU. + /// is null. + public SchedulerSku(string name) + { + Argument.AssertNotNull(name, nameof(name)); + + Name = name; + } + + /// Initializes a new instance of . + /// The name of the SKU. + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + /// Indicates whether the current SKU configuration is zone redundant. + /// Keeps track of any properties unknown to the library. + internal SchedulerSku(string name, int? capacity, RedundancyState? redundancyState, IDictionary serializedAdditionalRawData) + { + Name = name; + Capacity = capacity; + RedundancyState = redundancyState; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal SchedulerSku() + { + } + + /// The name of the SKU. + public string Name { get; set; } + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + public int? Capacity { get; set; } + /// Indicates whether the current SKU configuration is zone redundant. + public RedundancyState? RedundancyState { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.Serialization.cs new file mode 100644 index 000000000000..758a088411bc --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.Serialization.cs @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class SchedulerSkuUpdate : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerSkuUpdate)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(Name)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + if (Optional.IsDefined(Capacity)) + { + writer.WritePropertyName("capacity"u8); + writer.WriteNumberValue(Capacity.Value); + } + if (options.Format != "W" && Optional.IsDefined(RedundancyState)) + { + writer.WritePropertyName("redundancyState"u8); + writer.WriteStringValue(RedundancyState.Value.ToString()); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SchedulerSkuUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerSkuUpdate)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerSkuUpdate(document.RootElement, options); + } + + internal static SchedulerSkuUpdate DeserializeSchedulerSkuUpdate(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string name = default; + int? capacity = default; + RedundancyState? redundancyState = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("capacity"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + capacity = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("redundancyState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + redundancyState = new RedundancyState(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerSkuUpdate(name, capacity, redundancyState, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerSkuUpdate)} does not support writing '{options.Format}' format."); + } + } + + SchedulerSkuUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerSkuUpdate(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerSkuUpdate)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.cs new file mode 100644 index 000000000000..9b2280a02d6e --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/SchedulerSkuUpdate.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The SKU (Stock Keeping Unit) properties to be updated. + public partial class SchedulerSkuUpdate + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public SchedulerSkuUpdate() + { + } + + /// Initializes a new instance of . + /// The name of the SKU. + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + /// Indicates whether the current SKU configuration is zone redundant. + /// Keeps track of any properties unknown to the library. + internal SchedulerSkuUpdate(string name, int? capacity, RedundancyState? redundancyState, IDictionary serializedAdditionalRawData) + { + Name = name; + Capacity = capacity; + RedundancyState = redundancyState; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The name of the SKU. + public string Name { get; set; } + /// The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy. + public int? Capacity { get; set; } + /// Indicates whether the current SKU configuration is zone redundant. + public RedundancyState? RedundancyState { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.Serialization.cs new file mode 100644 index 000000000000..706f23c82194 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.Serialization.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + internal partial class TaskHubListResult : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubListResult)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("value"u8); + writer.WriteStartArray(); + foreach (var item in Value) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + if (Optional.IsDefined(NextLink)) + { + writer.WritePropertyName("nextLink"u8); + writer.WriteStringValue(NextLink.AbsoluteUri); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + TaskHubListResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubListResult)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeTaskHubListResult(document.RootElement, options); + } + + internal static TaskHubListResult DeserializeTaskHubListResult(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IReadOnlyList value = default; + Uri nextLink = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("value"u8)) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(TaskHubData.DeserializeTaskHubData(item, options)); + } + value = array; + continue; + } + if (property.NameEquals("nextLink"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + nextLink = new Uri(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new TaskHubListResult(value, nextLink, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(TaskHubListResult)} does not support writing '{options.Format}' format."); + } + } + + TaskHubListResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeTaskHubListResult(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(TaskHubListResult)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.cs new file mode 100644 index 000000000000..a15dd30e019b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubListResult.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The response of a TaskHub list operation. + internal partial class TaskHubListResult + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// The TaskHub items on this page. + /// is null. + internal TaskHubListResult(IEnumerable value) + { + Argument.AssertNotNull(value, nameof(value)); + + Value = value.ToList(); + } + + /// Initializes a new instance of . + /// The TaskHub items on this page. + /// The link to the next page of items. + /// Keeps track of any properties unknown to the library. + internal TaskHubListResult(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) + { + Value = value; + NextLink = nextLink; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal TaskHubListResult() + { + } + + /// The TaskHub items on this page. + public IReadOnlyList Value { get; } + /// The link to the next page of items. + public Uri NextLink { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.Serialization.cs new file mode 100644 index 000000000000..a11a47a6a039 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.Serialization.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DurableTask.Models +{ + public partial class TaskHubProperties : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubProperties)} does not support writing '{format}' format."); + } + + if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) + { + writer.WritePropertyName("provisioningState"u8); + writer.WriteStringValue(ProvisioningState.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(DashboardUri)) + { + writer.WritePropertyName("dashboardUrl"u8); + writer.WriteStringValue(DashboardUri.AbsoluteUri); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + TaskHubProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubProperties)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeTaskHubProperties(document.RootElement, options); + } + + internal static TaskHubProperties DeserializeTaskHubProperties(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + ProvisioningState? provisioningState = default; + Uri dashboardUrl = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("provisioningState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + provisioningState = new ProvisioningState(property.Value.GetString()); + continue; + } + if (property.NameEquals("dashboardUrl"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dashboardUrl = new Uri(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new TaskHubProperties(provisioningState, dashboardUrl, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(TaskHubProperties)} does not support writing '{options.Format}' format."); + } + } + + TaskHubProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeTaskHubProperties(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(TaskHubProperties)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.cs new file mode 100644 index 000000000000..97074a8f32f9 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/Models/TaskHubProperties.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DurableTask.Models +{ + /// The properties of Task Hub. + public partial class TaskHubProperties + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public TaskHubProperties() + { + } + + /// Initializes a new instance of . + /// The status of the last operation. + /// URL of the durable task scheduler dashboard. + /// Keeps track of any properties unknown to the library. + internal TaskHubProperties(ProvisioningState? provisioningState, Uri dashboardUri, IDictionary serializedAdditionalRawData) + { + ProvisioningState = provisioningState; + DashboardUri = dashboardUri; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The status of the last operation. + public ProvisioningState? ProvisioningState { get; } + /// URL of the durable task scheduler dashboard. + public Uri DashboardUri { get; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ProviderConstants.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ProviderConstants.cs new file mode 100644 index 000000000000..6cb750df8d05 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/ProviderConstants.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask +{ + internal static class ProviderConstants + { + public static string DefaultProviderNamespace { get; } = ClientDiagnostics.GetResourceProviderNamespace(typeof(ProviderConstants).Assembly); + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/SchedulersRestOperations.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/SchedulersRestOperations.cs new file mode 100644 index 000000000000..21e9f86cbb77 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/SchedulersRestOperations.cs @@ -0,0 +1,723 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager.DurableTask.Models; + +namespace Azure.ResourceManager.DurableTask +{ + internal partial class SchedulersRestOperations + { + private readonly TelemetryDetails _userAgent; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// Initializes a new instance of SchedulersRestOperations. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// The application id to use for user agent. + /// Service host. + /// The API version to use for this operation. + /// or is null. + public SchedulersRestOperations(HttpPipeline pipeline, string applicationId, Uri endpoint = null, string apiVersion = default) + { + _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); + _endpoint = endpoint ?? new Uri("https://management.azure.com"); + _apiVersion = apiVersion ?? "2024-10-01-preview"; + _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); + } + + internal RequestUriBuilder CreateGetRequestUri(string subscriptionId, string resourceGroupName, string schedulerName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGroupName, string schedulerName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Get a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task> GetAsync(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateGetRequest(subscriptionId, resourceGroupName, schedulerName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + SchedulerData value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SchedulerData.DeserializeSchedulerData(document.RootElement); + return Response.FromValue(value, message.Response); + } + case 404: + return Response.FromValue((SchedulerData)null, message.Response); + default: + throw new RequestFailedException(message.Response); + } + } + + /// Get a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response Get(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateGetRequest(subscriptionId, resourceGroupName, schedulerName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + SchedulerData value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SchedulerData.DeserializeSchedulerData(document.RootElement); + return Response.FromValue(value, message.Response); + } + case 404: + return Response.FromValue((SchedulerData)null, message.Response); + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateCreateOrUpdateRequestUri(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerData data) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerData data) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data, ModelSerializationExtensions.WireOptions); + request.Content = content; + _userAgent.Apply(message); + return message; + } + + /// Create or update a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// Resource create parameters. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task CreateOrUpdateAsync(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(data, nameof(data)); + + using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, schedulerName, data); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 201: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Create or update a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// Resource create parameters. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response CreateOrUpdate(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(data, nameof(data)); + + using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, schedulerName, data); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 201: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateUpdateRequestUri(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerPatch patch) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerPatch patch) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Patch; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch, ModelSerializationExtensions.WireOptions); + request.Content = content; + _userAgent.Apply(message); + return message; + } + + /// Update a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The resource properties to be updated. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task UpdateAsync(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerPatch patch, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(patch, nameof(patch)); + + using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, schedulerName, patch); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Update a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The resource properties to be updated. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response Update(string subscriptionId, string resourceGroupName, string schedulerName, SchedulerPatch patch, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(patch, nameof(patch)); + + using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, schedulerName, patch); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateDeleteRequestUri(string subscriptionId, string resourceGroupName, string schedulerName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceGroupName, string schedulerName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Delete a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task DeleteAsync(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, schedulerName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + case 204: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Delete a Scheduler. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response Delete(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, schedulerName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + case 204: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListByResourceGroupRequestUri(string subscriptionId, string resourceGroupName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateListByResourceGroupRequest(string subscriptionId, string resourceGroupName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Schedulers by resource group. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The cancellation token to use. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + public async Task> ListByResourceGroupAsync(string subscriptionId, string resourceGroupName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + + using var message = CreateListByResourceGroupRequest(subscriptionId, resourceGroupName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Schedulers by resource group. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The cancellation token to use. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + public Response ListByResourceGroup(string subscriptionId, string resourceGroupName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + + using var message = CreateListByResourceGroupRequest(subscriptionId, resourceGroupName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListBySubscriptionRequestUri(string subscriptionId) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateListBySubscriptionRequest(string subscriptionId) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Schedulers by subscription. + /// The ID of the target subscription. The value must be an UUID. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public async Task> ListBySubscriptionAsync(string subscriptionId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + + using var message = CreateListBySubscriptionRequest(subscriptionId); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Schedulers by subscription. + /// The ID of the target subscription. The value must be an UUID. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public Response ListBySubscription(string subscriptionId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + + using var message = CreateListBySubscriptionRequest(subscriptionId); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListByResourceGroupNextPageRequestUri(string nextLink, string subscriptionId, string resourceGroupName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + return uri; + } + + internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Schedulers by resource group. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The cancellation token to use. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + public async Task> ListByResourceGroupNextPageAsync(string nextLink, string subscriptionId, string resourceGroupName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + + using var message = CreateListByResourceGroupNextPageRequest(nextLink, subscriptionId, resourceGroupName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Schedulers by resource group. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The cancellation token to use. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + public Response ListByResourceGroupNextPage(string nextLink, string subscriptionId, string resourceGroupName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + + using var message = CreateListByResourceGroupNextPageRequest(nextLink, subscriptionId, resourceGroupName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListBySubscriptionNextPageRequestUri(string nextLink, string subscriptionId) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + return uri; + } + + internal HttpMessage CreateListBySubscriptionNextPageRequest(string nextLink, string subscriptionId) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Schedulers by subscription. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + public async Task> ListBySubscriptionNextPageAsync(string nextLink, string subscriptionId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + + using var message = CreateListBySubscriptionNextPageRequest(nextLink, subscriptionId); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Schedulers by subscription. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + public Response ListBySubscriptionNextPage(string nextLink, string subscriptionId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + + using var message = CreateListBySubscriptionNextPageRequest(nextLink, subscriptionId); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + SchedulerListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SchedulerListResult.DeserializeSchedulerListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/TaskHubsRestOperations.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/TaskHubsRestOperations.cs new file mode 100644 index 000000000000..5dea474a259b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/RestOperations/TaskHubsRestOperations.cs @@ -0,0 +1,513 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager.DurableTask.Models; + +namespace Azure.ResourceManager.DurableTask +{ + internal partial class TaskHubsRestOperations + { + private readonly TelemetryDetails _userAgent; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// Initializes a new instance of TaskHubsRestOperations. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// The application id to use for user agent. + /// Service host. + /// The API version to use for this operation. + /// or is null. + public TaskHubsRestOperations(HttpPipeline pipeline, string applicationId, Uri endpoint = null, string apiVersion = default) + { + _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); + _endpoint = endpoint ?? new Uri("https://management.azure.com"); + _apiVersion = apiVersion ?? "2024-10-01-preview"; + _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); + } + + internal RequestUriBuilder CreateGetRequestUri(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Get a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public async Task> GetAsync(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var message = CreateGetRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + TaskHubData value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = TaskHubData.DeserializeTaskHubData(document.RootElement); + return Response.FromValue(value, message.Response); + } + case 404: + return Response.FromValue((TaskHubData)null, message.Response); + default: + throw new RequestFailedException(message.Response); + } + } + + /// Get a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public Response Get(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var message = CreateGetRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + TaskHubData value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = TaskHubData.DeserializeTaskHubData(document.RootElement); + return Response.FromValue(value, message.Response); + } + case 404: + return Response.FromValue((TaskHubData)null, message.Response); + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateCreateOrUpdateRequestUri(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, TaskHubData data) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, TaskHubData data) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data, ModelSerializationExtensions.WireOptions); + request.Content = content; + _userAgent.Apply(message); + return message; + } + + /// Create or Update a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// Resource create parameters. + /// The cancellation token to use. + /// , , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public async Task CreateOrUpdateAsync(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + Argument.AssertNotNull(data, nameof(data)); + + using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName, data); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 201: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Create or Update a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// Resource create parameters. + /// The cancellation token to use. + /// , , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public Response CreateOrUpdate(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + Argument.AssertNotNull(data, nameof(data)); + + using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName, data); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 201: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateDeleteRequestUri(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs/", false); + uri.AppendPath(taskHubName, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Delete a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public async Task DeleteAsync(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + case 204: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Delete a Task Hub. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The name of the TaskHub. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public Response Delete(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, schedulerName, taskHubName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + case 204: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListBySchedulerRequestUri(string subscriptionId, string resourceGroupName, string schedulerName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateListBySchedulerRequest(string subscriptionId, string resourceGroupName, string schedulerName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DurableTask/schedulers/", false); + uri.AppendPath(schedulerName, true); + uri.AppendPath("/taskHubs", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Task Hubs. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task> ListBySchedulerAsync(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateListBySchedulerRequest(subscriptionId, resourceGroupName, schedulerName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + TaskHubListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = TaskHubListResult.DeserializeTaskHubListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Task Hubs. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response ListByScheduler(string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateListBySchedulerRequest(subscriptionId, resourceGroupName, schedulerName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + TaskHubListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = TaskHubListResult.DeserializeTaskHubListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateListBySchedulerNextPageRequestUri(string nextLink, string subscriptionId, string resourceGroupName, string schedulerName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + return uri; + } + + internal HttpMessage CreateListBySchedulerNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string schedulerName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// List Task Hubs. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public async Task> ListBySchedulerNextPageAsync(string nextLink, string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateListBySchedulerNextPageRequest(nextLink, subscriptionId, resourceGroupName, schedulerName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + TaskHubListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = TaskHubListResult.DeserializeTaskHubListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + + /// List Task Hubs. + /// The URL to the next page of results. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the Scheduler. + /// The cancellation token to use. + /// , , or is null. + /// , or is an empty string, and was expected to be non-empty. + public Response ListBySchedulerNextPage(string nextLink, string subscriptionId, string resourceGroupName, string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(nextLink, nameof(nextLink)); + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var message = CreateListBySchedulerNextPageRequest(nextLink, subscriptionId, resourceGroupName, schedulerName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + TaskHubListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = TaskHubListResult.DeserializeTaskHubListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw new RequestFailedException(message.Response); + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerCollection.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerCollection.cs new file mode 100644 index 000000000000..e99481ec7eda --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerCollection.cs @@ -0,0 +1,494 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Threading; +using System.Threading.Tasks; +using Autorest.CSharp.Core; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager.Resources; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A class representing a collection of and their operations. + /// Each in the collection will belong to the same instance of . + /// To get a instance call the GetSchedulers method from an instance of . + /// + public partial class SchedulerCollection : ArmCollection, IEnumerable, IAsyncEnumerable + { + private readonly ClientDiagnostics _schedulerClientDiagnostics; + private readonly SchedulersRestOperations _schedulerRestClient; + + /// Initializes a new instance of the class for mocking. + protected SchedulerCollection() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the parent resource that is the target of operations. + internal SchedulerCollection(ArmClient client, ResourceIdentifier id) : base(client, id) + { + _schedulerClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DurableTask", SchedulerResource.ResourceType.Namespace, Diagnostics); + TryGetApiVersion(SchedulerResource.ResourceType, out string schedulerApiVersion); + _schedulerRestClient = new SchedulersRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, schedulerApiVersion); +#if DEBUG + ValidateResourceId(Id); +#endif + } + + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != ResourceGroupResource.ResourceType) + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceGroupResource.ResourceType), nameof(id)); + } + + /// + /// Create or update a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the Scheduler. + /// Resource create parameters. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// or is null. + public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string schedulerName, SchedulerData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.CreateOrUpdate"); + scope.Start(); + try + { + var response = await _schedulerRestClient.CreateOrUpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, data, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(new SchedulerOperationSource(Client), _schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the Scheduler. + /// Resource create parameters. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// or is null. + public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string schedulerName, SchedulerData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.CreateOrUpdate"); + scope.Start(); + try + { + var response = _schedulerRestClient.CreateOrUpdate(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, data, cancellationToken); + var operation = new DurableTaskArmOperation(new SchedulerOperationSource(Client), _schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> GetAsync(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.Get"); + scope.Start(); + try + { + var response = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual Response Get(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.Get"); + scope.Start(); + try + { + var response = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// List Schedulers by resource group + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListByResourceGroup + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// An async collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _schedulerRestClient.CreateListByResourceGroupRequest(Id.SubscriptionId, Id.ResourceGroupName); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _schedulerRestClient.CreateListByResourceGroupNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new SchedulerResource(Client, SchedulerData.DeserializeSchedulerData(e)), _schedulerClientDiagnostics, Pipeline, "SchedulerCollection.GetAll", "value", "nextLink", cancellationToken); + } + + /// + /// List Schedulers by resource group + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers + /// + /// + /// Operation Id + /// Scheduler_ListByResourceGroup + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetAll(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _schedulerRestClient.CreateListByResourceGroupRequest(Id.SubscriptionId, Id.ResourceGroupName); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _schedulerRestClient.CreateListByResourceGroupNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new SchedulerResource(Client, SchedulerData.DeserializeSchedulerData(e)), _schedulerClientDiagnostics, Pipeline, "SchedulerCollection.GetAll", "value", "nextLink", cancellationToken); + } + + /// + /// Checks to see if the resource exists in azure. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> ExistsAsync(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.Exists"); + scope.Start(); + try + { + var response = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Checks to see if the resource exists in azure. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual Response Exists(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.Exists"); + scope.Start(); + try + { + var response = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken: cancellationToken); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get details for this resource from the service. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> GetIfExistsAsync(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.GetIfExists"); + scope.Start(); + try + { + var response = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken: cancellationToken).ConfigureAwait(false); + if (response.Value == null) + return new NoValueResponse(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get details for this resource from the service. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the Scheduler. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual NullableResponse GetIfExists(string schedulerName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(schedulerName, nameof(schedulerName)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerCollection.GetIfExists"); + scope.Start(); + try + { + var response = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, schedulerName, cancellationToken: cancellationToken); + if (response.Value == null) + return new NoValueResponse(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + IAsyncEnumerator IAsyncEnumerable.GetAsyncEnumerator(CancellationToken cancellationToken) + { + return GetAllAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.Serialization.cs new file mode 100644 index 000000000000..b3df03072f2b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.Serialization.cs @@ -0,0 +1,178 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DurableTask +{ + public partial class SchedulerData : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerData)} does not support writing '{format}' format."); + } + + base.JsonModelWriteCore(writer, options); + if (Optional.IsDefined(Properties)) + { + writer.WritePropertyName("properties"u8); + writer.WriteObjectValue(Properties, options); + } + } + + SchedulerData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SchedulerData)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSchedulerData(document.RootElement, options); + } + + internal static SchedulerData DeserializeSchedulerData(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + SchedulerProperties properties = default; + IDictionary tags = default; + AzureLocation location = default; + ResourceIdentifier id = default; + string name = default; + ResourceType type = default; + SystemData systemData = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("properties"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + properties = SchedulerProperties.DeserializeSchedulerProperties(property.Value, options); + continue; + } + if (property.NameEquals("tags"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + Dictionary dictionary = new Dictionary(); + foreach (var property0 in property.Value.EnumerateObject()) + { + dictionary.Add(property0.Name, property0.Value.GetString()); + } + tags = dictionary; + continue; + } + if (property.NameEquals("location"u8)) + { + location = new AzureLocation(property.Value.GetString()); + continue; + } + if (property.NameEquals("id"u8)) + { + id = new ResourceIdentifier(property.Value.GetString()); + continue; + } + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("type"u8)) + { + type = new ResourceType(property.Value.GetString()); + continue; + } + if (property.NameEquals("systemData"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + systemData = JsonSerializer.Deserialize(property.Value.GetRawText()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SchedulerData( + id, + name, + type, + systemData, + tags ?? new ChangeTrackingDictionary(), + location, + properties, + serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SchedulerData)} does not support writing '{options.Format}' format."); + } + } + + SchedulerData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeSchedulerData(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SchedulerData)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.cs new file mode 100644 index 000000000000..b0efc6bb0c8b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerData.cs @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A class representing the Scheduler data model. + /// A Durable Task Scheduler resource + /// + public partial class SchedulerData : TrackedResourceData + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// The location. + public SchedulerData(AzureLocation location) : base(location) + { + } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The tags. + /// The location. + /// The resource-specific properties for this resource. + /// Keeps track of any properties unknown to the library. + internal SchedulerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SchedulerProperties properties, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) + { + Properties = properties; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal SchedulerData() + { + } + + /// The resource-specific properties for this resource. + public SchedulerProperties Properties { get; set; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.Serialization.cs new file mode 100644 index 000000000000..ee2bf83f4e2f --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.Serialization.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; + +namespace Azure.ResourceManager.DurableTask +{ + public partial class SchedulerResource : IJsonModel + { + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel)Data).Write(writer, options); + + SchedulerData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => ((IJsonModel)Data).Create(ref reader, options); + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options); + + SchedulerData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read(data, options); + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => ((IPersistableModel)Data).GetFormatFromOptions(options); + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.cs new file mode 100644 index 000000000000..846c47ecc17d --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/SchedulerResource.cs @@ -0,0 +1,776 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Resources; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A Class representing a Scheduler along with the instance operations that can be performed on it. + /// If you have a you can construct a + /// from an instance of using the GetSchedulerResource method. + /// Otherwise you can get one from its parent resource using the GetScheduler method. + /// + public partial class SchedulerResource : ArmResource + { + /// Generate the resource identifier of a instance. + /// The subscriptionId. + /// The resourceGroupName. + /// The schedulerName. + public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName) + { + var resourceId = $"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}"; + return new ResourceIdentifier(resourceId); + } + + private readonly ClientDiagnostics _schedulerClientDiagnostics; + private readonly SchedulersRestOperations _schedulerRestClient; + private readonly SchedulerData _data; + + /// Gets the resource type for the operations. + public static readonly ResourceType ResourceType = "Microsoft.DurableTask/schedulers"; + + /// Initializes a new instance of the class for mocking. + protected SchedulerResource() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The resource that is the target of operations. + internal SchedulerResource(ArmClient client, SchedulerData data) : this(client, data.Id) + { + HasData = true; + _data = data; + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal SchedulerResource(ArmClient client, ResourceIdentifier id) : base(client, id) + { + _schedulerClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DurableTask", ResourceType.Namespace, Diagnostics); + TryGetApiVersion(ResourceType, out string schedulerApiVersion); + _schedulerRestClient = new SchedulersRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, schedulerApiVersion); +#if DEBUG + ValidateResourceId(Id); +#endif + } + + /// Gets whether or not the current instance has data. + public virtual bool HasData { get; } + + /// Gets the data representing this Feature. + /// Throws if there is no data loaded in the current instance. + public virtual SchedulerData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data, you must call Get first."); + return _data; + } + } + + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != ResourceType) + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), nameof(id)); + } + + /// Gets a collection of TaskHubResources in the Scheduler. + /// An object representing collection of TaskHubResources and their operations over a TaskHubResource. + public virtual TaskHubCollection GetTaskHubs() + { + return GetCachedClient(client => new TaskHubCollection(client, Id)); + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetTaskHubAsync(string taskHubName, CancellationToken cancellationToken = default) + { + return await GetTaskHubs().GetAsync(taskHubName, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetTaskHub(string taskHubName, CancellationToken cancellationToken = default) + { + return GetTaskHubs().Get(taskHubName, cancellationToken); + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Get"); + scope.Start(); + try + { + var response = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Get"); + scope.Start(); + try + { + var response = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new SchedulerResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Delete + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Delete"); + scope.Start(); + try + { + var response = await _schedulerRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(_schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Delete + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Delete"); + scope.Start(); + try + { + var response = _schedulerRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + var operation = new DurableTaskArmOperation(_schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletionResponse(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Update + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The resource properties to be updated. + /// The cancellation token to use. + /// is null. + public virtual async Task> UpdateAsync(WaitUntil waitUntil, SchedulerPatch patch, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(patch, nameof(patch)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Update"); + scope.Start(); + try + { + var response = await _schedulerRestClient.UpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(new SchedulerOperationSource(Client), _schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update a Scheduler + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Update + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The resource properties to be updated. + /// The cancellation token to use. + /// is null. + public virtual ArmOperation Update(WaitUntil waitUntil, SchedulerPatch patch, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(patch, nameof(patch)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.Update"); + scope.Start(); + try + { + var response = _schedulerRestClient.Update(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch, cancellationToken); + var operation = new DurableTaskArmOperation(new SchedulerOperationSource(Client), _schedulerClientDiagnostics, Pipeline, _schedulerRestClient.CreateUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The key for the tag. + /// The value for the tag. + /// The cancellation token to use. + /// or is null. + public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + Argument.AssertNotNull(value, nameof(value)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.AddTag"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues[key] = value; + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + var patch = new SchedulerPatch(); + foreach (var tag in current.Tags) + { + patch.Tags.Add(tag); + } + patch.Tags[key] = value; + var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The key for the tag. + /// The value for the tag. + /// The cancellation token to use. + /// or is null. + public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + Argument.AssertNotNull(value, nameof(value)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.AddTag"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues[key] = value; + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + var patch = new SchedulerPatch(); + foreach (var tag in current.Tags) + { + patch.Tags.Add(tag); + } + patch.Tags[key] = value; + var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The set of tags to use as replacement. + /// The cancellation token to use. + /// is null. + public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(tags, nameof(tags)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.SetTags"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues.ReplaceWith(tags); + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + var patch = new SchedulerPatch(); + patch.Tags.ReplaceWith(tags); + var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The set of tags to use as replacement. + /// The cancellation token to use. + /// is null. + public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(tags, nameof(tags)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.SetTags"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + GetTagResource().Delete(WaitUntil.Completed, cancellationToken: cancellationToken); + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues.ReplaceWith(tags); + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + var patch = new SchedulerPatch(); + patch.Tags.ReplaceWith(tags); + var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The key for the tag. + /// The cancellation token to use. + /// is null. + public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.RemoveTag"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues.Remove(key); + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _schedulerRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + var patch = new SchedulerPatch(); + foreach (var tag in current.Tags) + { + patch.Tags.Add(tag); + } + patch.Tags.Remove(key); + var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName} + /// + /// + /// Operation Id + /// Scheduler_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The key for the tag. + /// The cancellation token to use. + /// is null. + public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + + using var scope = _schedulerClientDiagnostics.CreateScope("SchedulerResource.RemoveTag"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues.Remove(key); + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _schedulerRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new SchedulerResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + var patch = new SchedulerPatch(); + foreach (var tag in current.Tags) + { + patch.Tags.Add(tag); + } + patch.Tags.Remove(key); + var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubCollection.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubCollection.cs new file mode 100644 index 000000000000..b6cb03eee7e5 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubCollection.cs @@ -0,0 +1,493 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Threading; +using System.Threading.Tasks; +using Autorest.CSharp.Core; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A class representing a collection of and their operations. + /// Each in the collection will belong to the same instance of . + /// To get a instance call the GetTaskHubs method from an instance of . + /// + public partial class TaskHubCollection : ArmCollection, IEnumerable, IAsyncEnumerable + { + private readonly ClientDiagnostics _taskHubClientDiagnostics; + private readonly TaskHubsRestOperations _taskHubRestClient; + + /// Initializes a new instance of the class for mocking. + protected TaskHubCollection() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the parent resource that is the target of operations. + internal TaskHubCollection(ArmClient client, ResourceIdentifier id) : base(client, id) + { + _taskHubClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DurableTask", TaskHubResource.ResourceType.Namespace, Diagnostics); + TryGetApiVersion(TaskHubResource.ResourceType, out string taskHubApiVersion); + _taskHubRestClient = new TaskHubsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, taskHubApiVersion); +#if DEBUG + ValidateResourceId(Id); +#endif + } + + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != SchedulerResource.ResourceType) + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, SchedulerResource.ResourceType), nameof(id)); + } + + /// + /// Create or Update a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the TaskHub. + /// Resource create parameters. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// or is null. + public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string taskHubName, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.CreateOrUpdate"); + scope.Start(); + try + { + var response = await _taskHubRestClient.CreateOrUpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, data, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(new TaskHubOperationSource(Client), _taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or Update a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the TaskHub. + /// Resource create parameters. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// or is null. + public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string taskHubName, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.CreateOrUpdate"); + scope.Start(); + try + { + var response = _taskHubRestClient.CreateOrUpdate(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, data, cancellationToken); + var operation = new DurableTaskArmOperation(new TaskHubOperationSource(Client), _taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> GetAsync(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.Get"); + scope.Start(); + try + { + var response = await _taskHubRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual Response Get(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.Get"); + scope.Start(); + try + { + var response = _taskHubRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// List Task Hubs + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs + /// + /// + /// Operation Id + /// TaskHub_ListByScheduler + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// An async collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _taskHubRestClient.CreateListBySchedulerRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _taskHubRestClient.CreateListBySchedulerNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new TaskHubResource(Client, TaskHubData.DeserializeTaskHubData(e)), _taskHubClientDiagnostics, Pipeline, "TaskHubCollection.GetAll", "value", "nextLink", cancellationToken); + } + + /// + /// List Task Hubs + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs + /// + /// + /// Operation Id + /// TaskHub_ListByScheduler + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetAll(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _taskHubRestClient.CreateListBySchedulerRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _taskHubRestClient.CreateListBySchedulerNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new TaskHubResource(Client, TaskHubData.DeserializeTaskHubData(e)), _taskHubClientDiagnostics, Pipeline, "TaskHubCollection.GetAll", "value", "nextLink", cancellationToken); + } + + /// + /// Checks to see if the resource exists in azure. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> ExistsAsync(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.Exists"); + scope.Start(); + try + { + var response = await _taskHubRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Checks to see if the resource exists in azure. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual Response Exists(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.Exists"); + scope.Start(); + try + { + var response = _taskHubRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken: cancellationToken); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get details for this resource from the service. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual async Task> GetIfExistsAsync(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.GetIfExists"); + scope.Start(); + try + { + var response = await _taskHubRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken: cancellationToken).ConfigureAwait(false); + if (response.Value == null) + return new NoValueResponse(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get details for this resource from the service. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The name of the TaskHub. + /// The cancellation token to use. + /// is an empty string, and was expected to be non-empty. + /// is null. + public virtual NullableResponse GetIfExists(string taskHubName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(taskHubName, nameof(taskHubName)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubCollection.GetIfExists"); + scope.Start(); + try + { + var response = _taskHubRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, taskHubName, cancellationToken: cancellationToken); + if (response.Value == null) + return new NoValueResponse(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + IAsyncEnumerator IAsyncEnumerable.GetAsyncEnumerator(CancellationToken cancellationToken) + { + return GetAllAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken); + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.Serialization.cs new file mode 100644 index 000000000000..ebedcde70af3 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.Serialization.cs @@ -0,0 +1,155 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DurableTask +{ + public partial class TaskHubData : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubData)} does not support writing '{format}' format."); + } + + base.JsonModelWriteCore(writer, options); + if (Optional.IsDefined(Properties)) + { + writer.WritePropertyName("properties"u8); + writer.WriteObjectValue(Properties, options); + } + } + + TaskHubData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TaskHubData)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeTaskHubData(document.RootElement, options); + } + + internal static TaskHubData DeserializeTaskHubData(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + TaskHubProperties properties = default; + ResourceIdentifier id = default; + string name = default; + ResourceType type = default; + SystemData systemData = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("properties"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + properties = TaskHubProperties.DeserializeTaskHubProperties(property.Value, options); + continue; + } + if (property.NameEquals("id"u8)) + { + id = new ResourceIdentifier(property.Value.GetString()); + continue; + } + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("type"u8)) + { + type = new ResourceType(property.Value.GetString()); + continue; + } + if (property.NameEquals("systemData"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + systemData = JsonSerializer.Deserialize(property.Value.GetRawText()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new TaskHubData( + id, + name, + type, + systemData, + properties, + serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(TaskHubData)} does not support writing '{options.Format}' format."); + } + } + + TaskHubData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeTaskHubData(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(TaskHubData)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.cs new file mode 100644 index 000000000000..32ccf2cef315 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubData.cs @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core; +using Azure.ResourceManager.DurableTask.Models; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A class representing the TaskHub data model. + /// A Task Hub resource belonging to the scheduler + /// + public partial class TaskHubData : ResourceData + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public TaskHubData() + { + } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The resource-specific properties for this resource. + /// Keeps track of any properties unknown to the library. + internal TaskHubData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, TaskHubProperties properties, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) + { + Properties = properties; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The resource-specific properties for this resource. + public TaskHubProperties Properties { get; set; } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.Serialization.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.Serialization.cs new file mode 100644 index 000000000000..dbb7d1eccb6a --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.Serialization.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; + +namespace Azure.ResourceManager.DurableTask +{ + public partial class TaskHubResource : IJsonModel + { + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel)Data).Write(writer, options); + + TaskHubData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => ((IJsonModel)Data).Create(ref reader, options); + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options); + + TaskHubData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read(data, options); + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => ((IPersistableModel)Data).GetFormatFromOptions(options); + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.cs new file mode 100644 index 000000000000..732958f3e416 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Generated/TaskHubResource.cs @@ -0,0 +1,347 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Globalization; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.DurableTask +{ + /// + /// A Class representing a TaskHub along with the instance operations that can be performed on it. + /// If you have a you can construct a + /// from an instance of using the GetTaskHubResource method. + /// Otherwise you can get one from its parent resource using the GetTaskHub method. + /// + public partial class TaskHubResource : ArmResource + { + /// Generate the resource identifier of a instance. + /// The subscriptionId. + /// The resourceGroupName. + /// The schedulerName. + /// The taskHubName. + public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string schedulerName, string taskHubName) + { + var resourceId = $"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}"; + return new ResourceIdentifier(resourceId); + } + + private readonly ClientDiagnostics _taskHubClientDiagnostics; + private readonly TaskHubsRestOperations _taskHubRestClient; + private readonly TaskHubData _data; + + /// Gets the resource type for the operations. + public static readonly ResourceType ResourceType = "Microsoft.DurableTask/schedulers/taskHubs"; + + /// Initializes a new instance of the class for mocking. + protected TaskHubResource() + { + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The resource that is the target of operations. + internal TaskHubResource(ArmClient client, TaskHubData data) : this(client, data.Id) + { + HasData = true; + _data = data; + } + + /// Initializes a new instance of the class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal TaskHubResource(ArmClient client, ResourceIdentifier id) : base(client, id) + { + _taskHubClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DurableTask", ResourceType.Namespace, Diagnostics); + TryGetApiVersion(ResourceType, out string taskHubApiVersion); + _taskHubRestClient = new TaskHubsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, taskHubApiVersion); +#if DEBUG + ValidateResourceId(Id); +#endif + } + + /// Gets whether or not the current instance has data. + public virtual bool HasData { get; } + + /// Gets the data representing this Feature. + /// Throws if there is no data loaded in the current instance. + public virtual TaskHubData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data, you must call Get first."); + return _data; + } + } + + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != ResourceType) + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), nameof(id)); + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Get"); + scope.Start(); + try + { + var response = await _taskHubRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Get + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Get"); + scope.Start(); + try + { + var response = _taskHubRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken); + if (response.Value == null) + throw new RequestFailedException(response.GetRawResponse()); + return Response.FromValue(new TaskHubResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Delete + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Delete"); + scope.Start(); + try + { + var response = await _taskHubRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(_taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_Delete + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Delete"); + scope.Start(); + try + { + var response = _taskHubRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken); + var operation = new DurableTaskArmOperation(_taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletionResponse(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or Update a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// Resource create parameters. + /// The cancellation token to use. + /// is null. + public virtual async Task> UpdateAsync(WaitUntil waitUntil, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Update"); + scope.Start(); + try + { + var response = await _taskHubRestClient.CreateOrUpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, data, cancellationToken).ConfigureAwait(false); + var operation = new DurableTaskArmOperation(new TaskHubOperationSource(Client), _taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or Update a Task Hub + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName} + /// + /// + /// Operation Id + /// TaskHub_CreateOrUpdate + /// + /// + /// Default Api Version + /// 2024-10-01-preview + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// Resource create parameters. + /// The cancellation token to use. + /// is null. + public virtual ArmOperation Update(WaitUntil waitUntil, TaskHubData data, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(data, nameof(data)); + + using var scope = _taskHubClientDiagnostics.CreateScope("TaskHubResource.Update"); + scope.Start(); + try + { + var response = _taskHubRestClient.CreateOrUpdate(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, data, cancellationToken); + var operation = new DurableTaskArmOperation(new TaskHubOperationSource(Client), _taskHubClientDiagnostics, Pipeline, _taskHubRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, data).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Properties/AssemblyInfo.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..f4ddd8db408b --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/src/Properties/AssemblyInfo.cs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Azure.ResourceManager.DurableTask.Tests, PublicKey = 0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] + +// Replace Microsoft.Test with the correct resource provider namepace for your service and uncomment. +// See https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers +// for the list of possible values. +[assembly: Azure.Core.AzureResourceProviderNamespace("DurableTask")] diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/Azure.ResourceManager.DurableTask.Tests.csproj b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/Azure.ResourceManager.DurableTask.Tests.csproj new file mode 100644 index 000000000000..c0676a62c635 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/Azure.ResourceManager.DurableTask.Tests.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestBase.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestBase.cs new file mode 100644 index 000000000000..f71a1438b58a --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestBase.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure; +using Azure.Core; +using Azure.Core.TestFramework; +using Azure.ResourceManager; +using Azure.ResourceManager.Resources; +using Azure.ResourceManager.TestFramework; +using NUnit.Framework; +using System.Threading.Tasks; + +namespace Azure.ResourceManager.DurableTask.Tests +{ + public class DurableTaskManagementTestBase : ManagementRecordedTestBase + { + protected ArmClient Client { get; private set; } + protected SubscriptionResource DefaultSubscription { get; private set; } + + protected DurableTaskManagementTestBase(bool isAsync, RecordedTestMode mode) + : base(isAsync, mode) + { + } + + protected DurableTaskManagementTestBase(bool isAsync) + : base(isAsync) + { + } + + [SetUp] + public async Task CreateCommonClient() + { + Client = GetArmClient(); + DefaultSubscription = await Client.GetDefaultSubscriptionAsync().ConfigureAwait(false); + } + + protected async Task CreateResourceGroup(SubscriptionResource subscription, string rgNamePrefix, AzureLocation location) + { + string rgName = Recording.GenerateAssetName(rgNamePrefix); + ResourceGroupData input = new ResourceGroupData(location); + var lro = await subscription.GetResourceGroups().CreateOrUpdateAsync(WaitUntil.Completed, rgName, input); + return lro.Value; + } + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestEnvironment.cs b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestEnvironment.cs new file mode 100644 index 000000000000..e95562b17623 --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/tests/DurableTaskManagementTestEnvironment.cs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core.TestFramework; + +namespace Azure.ResourceManager.DurableTask.Tests +{ + public class DurableTaskManagementTestEnvironment : TestEnvironment + { + } +} diff --git a/sdk/durabletask/Azure.ResourceManager.DurableTask/tsp-location.yaml b/sdk/durabletask/Azure.ResourceManager.DurableTask/tsp-location.yaml new file mode 100644 index 000000000000..08f9cdeeb64c --- /dev/null +++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/durabletask/DurableTask.Management +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/durabletask/ci.mgmt.yml b/sdk/durabletask/ci.mgmt.yml new file mode 100644 index 000000000000..8e58a086dadf --- /dev/null +++ b/sdk/durabletask/ci.mgmt.yml @@ -0,0 +1,26 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. + +trigger: none + +pr: + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/durabletask /ci.mgmt.yml + - sdk/durabletask /Azure.ResourceManager.DurableTask / + + +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: durabletask + ArtifactName: packages + LimitForPullRequest: true + Artifacts: + - name: Azure.ResourceManager.DurableTask + safeName: AzureResourceManagerDurableTask diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/Configuration.json b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/Configuration.json new file mode 100644 index 000000000000..60096438592a --- /dev/null +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/Configuration.json @@ -0,0 +1,13 @@ +{ + "output-folder": ".", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "library-name": "Azure.ResourceManager.HybridConnectivity", + "flavor": "azure", + "use-model-reader-writer": true, + "shared-source-folders": [ + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared", + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared" + ], + "examples-dir": "TempTypeSpecFiles/HybridConnectivity.Management/examples", + "azure-arm": true +} diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md deleted file mode 100644 index 87d7241b2795..000000000000 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md +++ /dev/null @@ -1,91 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateCode` to generate code. - -``` yaml - -azure-arm: true -csharp: true -library-name: HybridConnectivity -namespace: Azure.ResourceManager.HybridConnectivity -# default tag is a preview version -require: https://github.com/Azure/azure-rest-api-specs/blob/5f869da70574588b5af7c46a20de802cb8edc093/specification/hybridconnectivity/resource-manager/readme.md -#tag: package-2023-03 -output-folder: $(this-folder)/Generated -clear-output-folder: true -sample-gen: - output-folder: $(this-folder)/../samples/Generated - clear-output-folder: true -skip-csproj: true -modelerfour: - flatten-payloads: false -use-model-reader-writer: true - -#mgmt-debug: -# show-serialized-names: true - -format-by-name-rules: - 'tenantId': 'uuid' - 'etag': 'etag' - 'location': 'azure-location' - '*Uri': 'Uri' - '*Uris': 'Uri' - -acronym-mapping: - CPU: Cpu - CPUs: Cpus - Os: OS - Ip: IP - Ips: IPs|ips - ID: Id - IDs: Ids - VM: Vm - VMs: Vms - Vmos: VmOS - VMScaleSet: VmScaleSet - DNS: Dns - VPN: Vpn - NAT: Nat - WAN: Wan - Ipv4: IPv4|ipv4 - Ipv6: IPv6|ipv6 - Ipsec: IPsec|ipsec - SSO: Sso - URI: Uri - Etag: ETag|etag - -prepend-rp-prefix: - # - CloudNativeType - - EndpointProperties - # - HostType - # - InventoryProperties - - ProvisioningState - # - ResourceProvisioningState - - ServiceName - # - SolutionConfiguration - # - PublicCloudConnector - # - OperationStatusResult - # - SolutionTypeProperties - -rename-mapping: - EndpointResource: HybridConnectivityEndpoint - # InventoryResource: HybridConnectivityInventory - ServiceConfigurationResource: HybridConnectivityServiceConfiguration - # SolutionTypeResource: HybridConnectivitySolutionType - IngressGatewayResource: IngressGatewayAsset - ManagedProxyResource: ManagedProxyAsset - IngressGatewayResource.ingress.aadProfile.serverId: -|uuid - # PublicCloudConnectorProperties.connectorPrimaryIdentifier: -|uuid - EndpointProperties.resourceId: -|arm-id - # InventoryProperties.azureResourceId: -|arm-id - ServiceConfigurationResource.properties.resourceId: -|arm-id - # GenerateAwsTemplateRequest.connectorId: -|arm-id - EndpointAccessResource: TargetResourceEndpointAccess - -directive: - - from: swagger-document - where: $.definitions.EndpointProperties.properties.type - transform: > - $["x-ms-enum"]["name"] = "HybridConnectivityEndpointType" - -``` diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tsp-location.yaml b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tsp-location.yaml new file mode 100644 index 000000000000..7789267b9e85 --- /dev/null +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/hybridconnectivity/HybridConnectivity.Management +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tspCodeModel.json b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tspCodeModel.json new file mode 100644 index 000000000000..2caca58a829f --- /dev/null +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/tspCodeModel.json @@ -0,0 +1,19166 @@ +{ + "$id": "1", + "name": "Microsoft.HybridConnectivity", + "apiVersions": [ + "2024-12-01" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "12", + "kind": "enum", + "name": "CloudNativeType", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.CloudNativeType", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "14", + "kind": "enumvalue", + "name": "ec2", + "value": "ec2", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "12" + }, + "doc": "ec2 enum.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "Cloud Native Type enum.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "16", + "kind": "enum", + "name": "SolutionConfigurationStatus", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationStatus", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "18", + "kind": "enumvalue", + "name": "New", + "value": "New", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "New status", + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "InProgress", + "value": "InProgress", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "InProgress status", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "Completed", + "value": "Completed", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "Canceled status", + "decorators": [] + }, + { + "$id": "24", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "Failed status", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "Solution Configuration Status.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "26", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "28", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "26" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "30", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "26" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "32", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "26" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "34", + "kind": "enum", + "name": "HostType", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.HostType", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "36", + "kind": "enumvalue", + "name": "AWS", + "value": "AWS", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "34" + }, + "doc": "AWS state", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "Enum of host cloud the public cloud connector is referencing.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "38", + "kind": "enum", + "name": "HybridConnectivityServiceName", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceName", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "40", + "kind": "enumvalue", + "name": "SSH", + "value": "SSH", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "WAC", + "value": "WAC", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "Name of the service.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "44", + "kind": "enum", + "name": "HybridConnectivityProvisioningState", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ProvisioningState", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "46", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "44" + }, + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "Creating", + "value": "Creating", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "44" + }, + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "44" + }, + "decorators": [] + }, + { + "$id": "52", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "44" + }, + "decorators": [] + }, + { + "$id": "54", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "44" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "The resource provisioning state.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "56", + "kind": "enum", + "name": "HybridConnectivityEndpointType", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Type", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "58", + "kind": "enumvalue", + "name": "default", + "value": "default", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "56" + }, + "decorators": [] + }, + { + "$id": "60", + "kind": "enumvalue", + "name": "custom", + "value": "custom", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "56" + }, + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "The type of endpoint.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "62", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "64", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "62" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "66", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "62" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "68", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "62" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "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": "70", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "72", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "70" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "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": "74", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Versions", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "76", + "kind": "enumvalue", + "name": "v2024_12_01", + "value": "2024-12-01", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "74" + }, + "doc": "Version 2024-12-01", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "Hybrid Connectivity Management service version.", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "models": [ + { + "$id": "78", + "kind": "model", + "name": "SolutionTypeResource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeResource", + "usage": "Output,Json", + "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$id": "79", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "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", + "decorators": [], + "baseModel": { + "$id": "80", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "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", + "decorators": [], + "properties": [ + { + "$id": "81", + "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": "82", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", + "serializationOptions": { + "$id": "84", + "json": { + "$id": "85", + "name": "id" + } + } + }, + { + "$id": "86", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "$id": "88", + "json": { + "$id": "89", + "name": "name" + } + } + }, + { + "$id": "90", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "91", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "92", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", + "serializationOptions": { + "$id": "93", + "json": { + "$id": "94", + "name": "type" + } + } + }, + { + "$id": "95", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "96", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "97", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "98", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "$id": "99", + "json": { + "$id": "100", + "name": "createdBy" + } + } + }, + { + "$id": "101", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "2" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "$id": "102", + "json": { + "$id": "103", + "name": "createdByType" + } + } + }, + { + "$id": "104", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "105", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", + "serializationOptions": { + "$id": "107", + "json": { + "$id": "108", + "name": "createdAt" + } + } + }, + { + "$id": "109", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "$id": "111", + "json": { + "$id": "112", + "name": "lastModifiedBy" + } + } + }, + { + "$id": "113", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "2" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "$id": "114", + "json": { + "$id": "115", + "name": "lastModifiedByType" + } + } + }, + { + "$id": "116", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "117", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "118", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", + "serializationOptions": { + "$id": "119", + "json": { + "$id": "120", + "name": "lastModifiedAt" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "$id": "121", + "json": { + "$id": "122", + "name": "systemData" + } + } + } + ] + }, + "properties": [] + }, + "properties": [ + { + "$id": "123", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "124", + "kind": "model", + "name": "SolutionTypeProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeProperties", + "usage": "Output,Json", + "doc": "Definition of Solution type resource.", + "decorators": [], + "properties": [ + { + "$id": "125", + "kind": "property", + "name": "solutionType", + "serializedName": "solutionType", + "doc": "The name of the solution type.", + "type": { + "$id": "126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeProperties.solutionType", + "serializationOptions": { + "$id": "127", + "json": { + "$id": "128", + "name": "solutionType" + } + } + }, + { + "$id": "129", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Short description of solution type.", + "type": { + "$id": "130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeProperties.description", + "serializationOptions": { + "$id": "131", + "json": { + "$id": "132", + "name": "description" + } + } + }, + { + "$id": "133", + "kind": "property", + "name": "supportedAzureRegions", + "serializedName": "supportedAzureRegions", + "doc": "The locations this solution is supported in.", + "type": { + "$id": "134", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeProperties.supportedAzureRegions", + "serializationOptions": { + "$id": "136", + "json": { + "$id": "137", + "name": "supportedAzureRegions" + } + } + }, + { + "$id": "138", + "kind": "property", + "name": "solutionSettings", + "serializedName": "solutionSettings", + "doc": "Array of solution settings and its description.", + "type": { + "$id": "139", + "kind": "array", + "name": "ArraySolutionTypeSettingsProperties", + "valueType": { + "$id": "140", + "kind": "model", + "name": "SolutionTypeSettingsProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties", + "usage": "Output,Json", + "doc": "Represent Solution settings properties description array.", + "decorators": [], + "properties": [ + { + "$id": "141", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the solution setting property.", + "type": { + "$id": "142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.name", + "serializationOptions": { + "$id": "143", + "json": { + "$id": "144", + "name": "name" + } + } + }, + { + "$id": "145", + "kind": "property", + "name": "displayName", + "serializedName": "displayName", + "doc": "The UI friendly name of the solution setting property.", + "type": { + "$id": "146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.displayName", + "serializationOptions": { + "$id": "147", + "json": { + "$id": "148", + "name": "displayName" + } + } + }, + { + "$id": "149", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of the solution setting property, represented as a string.", + "type": { + "$id": "150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.type", + "serializationOptions": { + "$id": "151", + "json": { + "$id": "152", + "name": "type" + } + } + }, + { + "$id": "153", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Description of solution setting property.", + "type": { + "$id": "154", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.description", + "serializationOptions": { + "$id": "155", + "json": { + "$id": "156", + "name": "description" + } + } + }, + { + "$id": "157", + "kind": "property", + "name": "allowedValues", + "serializedName": "allowedValues", + "doc": "Array of allowed values for this solution settings property.", + "type": { + "$id": "158", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.allowedValues", + "serializationOptions": { + "$id": "160", + "json": { + "$id": "161", + "name": "allowedValues" + } + } + }, + { + "$id": "162", + "kind": "property", + "name": "defaultValue", + "serializedName": "defaultValue", + "doc": "Default value for this solution settings property.", + "type": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettingsProperties.defaultValue", + "serializationOptions": { + "$id": "164", + "json": { + "$id": "165", + "name": "defaultValue" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeProperties.solutionSettings", + "serializationOptions": { + "$id": "166", + "json": { + "$id": "167", + "name": "solutionSettings" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeResource.properties", + "serializationOptions": { + "$id": "168", + "json": { + "$id": "169", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "124" + }, + { + "$ref": "140" + }, + { + "$ref": "79" + }, + { + "$ref": "80" + }, + { + "$ref": "96" + }, + { + "$id": "170", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Error,Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "decorators": [], + "properties": [ + { + "$id": "171", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "172", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The error detail.", + "decorators": [], + "properties": [ + { + "$id": "173", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "$id": "175", + "json": { + "$id": "176", + "name": "code" + } + } + }, + { + "$id": "177", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "$id": "179", + "json": { + "$id": "180", + "name": "message" + } + } + }, + { + "$id": "181", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "$id": "183", + "json": { + "$id": "184", + "name": "target" + } + } + }, + { + "$id": "185", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "186", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "172" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "$id": "187", + "json": { + "$id": "188", + "name": "details" + } + } + }, + { + "$id": "189", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "190", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "191", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "192", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "$id": "194", + "json": { + "$id": "195", + "name": "type" + } + } + }, + { + "$id": "196", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "197", + "kind": "model", + "name": "ErrorAdditionalInfoInfo", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "$id": "198", + "json": { + "$id": "199", + "name": "info" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "$id": "200", + "json": { + "$id": "201", + "name": "additionalInfo" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "$id": "202", + "json": { + "$id": "203", + "name": "error" + } + } + } + ] + }, + { + "$ref": "172" + }, + { + "$ref": "191" + }, + { + "$ref": "197" + }, + { + "$id": "204", + "kind": "model", + "name": "SolutionTypeResourceListResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a SolutionTypeResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "205", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The SolutionTypeResource items on this page", + "type": { + "$id": "206", + "kind": "array", + "name": "ArraySolutionTypeResource", + "valueType": { + "$ref": "78" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "207", + "json": { + "$id": "208", + "name": "value" + } + } + }, + { + "$id": "209", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "210", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "211", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "212", + "json": { + "$id": "213", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "214", + "kind": "model", + "name": "InventoryResource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryResource", + "usage": "Output,Json", + "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$ref": "79" + }, + "properties": [ + { + "$id": "215", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "216", + "kind": "model", + "name": "InventoryProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties", + "usage": "Output,Json", + "doc": "Definition of inventory.", + "decorators": [], + "properties": [ + { + "$id": "217", + "kind": "property", + "name": "cloudNativeType", + "serializedName": "cloudNativeType", + "doc": "Gets or sets the cloud native resource type.", + "type": { + "$ref": "12" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.cloudNativeType", + "serializationOptions": { + "$id": "218", + "json": { + "$id": "219", + "name": "cloudNativeType" + } + } + }, + { + "$id": "220", + "kind": "property", + "name": "cloudNativeResourceId", + "serializedName": "cloudNativeResourceId", + "doc": "Gets or sets the cloud native resource name.", + "type": { + "$id": "221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.cloudNativeResourceId", + "serializationOptions": { + "$id": "222", + "json": { + "$id": "223", + "name": "cloudNativeResourceId" + } + } + }, + { + "$id": "224", + "kind": "property", + "name": "azureResourceId", + "serializedName": "azureResourceId", + "doc": "Gets or sets the mapped azure resource id.", + "type": { + "$id": "225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.azureResourceId", + "serializationOptions": { + "$id": "226", + "json": { + "$id": "227", + "name": "azureResourceId" + } + } + }, + { + "$id": "228", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Gets or sets the status of the inventory.", + "type": { + "$ref": "16" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.status", + "serializationOptions": { + "$id": "229", + "json": { + "$id": "230", + "name": "status" + } + } + }, + { + "$id": "231", + "kind": "property", + "name": "statusDetails", + "serializedName": "statusDetails", + "doc": "Gets or sets the status details.", + "type": { + "$id": "232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.statusDetails", + "serializationOptions": { + "$id": "233", + "json": { + "$id": "234", + "name": "statusDetails" + } + } + }, + { + "$id": "235", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The resource provisioning state.", + "type": { + "$ref": "26" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryProperties.provisioningState", + "serializationOptions": { + "$id": "236", + "json": { + "$id": "237", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.InventoryResource.properties", + "serializationOptions": { + "$id": "238", + "json": { + "$id": "239", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "216" + }, + { + "$id": "240", + "kind": "model", + "name": "InventoryResourceListResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a InventoryResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "241", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The InventoryResource items on this page", + "type": { + "$id": "242", + "kind": "array", + "name": "ArrayInventoryResource", + "valueType": { + "$ref": "214" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "243", + "json": { + "$id": "244", + "name": "value" + } + } + }, + { + "$id": "245", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "246", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "247", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "248", + "json": { + "$id": "249", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "250", + "kind": "model", + "name": "SolutionConfiguration", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfiguration", + "usage": "Input,Output,Json", + "doc": "Solution Configuration", + "decorators": [], + "baseModel": { + "$id": "251", + "kind": "model", + "name": "ExtensionResource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtensionResource", + "usage": "Input,Output,Json", + "doc": "The base extension resource.", + "decorators": [], + "baseModel": { + "$ref": "80" + }, + "properties": [] + }, + "properties": [ + { + "$id": "252", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "253", + "kind": "model", + "name": "SolutionConfigurationProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties", + "usage": "Input,Output,Json", + "doc": "Solution configuration resource.", + "decorators": [], + "properties": [ + { + "$id": "254", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The resource provisioning state.", + "type": { + "$ref": "26" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.provisioningState", + "serializationOptions": { + "$id": "255", + "json": { + "$id": "256", + "name": "provisioningState" + } + } + }, + { + "$id": "257", + "kind": "property", + "name": "solutionType", + "serializedName": "solutionType", + "doc": "The type of the solution", + "type": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.solutionType", + "serializationOptions": { + "$id": "259", + "json": { + "$id": "260", + "name": "solutionType" + } + } + }, + { + "$id": "261", + "kind": "property", + "name": "solutionSettings", + "serializedName": "solutionSettings", + "doc": "Solution settings", + "type": { + "$id": "262", + "kind": "model", + "name": "SolutionSettings", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionSettings", + "usage": "Input,Output,Json", + "doc": "Solution settings", + "decorators": [], + "additionalProperties": { + "$id": "263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "properties": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.solutionSettings", + "serializationOptions": { + "$id": "264", + "json": { + "$id": "265", + "name": "solutionSettings" + } + } + }, + { + "$id": "266", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The status of solution configurations", + "type": { + "$ref": "16" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.status", + "serializationOptions": { + "$id": "267", + "json": { + "$id": "268", + "name": "status" + } + } + }, + { + "$id": "269", + "kind": "property", + "name": "statusDetails", + "serializedName": "statusDetails", + "doc": "The detailed message of status details", + "type": { + "$id": "270", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.statusDetails", + "serializationOptions": { + "$id": "271", + "json": { + "$id": "272", + "name": "statusDetails" + } + } + }, + { + "$id": "273", + "kind": "property", + "name": "lastSyncTime", + "serializedName": "lastSyncTime", + "doc": "The last time resources were inventoried", + "type": { + "$id": "274", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationProperties.lastSyncTime", + "serializationOptions": { + "$id": "276", + "json": { + "$id": "277", + "name": "lastSyncTime" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfiguration.properties", + "serializationOptions": { + "$id": "278", + "json": { + "$id": "279", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "253" + }, + { + "$ref": "262" + }, + { + "$ref": "251" + }, + { + "$id": "280", + "kind": "model", + "name": "SolutionConfigurationUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationUpdate", + "usage": "Input,Json", + "doc": "Solution Configuration", + "decorators": [], + "baseModel": { + "$ref": "79" + }, + "properties": [ + { + "$id": "281", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "282", + "kind": "model", + "name": "SolutionConfigurationPropertiesUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationPropertiesUpdate", + "usage": "Input,Json", + "doc": "Solution configuration resource.", + "decorators": [], + "properties": [ + { + "$id": "283", + "kind": "property", + "name": "solutionType", + "serializedName": "solutionType", + "doc": "The type of the solution", + "type": { + "$id": "284", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationPropertiesUpdate.solutionType", + "serializationOptions": { + "$id": "285", + "json": { + "$id": "286", + "name": "solutionType" + } + } + }, + { + "$id": "287", + "kind": "property", + "name": "solutionSettings", + "serializedName": "solutionSettings", + "doc": "Solution settings", + "type": { + "$ref": "262" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationPropertiesUpdate.solutionSettings", + "serializationOptions": { + "$id": "288", + "json": { + "$id": "289", + "name": "solutionSettings" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurationUpdate.properties", + "serializationOptions": { + "$id": "290", + "json": { + "$id": "291", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "282" + }, + { + "$id": "292", + "kind": "model", + "name": "SolutionConfigurationListResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a SolutionConfiguration list operation.", + "decorators": [], + "properties": [ + { + "$id": "293", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The SolutionConfiguration items on this page", + "type": { + "$id": "294", + "kind": "array", + "name": "ArraySolutionConfiguration", + "valueType": { + "$ref": "250" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "295", + "json": { + "$id": "296", + "name": "value" + } + } + }, + { + "$id": "297", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "298", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "299", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "300", + "json": { + "$id": "301", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "302", + "kind": "model", + "name": "OperationStatusResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The current status of an async operation.", + "decorators": [], + "properties": [ + { + "$id": "303", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified ID for the async operation.", + "type": { + "$id": "304", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.id", + "serializationOptions": { + "$id": "306", + "json": { + "$id": "307", + "name": "id" + } + } + }, + { + "$id": "308", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the async operation.", + "type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", + "serializationOptions": { + "$id": "310", + "json": { + "$id": "311", + "name": "name" + } + } + }, + { + "$id": "312", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Operation status.", + "type": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", + "serializationOptions": { + "$id": "314", + "json": { + "$id": "315", + "name": "status" + } + } + }, + { + "$id": "316", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "Percent of the operation that is complete.", + "type": { + "$id": "317", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", + "serializationOptions": { + "$id": "318", + "json": { + "$id": "319", + "name": "percentComplete" + } + } + }, + { + "$id": "320", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "The start time of the operation.", + "type": { + "$id": "321", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "322", + "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.OperationStatusResult.startTime", + "serializationOptions": { + "$id": "323", + "json": { + "$id": "324", + "name": "startTime" + } + } + }, + { + "$id": "325", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "The end time of the operation.", + "type": { + "$id": "326", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "327", + "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.OperationStatusResult.endTime", + "serializationOptions": { + "$id": "328", + "json": { + "$id": "329", + "name": "endTime" + } + } + }, + { + "$id": "330", + "kind": "property", + "name": "operations", + "serializedName": "operations", + "doc": "The operations list.", + "type": { + "$id": "331", + "kind": "array", + "name": "ArrayOperationStatusResult", + "valueType": { + "$ref": "302" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", + "serializationOptions": { + "$id": "332", + "json": { + "$id": "333", + "name": "operations" + } + } + }, + { + "$id": "334", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "If present, details of the operation error.", + "type": { + "$ref": "172" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", + "serializationOptions": { + "$id": "335", + "json": { + "$id": "336", + "name": "error" + } + } + }, + { + "$id": "337", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "Fully qualified ID of the resource against which the original async operation was started.", + "type": { + "$id": "338", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.resourceId", + "serializationOptions": { + "$id": "339", + "json": { + "$id": "340", + "name": "resourceId" + } + } + } + ] + }, + { + "$id": "341", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "342", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "26" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "$id": "343", + "json": { + "$id": "344", + "name": "status" + } + } + }, + { + "$id": "345", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "346", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "$id": "347", + "json": { + "$id": "348", + "name": "name" + } + } + }, + { + "$id": "349", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "350", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "351", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "$id": "352", + "json": { + "$id": "353", + "name": "startTime" + } + } + }, + { + "$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": { + "$id": "357", + "json": { + "$id": "358", + "name": "endTime" + } + } + }, + { + "$id": "359", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "360", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "$id": "361", + "json": { + "$id": "362", + "name": "percentComplete" + } + } + }, + { + "$id": "363", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "172" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "$id": "364", + "json": { + "$id": "365", + "name": "error" + } + } + } + ] + }, + { + "$id": "366", + "kind": "model", + "name": "PublicCloudConnector", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnector", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Public Cloud Connector", + "decorators": [], + "baseModel": { + "$id": "367", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "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'", + "decorators": [], + "baseModel": { + "$ref": "80" + }, + "properties": [ + { + "$id": "368", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "369", + "kind": "dict", + "keyType": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", + "serializationOptions": { + "$id": "372", + "json": { + "$id": "373", + "name": "tags" + } + } + }, + { + "$id": "374", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "$id": "376", + "json": { + "$id": "377", + "name": "location" + } + } + } + ] + }, + "properties": [ + { + "$id": "378", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "379", + "kind": "model", + "name": "PublicCloudConnectorProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Properties of public cloud connectors.", + "decorators": [], + "properties": [ + { + "$id": "380", + "kind": "property", + "name": "awsCloudProfile", + "serializedName": "awsCloudProfile", + "doc": "Cloud profile for AWS.", + "type": { + "$id": "381", + "kind": "model", + "name": "AwsCloudProfile", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfile", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "cloud profile for AWS.", + "decorators": [], + "properties": [ + { + "$id": "382", + "kind": "property", + "name": "accountId", + "serializedName": "accountId", + "doc": "Account id for the AWS account.", + "type": { + "$id": "383", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfile.accountId", + "serializationOptions": { + "$id": "384", + "json": { + "$id": "385", + "name": "accountId" + } + } + }, + { + "$id": "386", + "kind": "property", + "name": "excludedAccounts", + "serializedName": "excludedAccounts", + "doc": "List of AWS accounts which need to be excluded.", + "type": { + "$id": "387", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "388", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfile.excludedAccounts", + "serializationOptions": { + "$id": "389", + "json": { + "$id": "390", + "name": "excludedAccounts" + } + } + }, + { + "$id": "391", + "kind": "property", + "name": "isOrganizationalAccount", + "serializedName": "isOrganizationalAccount", + "doc": "Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account.", + "type": { + "$id": "392", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfile.isOrganizationalAccount", + "serializationOptions": { + "$id": "393", + "json": { + "$id": "394", + "name": "isOrganizationalAccount" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorProperties.awsCloudProfile", + "serializationOptions": { + "$id": "395", + "json": { + "$id": "396", + "name": "awsCloudProfile" + } + } + }, + { + "$id": "397", + "kind": "property", + "name": "hostType", + "serializedName": "hostType", + "doc": "Host cloud the public cloud connector.", + "type": { + "$ref": "34" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorProperties.hostType", + "serializationOptions": { + "$id": "398", + "json": { + "$id": "399", + "name": "hostType" + } + } + }, + { + "$id": "400", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The resource provisioning state.", + "type": { + "$ref": "26" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorProperties.provisioningState", + "serializationOptions": { + "$id": "401", + "json": { + "$id": "402", + "name": "provisioningState" + } + } + }, + { + "$id": "403", + "kind": "property", + "name": "connectorPrimaryIdentifier", + "serializedName": "connectorPrimaryIdentifier", + "doc": "Connector primary identifier.", + "type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorProperties.connectorPrimaryIdentifier", + "serializationOptions": { + "$id": "405", + "json": { + "$id": "406", + "name": "connectorPrimaryIdentifier" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnector.properties", + "serializationOptions": { + "$id": "407", + "json": { + "$id": "408", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "379" + }, + { + "$ref": "381" + }, + { + "$ref": "367" + }, + { + "$id": "409", + "kind": "model", + "name": "PublicCloudConnectorUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorUpdate", + "usage": "Input,Json", + "doc": "Public Cloud Connector", + "decorators": [], + "baseModel": { + "$id": "410", + "kind": "model", + "name": "TrackedResourceUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.TrackedResourceUpdate", + "usage": "Input,Json", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "decorators": [], + "baseModel": { + "$ref": "80" + }, + "properties": [ + { + "$id": "411", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "412", + "kind": "dict", + "keyType": { + "$id": "413", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "414", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.TrackedResourceUpdate.tags", + "serializationOptions": { + "$id": "415", + "json": { + "$id": "416", + "name": "tags" + } + } + } + ] + }, + "properties": [ + { + "$id": "417", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "418", + "kind": "model", + "name": "PublicCloudConnectorPropertiesUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorPropertiesUpdate", + "usage": "Input,Json", + "doc": "Properties of public cloud connectors.", + "decorators": [], + "properties": [ + { + "$id": "419", + "kind": "property", + "name": "awsCloudProfile", + "serializedName": "awsCloudProfile", + "doc": "Cloud profile for AWS.", + "type": { + "$id": "420", + "kind": "model", + "name": "AwsCloudProfileUpdate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfileUpdate", + "usage": "Input,Json", + "doc": "cloud profile for AWS.", + "decorators": [], + "properties": [ + { + "$id": "421", + "kind": "property", + "name": "excludedAccounts", + "serializedName": "excludedAccounts", + "doc": "List of AWS accounts which need to be excluded.", + "type": { + "$id": "422", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "423", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AwsCloudProfileUpdate.excludedAccounts", + "serializationOptions": { + "$id": "424", + "json": { + "$id": "425", + "name": "excludedAccounts" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorPropertiesUpdate.awsCloudProfile", + "serializationOptions": { + "$id": "426", + "json": { + "$id": "427", + "name": "awsCloudProfile" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectorUpdate.properties", + "serializationOptions": { + "$id": "428", + "json": { + "$id": "429", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "418" + }, + { + "$ref": "420" + }, + { + "$ref": "410" + }, + { + "$id": "430", + "kind": "model", + "name": "PublicCloudConnectorListResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a PublicCloudConnector list operation.", + "decorators": [], + "properties": [ + { + "$id": "431", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The PublicCloudConnector items on this page", + "type": { + "$id": "432", + "kind": "array", + "name": "ArrayPublicCloudConnector", + "valueType": { + "$ref": "366" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "433", + "json": { + "$id": "434", + "name": "value" + } + } + }, + { + "$id": "435", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "436", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "437", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "438", + "json": { + "$id": "439", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "440", + "kind": "model", + "name": "GenerateAwsTemplateRequest", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.GenerateAwsTemplateRequest", + "usage": "Input,Json", + "doc": "ConnectorId and SolutionTypes and their properties to Generate AWS CFT Template.", + "decorators": [], + "properties": [ + { + "$id": "441", + "kind": "property", + "name": "connectorId", + "serializedName": "connectorId", + "doc": "The name of public cloud connector", + "type": { + "$id": "442", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.GenerateAwsTemplateRequest.connectorId", + "serializationOptions": { + "$id": "443", + "json": { + "$id": "444", + "name": "connectorId" + } + } + }, + { + "$id": "445", + "kind": "property", + "name": "solutionTypes", + "serializedName": "solutionTypes", + "doc": "The list of solution types and their settings", + "type": { + "$id": "446", + "kind": "array", + "name": "ArraySolutionTypeSettings", + "valueType": { + "$id": "447", + "kind": "model", + "name": "SolutionTypeSettings", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettings", + "usage": "Input,Json", + "doc": "The properties of Solution Type", + "decorators": [], + "properties": [ + { + "$id": "448", + "kind": "property", + "name": "solutionType", + "serializedName": "solutionType", + "doc": "The type of the solution", + "type": { + "$id": "449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettings.solutionType", + "serializationOptions": { + "$id": "450", + "json": { + "$id": "451", + "name": "solutionType" + } + } + }, + { + "$id": "452", + "kind": "property", + "name": "solutionSettings", + "serializedName": "solutionSettings", + "doc": "Solution settings", + "type": { + "$ref": "262" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypeSettings.solutionSettings", + "serializationOptions": { + "$id": "453", + "json": { + "$id": "454", + "name": "solutionSettings" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.GenerateAwsTemplateRequest.solutionTypes", + "serializationOptions": { + "$id": "455", + "json": { + "$id": "456", + "name": "solutionTypes" + } + } + } + ] + }, + { + "$ref": "447" + }, + { + "$id": "457", + "kind": "model", + "name": "PostResponse", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.post.Response.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [] + }, + { + "$id": "458", + "kind": "model", + "name": "HybridConnectivityServiceConfiguration", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResource", + "usage": "Input,Output,Json", + "doc": "The service configuration details associated with the target resource.", + "decorators": [], + "baseModel": { + "$ref": "251" + }, + "properties": [ + { + "$id": "459", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The service configuration properties.", + "type": { + "$id": "460", + "kind": "model", + "name": "ServiceConfigurationProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationProperties", + "usage": "Input,Output,Json", + "doc": "Service configuration details", + "decorators": [], + "properties": [ + { + "$id": "461", + "kind": "property", + "name": "serviceName", + "serializedName": "serviceName", + "doc": "Name of the service.", + "type": { + "$ref": "38" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationProperties.serviceName", + "serializationOptions": { + "$id": "462", + "json": { + "$id": "463", + "name": "serviceName" + } + } + }, + { + "$id": "464", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "The resource Id of the connectivity endpoint (optional).", + "type": { + "$id": "465", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationProperties.resourceId", + "serializationOptions": { + "$id": "467", + "json": { + "$id": "468", + "name": "resourceId" + } + } + }, + { + "$id": "469", + "kind": "property", + "name": "port", + "serializedName": "port", + "doc": "The port on which service is enabled.", + "type": { + "$id": "470", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationProperties.port", + "serializationOptions": { + "$id": "471", + "json": { + "$id": "472", + "name": "port" + } + } + }, + { + "$id": "473", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The resource provisioning state.", + "type": { + "$ref": "44" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationProperties.provisioningState", + "serializationOptions": { + "$id": "474", + "json": { + "$id": "475", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResource.properties", + "serializationOptions": { + "$id": "476", + "json": { + "$id": "477", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "460" + }, + { + "$id": "478", + "kind": "model", + "name": "ServiceConfigurationResourcePatch", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResourcePatch", + "usage": "Input,Json", + "doc": "The service details under service configuration for the target endpoint resource.", + "decorators": [], + "properties": [ + { + "$id": "479", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The service configuration properties.", + "type": { + "$id": "480", + "kind": "model", + "name": "ServiceConfigurationPropertiesPatch", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationPropertiesPatch", + "usage": "Input,Json", + "doc": "Service configuration details", + "decorators": [], + "properties": [ + { + "$id": "481", + "kind": "property", + "name": "port", + "serializedName": "port", + "doc": "The port on which service is enabled.", + "type": { + "$id": "482", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationPropertiesPatch.port", + "serializationOptions": { + "$id": "483", + "json": { + "$id": "484", + "name": "port" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResourcePatch.properties", + "serializationOptions": { + "$id": "485", + "json": { + "$id": "486", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "480" + }, + { + "$id": "487", + "kind": "model", + "name": "ServiceConfigurationList", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationList", + "usage": "Output,Json", + "doc": "The paginated list of serviceConfigurations", + "decorators": [], + "properties": [ + { + "$id": "488", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The list of service configuration", + "type": { + "$id": "489", + "kind": "array", + "name": "ArrayServiceConfigurationResource", + "valueType": { + "$ref": "458" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationList.value", + "serializationOptions": { + "$id": "490", + "json": { + "$id": "491", + "name": "value" + } + } + }, + { + "$id": "492", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to fetch the next page of connected cluster", + "type": { + "$id": "493", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "494", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationList.nextLink", + "serializationOptions": { + "$id": "495", + "json": { + "$id": "496", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "497", + "kind": "model", + "name": "HybridConnectivityEndpoint", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResource", + "usage": "Input,Output,Json", + "doc": "The endpoint for the target resource.", + "decorators": [], + "baseModel": { + "$ref": "251" + }, + "properties": [ + { + "$id": "498", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The endpoint properties.", + "type": { + "$id": "499", + "kind": "model", + "name": "HybridConnectivityEndpointProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointProperties", + "usage": "Input,Output,Json", + "doc": "Endpoint details", + "decorators": [], + "properties": [ + { + "$id": "500", + "kind": "property", + "name": "endpointType", + "serializedName": "type", + "doc": "The type of endpoint.", + "type": { + "$ref": "56" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointProperties.type", + "serializationOptions": { + "$id": "501", + "json": { + "$id": "502", + "name": "type" + } + } + }, + { + "$id": "503", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "The resource Id of the connectivity endpoint (optional).", + "type": { + "$id": "504", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointProperties.resourceId", + "serializationOptions": { + "$id": "506", + "json": { + "$id": "507", + "name": "resourceId" + } + } + }, + { + "$id": "508", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The resource provisioning state.", + "type": { + "$id": "509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointProperties.provisioningState", + "serializationOptions": { + "$id": "510", + "json": { + "$id": "511", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResource.properties", + "serializationOptions": { + "$id": "512", + "json": { + "$id": "513", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "499" + }, + { + "$id": "514", + "kind": "model", + "name": "EndpointsList", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointsList", + "usage": "Output,Json", + "doc": "The list of endpoints.", + "decorators": [], + "properties": [ + { + "$id": "515", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The list of endpoint.", + "type": { + "$id": "516", + "kind": "array", + "name": "ArrayEndpointResource", + "valueType": { + "$ref": "497" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointsList.value", + "serializationOptions": { + "$id": "517", + "json": { + "$id": "518", + "name": "value" + } + } + }, + { + "$id": "519", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link used to get the next page of endpoints list.", + "type": { + "$id": "520", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "521", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointsList.nextLink", + "serializationOptions": { + "$id": "522", + "json": { + "$id": "523", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "524", + "kind": "model", + "name": "ListCredentialsRequest", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ListCredentialsRequest", + "usage": "Input,Json", + "doc": "The details of the service for which credentials needs to be returned.", + "decorators": [], + "properties": [ + { + "$id": "525", + "kind": "property", + "name": "serviceName", + "serializedName": "serviceName", + "doc": "The name of the service. If not provided, the request will by pass the generation of service configuration token", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ListCredentialsRequest.serviceName", + "serializationOptions": { + "$id": "526", + "json": { + "$id": "527", + "name": "serviceName" + } + } + } + ] + }, + { + "$id": "528", + "kind": "model", + "name": "TargetResourceEndpointAccess", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointAccessResource", + "usage": "Output,Json", + "doc": "The endpoint access for the target resource.", + "decorators": [], + "properties": [ + { + "$id": "529", + "kind": "property", + "name": "relay", + "serializedName": "relay", + "doc": "Azure relay hybrid connection access properties", + "type": { + "$id": "530", + "kind": "model", + "name": "RelayNamespaceAccessProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties", + "usage": "Output,Json", + "doc": "Azure relay hybrid connection access properties", + "decorators": [], + "properties": [ + { + "$id": "531", + "kind": "property", + "name": "namespaceName", + "serializedName": "namespaceName", + "doc": "The namespace name.", + "type": { + "$id": "532", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.namespaceName", + "serializationOptions": { + "$id": "533", + "json": { + "$id": "534", + "name": "namespaceName" + } + } + }, + { + "$id": "535", + "kind": "property", + "name": "namespaceNameSuffix", + "serializedName": "namespaceNameSuffix", + "doc": "The suffix domain name of relay namespace.", + "type": { + "$id": "536", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.namespaceNameSuffix", + "serializationOptions": { + "$id": "537", + "json": { + "$id": "538", + "name": "namespaceNameSuffix" + } + } + }, + { + "$id": "539", + "kind": "property", + "name": "hybridConnectionName", + "serializedName": "hybridConnectionName", + "doc": "Azure Relay hybrid connection name for the resource.", + "type": { + "$id": "540", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.hybridConnectionName", + "serializationOptions": { + "$id": "541", + "json": { + "$id": "542", + "name": "hybridConnectionName" + } + } + }, + { + "$id": "543", + "kind": "property", + "name": "accessKey", + "serializedName": "accessKey", + "doc": "Access key for hybrid connection.", + "type": { + "$id": "544", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.accessKey", + "serializationOptions": { + "$id": "545", + "json": { + "$id": "546", + "name": "accessKey" + } + } + }, + { + "$id": "547", + "kind": "property", + "name": "expiresOn", + "serializedName": "expiresOn", + "doc": "The expiration of access key in unix time.", + "type": { + "$id": "548", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.expiresOn", + "serializationOptions": { + "$id": "549", + "json": { + "$id": "550", + "name": "expiresOn" + } + } + }, + { + "$id": "551", + "kind": "property", + "name": "serviceConfigurationToken", + "serializedName": "serviceConfigurationToken", + "doc": "The token to access the enabled service.", + "type": { + "$id": "552", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.RelayNamespaceAccessProperties.serviceConfigurationToken", + "serializationOptions": { + "$id": "553", + "json": { + "$id": "554", + "name": "serviceConfigurationToken" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointAccessResource.relay", + "serializationOptions": { + "$id": "555", + "json": { + "$id": "556", + "name": "relay" + } + } + } + ] + }, + { + "$ref": "530" + }, + { + "$id": "557", + "kind": "model", + "name": "ListIngressGatewayCredentialsRequest", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ListIngressGatewayCredentialsRequest", + "usage": "Input,Json", + "doc": "Represent ListIngressGatewayCredentials Request object.", + "decorators": [], + "properties": [ + { + "$id": "558", + "kind": "property", + "name": "serviceName", + "serializedName": "serviceName", + "doc": "The name of the service. If not provided, the request will by pass the generation of service configuration token.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ListIngressGatewayCredentialsRequest.serviceName", + "serializationOptions": { + "$id": "559", + "json": { + "$id": "560", + "name": "serviceName" + } + } + } + ] + }, + { + "$id": "561", + "kind": "model", + "name": "IngressGatewayAsset", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressGatewayResource", + "usage": "Output,Json", + "doc": "The ingress gateway access credentials", + "decorators": [], + "properties": [ + { + "$id": "562", + "kind": "property", + "name": "relay", + "serializedName": "relay", + "doc": "Azure relay hybrid connection access properties", + "type": { + "$ref": "530" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressGatewayResource.relay", + "serializationOptions": { + "$id": "563", + "json": { + "$id": "564", + "name": "relay" + } + } + }, + { + "$id": "565", + "kind": "property", + "name": "ingress", + "serializedName": "ingress", + "doc": "Ingress gateway profile", + "type": { + "$id": "566", + "kind": "model", + "name": "IngressProfileProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressProfileProperties", + "usage": "Output,Json", + "doc": "Ingress gateway profile", + "decorators": [], + "properties": [ + { + "$id": "567", + "kind": "property", + "name": "hostname", + "serializedName": "hostname", + "doc": "The ingress hostname.", + "type": { + "$id": "568", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressProfileProperties.hostname", + "serializationOptions": { + "$id": "569", + "json": { + "$id": "570", + "name": "hostname" + } + } + }, + { + "$id": "571", + "kind": "property", + "name": "aadProfile", + "serializedName": "aadProfile", + "doc": "The AAD Profile", + "type": { + "$id": "572", + "kind": "model", + "name": "AADProfileProperties", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AADProfileProperties", + "usage": "Output,Json", + "doc": "The AAD Profile", + "decorators": [], + "properties": [ + { + "$id": "573", + "kind": "property", + "name": "serverId", + "serializedName": "serverId", + "doc": "The arc ingress gateway server app id.", + "type": { + "$id": "574", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "575", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AADProfileProperties.serverId", + "serializationOptions": { + "$id": "576", + "json": { + "$id": "577", + "name": "serverId" + } + } + }, + { + "$id": "578", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "The target resource home tenant id.", + "type": { + "$id": "579", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "580", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.AADProfileProperties.tenantId", + "serializationOptions": { + "$id": "581", + "json": { + "$id": "582", + "name": "tenantId" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressProfileProperties.aadProfile", + "serializationOptions": { + "$id": "583", + "json": { + "$id": "584", + "name": "aadProfile" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.IngressGatewayResource.ingress", + "serializationOptions": { + "$id": "585", + "json": { + "$id": "586", + "name": "ingress" + } + } + } + ] + }, + { + "$ref": "566" + }, + { + "$ref": "572" + }, + { + "$id": "587", + "kind": "model", + "name": "ManagedProxyRequest", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyRequest", + "usage": "Input,Json", + "doc": "Represent ManageProxy Request object.", + "decorators": [], + "properties": [ + { + "$id": "588", + "kind": "property", + "name": "service", + "serializedName": "service", + "doc": "The name of the service.", + "type": { + "$id": "589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyRequest.service", + "serializationOptions": { + "$id": "590", + "json": { + "$id": "591", + "name": "service" + } + } + }, + { + "$id": "592", + "kind": "property", + "name": "hostname", + "serializedName": "hostname", + "doc": "The target host name.", + "type": { + "$id": "593", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyRequest.hostname", + "serializationOptions": { + "$id": "594", + "json": { + "$id": "595", + "name": "hostname" + } + } + }, + { + "$id": "596", + "kind": "property", + "name": "serviceName", + "serializedName": "serviceName", + "doc": "The name of the service. It is an optional property, if not provided, service configuration tokens issue code would be by passed.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyRequest.serviceName", + "serializationOptions": { + "$id": "597", + "json": { + "$id": "598", + "name": "serviceName" + } + } + } + ] + }, + { + "$id": "599", + "kind": "model", + "name": "ManagedProxyAsset", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyResource", + "usage": "Output,Json", + "doc": "Managed Proxy", + "decorators": [], + "properties": [ + { + "$id": "600", + "kind": "property", + "name": "proxy", + "serializedName": "proxy", + "doc": "The short lived proxy name.", + "type": { + "$id": "601", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyResource.proxy", + "serializationOptions": { + "$id": "602", + "json": { + "$id": "603", + "name": "proxy" + } + } + }, + { + "$id": "604", + "kind": "property", + "name": "expiresOn", + "serializedName": "expiresOn", + "doc": "The expiration time of short lived proxy name in unix epoch.", + "type": { + "$id": "605", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ManagedProxyResource.expiresOn", + "serializationOptions": { + "$id": "606", + "json": { + "$id": "607", + "name": "expiresOn" + } + } + } + ] + }, + { + "$id": "608", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", + "usage": "Output,Json", + "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "decorators": [], + "properties": [ + { + "$id": "609", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "610", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "611", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "decorators": [], + "properties": [ + { + "$id": "612", + "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": "613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "$id": "614", + "json": { + "$id": "615", + "name": "name" + } + } + }, + { + "$id": "616", + "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": "617", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "$id": "618", + "json": { + "$id": "619", + "name": "isDataAction" + } + } + }, + { + "$id": "620", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "621", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "622", + "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": "623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "$id": "624", + "json": { + "$id": "625", + "name": "provider" + } + } + }, + { + "$id": "626", + "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": "627", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "$id": "628", + "json": { + "$id": "629", + "name": "resource" + } + } + }, + { + "$id": "630", + "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": "631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "$id": "632", + "json": { + "$id": "633", + "name": "operation" + } + } + }, + { + "$id": "634", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "$id": "636", + "json": { + "$id": "637", + "name": "description" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "$id": "638", + "json": { + "$id": "639", + "name": "display" + } + } + }, + { + "$id": "640", + "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": "62" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "$id": "641", + "json": { + "$id": "642", + "name": "origin" + } + } + }, + { + "$id": "643", + "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": "70" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "$id": "644", + "json": { + "$id": "645", + "name": "actionType" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "$id": "646", + "json": { + "$id": "647", + "name": "value" + } + } + }, + { + "$id": "648", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "649", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "650", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { + "$id": "651", + "json": { + "$id": "652", + "name": "nextLink" + } + } + } + ] + }, + { + "$ref": "611" + }, + { + "$ref": "621" + } + ], + "clients": [ + { + "$id": "653", + "name": "HybridConnectivityClient", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "doc": "REST API for public clouds.", + "operations": [], + "parameters": [ + { + "$id": "654", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "655", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "656", + "type": { + "$id": "657", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity" + }, + { + "$id": "658", + "name": "Operations", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "659", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "660", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "661", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "662", + "type": { + "$id": "663", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "664", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "665", + "kind": "constant", + "valueType": { + "$id": "666", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "667", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "608" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.HybridConnectivity/operations", + "bufferResponse": true, + "paging": { + "$id": "668", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "669", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "670", + "kind": "http", + "name": "HybridConnectivityOperationsList", + "description": "HybridConnectivityOperationsList", + "filePath": "2024-12-01/OperationsList.json", + "parameters": [ + { + "$id": "671", + "parameter": { + "$ref": "660" + }, + "value": { + "$id": "672", + "kind": "string", + "type": { + "$ref": "661" + }, + "value": "2024-12-01" + } + } + ], + "responses": [ + { + "$id": "673", + "response": { + "$ref": "667" + }, + "statusCode": 200, + "bodyValue": { + "$id": "674", + "kind": "model", + "type": { + "$ref": "608" + }, + "value": { + "$id": "675", + "value": { + "$id": "676", + "kind": "array", + "type": { + "$ref": "610" + }, + "value": [ + { + "$id": "677", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "678", + "name": { + "$id": "679", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/operations/read" + }, + "isDataAction": { + "$id": "680", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "681", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "682", + "provider": { + "$id": "683", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "684", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "Operations" + }, + "operation": { + "$id": "685", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Get operations" + }, + "description": { + "$id": "686", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Get the list of Operations" + } + } + } + } + }, + { + "$id": "687", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "688", + "name": { + "$id": "689", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/endpoints/read" + }, + "isDataAction": { + "$id": "690", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "691", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "692", + "provider": { + "$id": "693", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "694", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "endpoints" + }, + "operation": { + "$id": "695", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Get/List endpoints" + }, + "description": { + "$id": "696", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Get or list of endpoints to the target resource." + } + } + } + } + }, + { + "$id": "697", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "698", + "name": { + "$id": "699", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/endpoints/write" + }, + "isDataAction": { + "$id": "700", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "701", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "702", + "provider": { + "$id": "703", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "704", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "endpoints" + }, + "operation": { + "$id": "705", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Create/Update endpoint" + }, + "description": { + "$id": "706", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Create or update the endpoint to the target resource." + } + } + } + } + }, + { + "$id": "707", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "708", + "name": { + "$id": "709", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/endpoints/delete" + }, + "isDataAction": { + "$id": "710", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "711", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "712", + "provider": { + "$id": "713", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "714", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "endpoints" + }, + "operation": { + "$id": "715", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Delete endpoint" + }, + "description": { + "$id": "716", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Deletes the endpoint access to the target resource." + } + } + } + } + }, + { + "$id": "717", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "718", + "name": { + "$id": "719", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/endpoints/listCredentials/action" + }, + "isDataAction": { + "$id": "720", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "721", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "722", + "provider": { + "$id": "723", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "724", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "endpoints" + }, + "operation": { + "$id": "725", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "List credentials for endpoint access" + }, + "description": { + "$id": "726", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "List the endpoint access credentials to the resource." + } + } + } + } + }, + { + "$id": "727", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "728", + "name": { + "$id": "729", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/endpoints/listIngressGatewayCredentials/action" + }, + "isDataAction": { + "$id": "730", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "731", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "732", + "provider": { + "$id": "733", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "734", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "endpoints" + }, + "operation": { + "$id": "735", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "List credentials for ingress gateway" + }, + "description": { + "$id": "736", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "List the ingress gateway credentials to the resource." + } + } + } + } + }, + { + "$id": "737", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "738", + "name": { + "$id": "739", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/register/action" + }, + "isDataAction": { + "$id": "740", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "741", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "742", + "provider": { + "$id": "743", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "744", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "Microsoft.HybridConnectivity" + }, + "operation": { + "$id": "745", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Register the Microsoft.HybridConnectivity" + }, + "description": { + "$id": "746", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Register the subscription for Microsoft.HybridConnectivity" + } + } + } + } + }, + { + "$id": "747", + "kind": "model", + "type": { + "$ref": "611" + }, + "value": { + "$id": "748", + "name": { + "$id": "749", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "Microsoft.HybridConnectivity/unregister/action" + }, + "isDataAction": { + "$id": "750", + "kind": "boolean", + "type": { + "$ref": "617" + }, + "value": false + }, + "display": { + "$id": "751", + "kind": "model", + "type": { + "$ref": "621" + }, + "value": { + "$id": "752", + "provider": { + "$id": "753", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "Microsoft.HybridConnectivity" + }, + "resource": { + "$id": "754", + "kind": "string", + "type": { + "$ref": "627" + }, + "value": "Microsoft.HybridConnectivity" + }, + "operation": { + "$id": "755", + "kind": "string", + "type": { + "$ref": "631" + }, + "value": "Unregister the Microsoft.HybridConnectivity" + }, + "description": { + "$id": "756", + "kind": "string", + "type": { + "$ref": "635" + }, + "value": "Unregister the subscription for Microsoft.HybridConnectivity" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "757", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "758", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "759", + "type": { + "$id": "760", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Operations" + }, + { + "$id": "761", + "name": "EndpointResources", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "762", + "name": "get", + "resourceName": "EndpointResource", + "doc": "Gets the endpoint to the resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "763", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "764", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "765", + "type": { + "$id": "766", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "767", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "769", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "770", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "771", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "772", + "kind": "constant", + "valueType": { + "$id": "773", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "774", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "497" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.get", + "decorators": [], + "examples": [ + { + "$id": "775", + "kind": "http", + "name": "HybridConnectivityEndpointsGetCustom", + "description": "HybridConnectivityEndpointsGetCustom", + "filePath": "2024-12-01/EndpointsGetCustom.json", + "parameters": [ + { + "$id": "776", + "parameter": { + "$ref": "763" + }, + "value": { + "$id": "777", + "kind": "string", + "type": { + "$ref": "764" + }, + "value": "2024-12-01" + } + }, + { + "$id": "778", + "parameter": { + "$ref": "769" + }, + "value": { + "$id": "779", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "custom" + } + }, + { + "$id": "780", + "parameter": { + "$ref": "767" + }, + "value": { + "$id": "781", + "kind": "string", + "type": { + "$ref": "768" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "782", + "response": { + "$ref": "774" + }, + "statusCode": 200, + "bodyValue": { + "$id": "783", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "784", + "name": { + "$id": "785", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "custom" + }, + "type": { + "$id": "786", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "787", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom" + }, + "properties": { + "$id": "788", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "789", + "type": { + "$id": "790", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "custom" + }, + "resourceId": { + "$id": "791", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace" + } + } + } + } + } + } + ] + }, + { + "$id": "792", + "kind": "http", + "name": "HybridConnectivityEndpointsGetDefault", + "description": "HybridConnectivityEndpointsGetDefault", + "filePath": "2024-12-01/EndpointsGetDefault.json", + "parameters": [ + { + "$id": "793", + "parameter": { + "$ref": "763" + }, + "value": { + "$id": "794", + "kind": "string", + "type": { + "$ref": "764" + }, + "value": "2024-12-01" + } + }, + { + "$id": "795", + "parameter": { + "$ref": "769" + }, + "value": { + "$id": "796", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "default" + } + }, + { + "$id": "797", + "parameter": { + "$ref": "767" + }, + "value": { + "$id": "798", + "kind": "string", + "type": { + "$ref": "768" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "799", + "response": { + "$ref": "774" + }, + "statusCode": 200, + "bodyValue": { + "$id": "800", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "801", + "name": { + "$id": "802", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "default" + }, + "type": { + "$id": "803", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "804", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + }, + "properties": { + "$id": "805", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "806", + "type": { + "$id": "807", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "default" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "808", + "name": "createOrUpdate", + "resourceName": "EndpointResource", + "doc": "Create or update the endpoint to the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "809", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "810", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "811", + "type": { + "$id": "812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "813", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "814", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "815", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "816", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "817", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "818", + "kind": "constant", + "valueType": { + "$id": "819", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "820", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "821", + "kind": "constant", + "valueType": { + "$id": "822", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "823", + "name": "EndpointResource", + "nameInRequest": "EndpointResource", + "doc": "Endpoint details", + "type": { + "$ref": "497" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "824", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "497" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "825", + "kind": "http", + "name": "HybridConnectivityEndpointsPutCustom", + "description": "HybridConnectivityEndpointsPutCustom", + "filePath": "2024-12-01/EndpointsPutCustom.json", + "parameters": [ + { + "$id": "826", + "parameter": { + "$ref": "809" + }, + "value": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "810" + }, + "value": "2024-12-01" + } + }, + { + "$id": "828", + "parameter": { + "$ref": "815" + }, + "value": { + "$id": "829", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "custom" + } + }, + { + "$id": "830", + "parameter": { + "$ref": "813" + }, + "value": { + "$id": "831", + "kind": "string", + "type": { + "$ref": "814" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "832", + "response": { + "$ref": "824" + }, + "statusCode": 200, + "bodyValue": { + "$id": "833", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "834", + "name": { + "$id": "835", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "custom" + }, + "type": { + "$id": "836", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "837", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom" + }, + "properties": { + "$id": "838", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "839", + "type": { + "$id": "840", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "custom" + }, + "provisioningState": { + "$id": "841", + "kind": "string", + "type": { + "$ref": "509" + }, + "value": "Succeeded" + }, + "resourceId": { + "$id": "842", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace" + } + } + } + } + } + } + ] + }, + { + "$id": "843", + "kind": "http", + "name": "HybridConnectivityEndpointsPutDefault", + "description": "HybridConnectivityEndpointsPutDefault", + "filePath": "2024-12-01/EndpointsPutDefault.json", + "parameters": [ + { + "$id": "844", + "parameter": { + "$ref": "809" + }, + "value": { + "$id": "845", + "kind": "string", + "type": { + "$ref": "810" + }, + "value": "2024-12-01" + } + }, + { + "$id": "846", + "parameter": { + "$ref": "815" + }, + "value": { + "$id": "847", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "default" + } + }, + { + "$id": "848", + "parameter": { + "$ref": "813" + }, + "value": { + "$id": "849", + "kind": "string", + "type": { + "$ref": "814" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "850", + "response": { + "$ref": "824" + }, + "statusCode": 200, + "bodyValue": { + "$id": "851", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "852", + "name": { + "$id": "853", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "default" + }, + "type": { + "$id": "854", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "855", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + }, + "properties": { + "$id": "856", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "857", + "type": { + "$id": "858", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "default" + }, + "provisioningState": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "509" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "860", + "name": "update", + "resourceName": "EndpointResource", + "doc": "Update the endpoint to the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "861", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "862", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "863", + "type": { + "$id": "864", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "865", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "866", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "867", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "868", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "869", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "870", + "kind": "constant", + "valueType": { + "$id": "871", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "872", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "873", + "kind": "constant", + "valueType": { + "$id": "874", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "875", + "name": "EndpointResource", + "nameInRequest": "EndpointResource", + "doc": "Endpoint details", + "type": { + "$ref": "497" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "876", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "497" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.update", + "decorators": [], + "examples": [ + { + "$id": "877", + "kind": "http", + "name": "HybridConnectivityEndpointsPatchDefault", + "description": "HybridConnectivityEndpointsPatchDefault", + "filePath": "2024-12-01/EndpointsPatchDefault.json", + "parameters": [ + { + "$id": "878", + "parameter": { + "$ref": "861" + }, + "value": { + "$id": "879", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "2024-12-01" + } + }, + { + "$id": "880", + "parameter": { + "$ref": "867" + }, + "value": { + "$id": "881", + "kind": "string", + "type": { + "$ref": "868" + }, + "value": "default" + } + }, + { + "$id": "882", + "parameter": { + "$ref": "865" + }, + "value": { + "$id": "883", + "kind": "string", + "type": { + "$ref": "866" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "884", + "response": { + "$ref": "876" + }, + "statusCode": 200, + "bodyValue": { + "$id": "885", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "886", + "name": { + "$id": "887", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "default" + }, + "type": { + "$id": "888", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "889", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + }, + "properties": { + "$id": "890", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "891", + "type": { + "$id": "892", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "default" + }, + "provisioningState": { + "$id": "893", + "kind": "string", + "type": { + "$ref": "509" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "894", + "name": "delete", + "resourceName": "EndpointResource", + "doc": "Deletes the endpoint access to the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "895", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "896", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "897", + "type": { + "$id": "898", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "899", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "900", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "901", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "902", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "903", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "904", + "kind": "constant", + "valueType": { + "$id": "905", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "906", + "statusCodes": [ + 200 + ], + "headers": [], + "isErrorResponse": false + }, + { + "$id": "907", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.delete", + "decorators": [], + "examples": [ + { + "$id": "908", + "kind": "http", + "name": "HybridConnectivityEndpointsDeleteDefault", + "description": "HybridConnectivityEndpointsDeleteDefault", + "filePath": "2024-12-01/EndpointsDeleteDefault.json", + "parameters": [ + { + "$id": "909", + "parameter": { + "$ref": "895" + }, + "value": { + "$id": "910", + "kind": "string", + "type": { + "$ref": "896" + }, + "value": "2024-12-01" + } + }, + { + "$id": "911", + "parameter": { + "$ref": "901" + }, + "value": { + "$id": "912", + "kind": "string", + "type": { + "$ref": "902" + }, + "value": "default" + } + }, + { + "$id": "913", + "parameter": { + "$ref": "899" + }, + "value": { + "$id": "914", + "kind": "string", + "type": { + "$ref": "900" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "915", + "response": { + "$ref": "906" + }, + "statusCode": 200 + }, + { + "$id": "916", + "response": { + "$ref": "907" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "917", + "name": "list", + "resourceName": "EndpointResource", + "doc": "List of endpoints to the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "918", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "919", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "920", + "type": { + "$id": "921", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "922", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "923", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "924", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "925", + "kind": "constant", + "valueType": { + "$id": "926", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "927", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "514" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints", + "bufferResponse": true, + "paging": { + "$id": "928", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "929", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.list", + "decorators": [], + "examples": [ + { + "$id": "930", + "kind": "http", + "name": "HybridConnectivityEndpointsGet", + "description": "HybridConnectivityEndpointsGet", + "filePath": "2024-12-01/EndpointsList.json", + "parameters": [ + { + "$id": "931", + "parameter": { + "$ref": "918" + }, + "value": { + "$id": "932", + "kind": "string", + "type": { + "$ref": "919" + }, + "value": "2024-12-01" + } + }, + { + "$id": "933", + "parameter": { + "$ref": "922" + }, + "value": { + "$id": "934", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "935", + "response": { + "$ref": "927" + }, + "statusCode": 200, + "bodyValue": { + "$id": "936", + "kind": "model", + "type": { + "$ref": "514" + }, + "value": { + "$id": "937", + "value": { + "$id": "938", + "kind": "array", + "type": { + "$ref": "516" + }, + "value": [ + { + "$id": "939", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "940", + "name": { + "$id": "941", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "default" + }, + "type": { + "$id": "942", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "943", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + }, + "properties": { + "$id": "944", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "945", + "type": { + "$id": "946", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "default" + } + } + } + } + }, + { + "$id": "947", + "kind": "model", + "type": { + "$ref": "497" + }, + "value": { + "$id": "948", + "name": { + "$id": "949", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "custom" + }, + "type": { + "$id": "950", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints" + }, + "id": { + "$id": "951", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom" + }, + "properties": { + "$id": "952", + "kind": "model", + "type": { + "$ref": "499" + }, + "value": { + "$id": "953", + "type": { + "$id": "954", + "kind": "string", + "type": { + "$ref": "56" + }, + "value": "custom" + }, + "resourceId": { + "$id": "955", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "956", + "name": "listCredentials", + "resourceName": "EndpointResources", + "doc": "Gets the endpoint access credentials to the resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "957", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "958", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "959", + "type": { + "$id": "960", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "961", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "962", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "963", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "964", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "965", + "name": "expiresin", + "nameInRequest": "expiresin", + "doc": "The is how long the endpoint access token is valid (in seconds).", + "type": { + "$id": "966", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "967", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "968", + "kind": "constant", + "valueType": { + "$id": "969", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "970", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "971", + "kind": "constant", + "valueType": { + "$id": "972", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "973", + "name": "ListCredentialsRequest", + "nameInRequest": "ListCredentialsRequest", + "doc": "Object of type ListCredentialsRequest", + "type": { + "$ref": "524" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "974", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "528" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listCredentials", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.listCredentials", + "decorators": [], + "examples": [ + { + "$id": "975", + "kind": "http", + "name": "HybridConnectivityEndpointsPostListCredentials", + "description": "HybridConnectivityEndpointsPostListCredentials", + "filePath": "2024-12-01/EndpointsPostListCredentials.json", + "parameters": [ + { + "$id": "976", + "parameter": { + "$ref": "973" + }, + "value": { + "$id": "977", + "kind": "model", + "type": { + "$ref": "524" + }, + "value": { + "$id": "978", + "serviceName": { + "$id": "979", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + }, + { + "$id": "980", + "parameter": { + "$ref": "957" + }, + "value": { + "$id": "981", + "kind": "string", + "type": { + "$ref": "958" + }, + "value": "2024-12-01" + } + }, + { + "$id": "982", + "parameter": { + "$ref": "963" + }, + "value": { + "$id": "983", + "kind": "string", + "type": { + "$ref": "964" + }, + "value": "default" + } + }, + { + "$id": "984", + "parameter": { + "$ref": "965" + }, + "value": { + "$id": "985", + "kind": "number", + "type": { + "$ref": "966" + }, + "value": 10800 + } + }, + { + "$id": "986", + "parameter": { + "$ref": "961" + }, + "value": { + "$id": "987", + "kind": "string", + "type": { + "$ref": "962" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine" + } + } + ], + "responses": [ + { + "$id": "988", + "response": { + "$ref": "974" + }, + "statusCode": 200, + "bodyValue": { + "$id": "989", + "kind": "model", + "type": { + "$ref": "528" + }, + "value": { + "$id": "990", + "relay": { + "$id": "991", + "kind": "model", + "type": { + "$ref": "530" + }, + "value": { + "$id": "992", + "accessKey": { + "$id": "993", + "kind": "string", + "type": { + "$ref": "544" + }, + "value": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.kubernetes%2Fconnectedclusters%2Fa0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498%2F1619989456957411072%2F&sig=WxDwPF6AmmODaMHNnBGDSm773UG%2B%2Be" + }, + "expiresOn": { + "$id": "994", + "kind": "number", + "type": { + "$ref": "548" + }, + "value": 1620000256 + }, + "hybridConnectionName": { + "$id": "995", + "kind": "string", + "type": { + "$ref": "540" + }, + "value": "microsoft.kubernetes/connectedclusters/a0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498/1619989456957411072" + }, + "namespaceName": { + "$id": "996", + "kind": "string", + "type": { + "$ref": "532" + }, + "value": "azgnrelay-eastus-l1" + }, + "namespaceNameSuffix": { + "$id": "997", + "kind": "string", + "type": { + "$ref": "536" + }, + "value": "servicebus.windows.net" + }, + "serviceConfigurationToken": { + "$id": "998", + "kind": "string", + "type": { + "$ref": "552" + }, + "value": "SSHvjqH=pTlKql=RtMGw/-k5VFBxSYHIiq5ZgbGFcLkNrDNz5fDsinCN2zkG" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "999", + "name": "listIngressGatewayCredentials", + "resourceName": "EndpointResources", + "doc": "Gets the ingress gateway endpoint credentials ", + "accessibility": "public", + "parameters": [ + { + "$id": "1000", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1001", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1002", + "type": { + "$id": "1003", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1004", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1006", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1007", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1008", + "name": "expiresin", + "nameInRequest": "expiresin", + "doc": "The is how long the endpoint access token is valid (in seconds).", + "type": { + "$id": "1009", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1010", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1011", + "kind": "constant", + "valueType": { + "$id": "1012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1013", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1014", + "kind": "constant", + "valueType": { + "$id": "1015", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1016", + "name": "ListIngressGatewayCredentialsRequest", + "nameInRequest": "ListIngressGatewayCredentialsRequest", + "doc": "Object of type ListIngressGatewayCredentialsRequest", + "type": { + "$ref": "557" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1017", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "561" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listIngressGatewayCredentials", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.listIngressGatewayCredentials", + "decorators": [], + "examples": [ + { + "$id": "1018", + "kind": "http", + "name": "HybridConnectivityEndpointsPostListIngressGatewayCredentials", + "description": "HybridConnectivityEndpointsPostListIngressGatewayCredentials", + "filePath": "2024-12-01/EndpointsPostListIngressGatewayCredentials.json", + "parameters": [ + { + "$id": "1019", + "parameter": { + "$ref": "1000" + }, + "value": { + "$id": "1020", + "kind": "string", + "type": { + "$ref": "1001" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1021", + "parameter": { + "$ref": "1006" + }, + "value": { + "$id": "1022", + "kind": "string", + "type": { + "$ref": "1007" + }, + "value": "default" + } + }, + { + "$id": "1023", + "parameter": { + "$ref": "1008" + }, + "value": { + "$id": "1024", + "kind": "number", + "type": { + "$ref": "1009" + }, + "value": 10800 + } + }, + { + "$id": "1025", + "parameter": { + "$ref": "1004" + }, + "value": { + "$id": "1026", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.ArcPlaceHolder/ProvisionedClusters/cluster0" + } + } + ], + "responses": [ + { + "$id": "1027", + "response": { + "$ref": "1017" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1028", + "kind": "model", + "type": { + "$ref": "561" + }, + "value": { + "$id": "1029", + "ingress": { + "$id": "1030", + "kind": "model", + "type": { + "$ref": "566" + }, + "value": { + "$id": "1031", + "aadProfile": { + "$id": "1032", + "kind": "model", + "type": { + "$ref": "572" + }, + "value": { + "$id": "1033", + "serverId": { + "$id": "1034", + "kind": "string", + "type": { + "$ref": "574" + }, + "value": "6256c85f-0aad-4d50-b960-e6e9b21efe35" + }, + "tenantId": { + "$id": "1035", + "kind": "string", + "type": { + "$ref": "579" + }, + "value": "33e01921-4d64-4f8c-a055-5bdaffd5e33d" + } + } + }, + "hostname": { + "$id": "1036", + "kind": "string", + "type": { + "$ref": "568" + }, + "value": "clusterhostname" + } + } + }, + "relay": { + "$id": "1037", + "kind": "model", + "type": { + "$ref": "530" + }, + "value": { + "$id": "1038", + "accessKey": { + "$id": "1039", + "kind": "string", + "type": { + "$ref": "544" + }, + "value": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.provisionedcluster%hci" + }, + "expiresOn": { + "$id": "1040", + "kind": "number", + "type": { + "$ref": "548" + }, + "value": 1620000256 + }, + "hybridConnectionName": { + "$id": "1041", + "kind": "string", + "type": { + "$ref": "540" + }, + "value": "microsoft.arcplaceholder/provisionedclusters/000/1619989456957411072" + }, + "namespaceName": { + "$id": "1042", + "kind": "string", + "type": { + "$ref": "532" + }, + "value": "relaynamespace" + }, + "namespaceNameSuffix": { + "$id": "1043", + "kind": "string", + "type": { + "$ref": "536" + }, + "value": "servicebus.windows.net" + }, + "serviceConfigurationToken": { + "$id": "1044", + "kind": "string", + "type": { + "$ref": "552" + }, + "value": "SSHvjqH=pTlKql=RtMGw/-k5VFBxSYHIiq5ZgbGFcLkNrDNz5fDsinCN2zkG" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1045", + "name": "listManagedProxyDetails", + "resourceName": "EndpointResources", + "doc": "Fetches the managed proxy details ", + "accessibility": "public", + "parameters": [ + { + "$id": "1046", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1047", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1048", + "type": { + "$id": "1049", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1050", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1051", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1052", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1053", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1054", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1055", + "kind": "constant", + "valueType": { + "$id": "1056", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1057", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1058", + "kind": "constant", + "valueType": { + "$id": "1059", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1060", + "name": "ManagedProxyRequest", + "nameInRequest": "ManagedProxyRequest", + "doc": "Object of type ManagedProxyRequest", + "type": { + "$ref": "587" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1061", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "599" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listManagedProxyDetails", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources.listManagedProxyDetails", + "decorators": [], + "examples": [ + { + "$id": "1062", + "kind": "http", + "name": "HybridConnectivityEndpointsPostListManagedProxyDetails", + "description": "HybridConnectivityEndpointsPostListManagedProxyDetails", + "filePath": "2024-12-01/EndpointsPostListManagedProxyDetails.json", + "parameters": [ + { + "$id": "1063", + "parameter": { + "$ref": "1046" + }, + "value": { + "$id": "1064", + "kind": "string", + "type": { + "$ref": "1047" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1065", + "parameter": { + "$ref": "1052" + }, + "value": { + "$id": "1066", + "kind": "string", + "type": { + "$ref": "1053" + }, + "value": "default" + } + }, + { + "$id": "1067", + "parameter": { + "$ref": "1050" + }, + "value": { + "$id": "1068", + "kind": "string", + "type": { + "$ref": "1051" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.Compute/virtualMachines/vm00006" + } + } + ], + "responses": [ + { + "$id": "1069", + "response": { + "$ref": "1061" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1070", + "kind": "model", + "type": { + "$ref": "599" + }, + "value": { + "$id": "1071", + "expiresOn": { + "$id": "1072", + "kind": "number", + "type": { + "$ref": "605" + }, + "value": 1620000256 + }, + "proxy": { + "$id": "1073", + "kind": "string", + "type": { + "$ref": "601" + }, + "value": "uid.r.proxy.arc.com" + } + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "1074", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1075", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1076", + "type": { + "$id": "1077", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.EndpointResources" + }, + { + "$id": "1078", + "name": "ServiceConfigurationResources", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "1079", + "name": "get", + "resourceName": "ServiceConfigurationResource", + "doc": "Gets the details about the service to the resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1080", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1082", + "type": { + "$id": "1083", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1084", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1085", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1086", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1087", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1088", + "name": "serviceConfigurationName", + "nameInRequest": "serviceConfigurationName", + "doc": "The service name.", + "type": { + "$id": "1089", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1090", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1091", + "kind": "constant", + "valueType": { + "$id": "1092", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1093", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "458" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources.get", + "decorators": [], + "examples": [ + { + "$id": "1094", + "kind": "http", + "name": "HybridConnectivityEndpointsServiceconfigurationsGetSSH", + "description": "HybridConnectivityEndpointsServiceconfigurationsGetSSH", + "filePath": "2024-12-01/ServiceConfigurationsGetSSH.json", + "parameters": [ + { + "$id": "1095", + "parameter": { + "$ref": "1080" + }, + "value": { + "$id": "1096", + "kind": "string", + "type": { + "$ref": "1081" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1097", + "parameter": { + "$ref": "1086" + }, + "value": { + "$id": "1098", + "kind": "string", + "type": { + "$ref": "1087" + }, + "value": "default" + } + }, + { + "$id": "1099", + "parameter": { + "$ref": "1084" + }, + "value": { + "$id": "1100", + "kind": "string", + "type": { + "$ref": "1085" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1101", + "parameter": { + "$ref": "1088" + }, + "value": { + "$id": "1102", + "kind": "string", + "type": { + "$ref": "1089" + }, + "value": "SSH" + } + } + ], + "responses": [ + { + "$id": "1103", + "response": { + "$ref": "1093" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1104", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1105", + "type": { + "$id": "1106", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1107", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/SSH" + }, + "properties": { + "$id": "1108", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1109", + "port": { + "$id": "1110", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 22 + }, + "serviceName": { + "$id": "1111", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + } + } + } + ] + }, + { + "$id": "1112", + "kind": "http", + "name": "HybridConnectivityEndpointsServiceconfigurationsGetWAC", + "description": "HybridConnectivityEndpointsServiceconfigurationsGetWAC", + "filePath": "2024-12-01/ServiceConfigurationsGetWAC.json", + "parameters": [ + { + "$id": "1113", + "parameter": { + "$ref": "1080" + }, + "value": { + "$id": "1114", + "kind": "string", + "type": { + "$ref": "1081" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1115", + "parameter": { + "$ref": "1086" + }, + "value": { + "$id": "1116", + "kind": "string", + "type": { + "$ref": "1087" + }, + "value": "default" + } + }, + { + "$id": "1117", + "parameter": { + "$ref": "1084" + }, + "value": { + "$id": "1118", + "kind": "string", + "type": { + "$ref": "1085" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1119", + "parameter": { + "$ref": "1088" + }, + "value": { + "$id": "1120", + "kind": "string", + "type": { + "$ref": "1089" + }, + "value": "WAC" + } + } + ], + "responses": [ + { + "$id": "1121", + "response": { + "$ref": "1093" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1122", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1123", + "type": { + "$id": "1124", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1125", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/WAC" + }, + "properties": { + "$id": "1126", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1127", + "port": { + "$id": "1128", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 6516 + }, + "serviceName": { + "$id": "1129", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "WAC" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1130", + "name": "createOrupdate", + "resourceName": "ServiceConfigurationResource", + "doc": "Create or update a service in serviceConfiguration for the endpoint resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1131", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1133", + "type": { + "$id": "1134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1135", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1136", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1137", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1138", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1139", + "name": "serviceConfigurationName", + "nameInRequest": "serviceConfigurationName", + "doc": "The service name.", + "type": { + "$id": "1140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1141", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1142", + "kind": "constant", + "valueType": { + "$id": "1143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1144", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1145", + "kind": "constant", + "valueType": { + "$id": "1146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1147", + "name": "ServiceConfigurationResource", + "nameInRequest": "ServiceConfigurationResource", + "doc": "Service details", + "type": { + "$ref": "458" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1148", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "458" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1149", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "458" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources.createOrupdate", + "decorators": [], + "examples": [ + { + "$id": "1150", + "kind": "http", + "name": "ServiceConfigurationsPutSSH", + "description": "ServiceConfigurationsPutSSH", + "filePath": "2024-12-01/ServiceConfigurationsPutSSH.json", + "parameters": [ + { + "$id": "1151", + "parameter": { + "$ref": "1131" + }, + "value": { + "$id": "1152", + "kind": "string", + "type": { + "$ref": "1132" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1153", + "parameter": { + "$ref": "1137" + }, + "value": { + "$id": "1154", + "kind": "string", + "type": { + "$ref": "1138" + }, + "value": "default" + } + }, + { + "$id": "1155", + "parameter": { + "$ref": "1135" + }, + "value": { + "$id": "1156", + "kind": "string", + "type": { + "$ref": "1136" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1157", + "parameter": { + "$ref": "1139" + }, + "value": { + "$id": "1158", + "kind": "string", + "type": { + "$ref": "1140" + }, + "value": "SSH" + } + } + ], + "responses": [ + { + "$id": "1159", + "response": { + "$ref": "1148" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1160", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1161", + "type": { + "$id": "1162", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1163", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/SSH" + }, + "properties": { + "$id": "1164", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1165", + "port": { + "$id": "1166", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 22 + }, + "provisioningState": { + "$id": "1167", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "Succeeded" + }, + "serviceName": { + "$id": "1168", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + } + } + }, + { + "$id": "1169", + "response": { + "$ref": "1149" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1170", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1171", + "type": { + "$id": "1172", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1173", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/SSH" + }, + "properties": { + "$id": "1174", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1175", + "port": { + "$id": "1176", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 22 + }, + "provisioningState": { + "$id": "1177", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "Succeeded" + }, + "serviceName": { + "$id": "1178", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + } + } + } + ] + }, + { + "$id": "1179", + "kind": "http", + "name": "ServiceConfigurationsPutWAC", + "description": "ServiceConfigurationsPutWAC", + "filePath": "2024-12-01/ServiceConfigurationsPutWAC.json", + "parameters": [ + { + "$id": "1180", + "parameter": { + "$ref": "1131" + }, + "value": { + "$id": "1181", + "kind": "string", + "type": { + "$ref": "1132" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1182", + "parameter": { + "$ref": "1137" + }, + "value": { + "$id": "1183", + "kind": "string", + "type": { + "$ref": "1138" + }, + "value": "default" + } + }, + { + "$id": "1184", + "parameter": { + "$ref": "1135" + }, + "value": { + "$id": "1185", + "kind": "string", + "type": { + "$ref": "1136" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1186", + "parameter": { + "$ref": "1139" + }, + "value": { + "$id": "1187", + "kind": "string", + "type": { + "$ref": "1140" + }, + "value": "WAC" + } + } + ], + "responses": [ + { + "$id": "1188", + "response": { + "$ref": "1148" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1189", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1190", + "type": { + "$id": "1191", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1192", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/WAC" + }, + "properties": { + "$id": "1193", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1194", + "port": { + "$id": "1195", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 6516 + }, + "provisioningState": { + "$id": "1196", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "Succeeded" + }, + "serviceName": { + "$id": "1197", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "WAC" + } + } + } + } + } + }, + { + "$id": "1198", + "response": { + "$ref": "1149" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1199", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1200", + "type": { + "$id": "1201", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1202", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/WAC" + }, + "properties": { + "$id": "1203", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1204", + "port": { + "$id": "1205", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 6516 + }, + "provisioningState": { + "$id": "1206", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "Succeeded" + }, + "serviceName": { + "$id": "1207", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "WAC" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1208", + "name": "update", + "resourceName": "ServiceConfigurationResource", + "doc": "Update the service details in the service configurations of the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1209", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1210", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1211", + "type": { + "$id": "1212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1213", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1214", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1215", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1217", + "name": "serviceConfigurationName", + "nameInRequest": "serviceConfigurationName", + "doc": "The service name.", + "type": { + "$id": "1218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1219", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1220", + "kind": "constant", + "valueType": { + "$id": "1221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1222", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1223", + "kind": "constant", + "valueType": { + "$id": "1224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1225", + "name": "ServiceConfigurationResource", + "nameInRequest": "ServiceConfigurationResource", + "doc": "Service details", + "type": { + "$ref": "478" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1226", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "458" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources.update", + "decorators": [], + "examples": [ + { + "$id": "1227", + "kind": "http", + "name": "ServiceConfigurationsPatchSSH", + "description": "ServiceConfigurationsPatchSSH", + "filePath": "2024-12-01/ServiceConfigurationsPatchSSH.json", + "parameters": [ + { + "$id": "1228", + "parameter": { + "$ref": "1209" + }, + "value": { + "$id": "1229", + "kind": "string", + "type": { + "$ref": "1210" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1230", + "parameter": { + "$ref": "1215" + }, + "value": { + "$id": "1231", + "kind": "string", + "type": { + "$ref": "1216" + }, + "value": "default" + } + }, + { + "$id": "1232", + "parameter": { + "$ref": "1213" + }, + "value": { + "$id": "1233", + "kind": "string", + "type": { + "$ref": "1214" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1234", + "parameter": { + "$ref": "1217" + }, + "value": { + "$id": "1235", + "kind": "string", + "type": { + "$ref": "1218" + }, + "value": "SSH" + } + } + ], + "responses": [ + { + "$id": "1236", + "response": { + "$ref": "1226" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1237", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1238", + "id": { + "$id": "1239", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceConfigurations/SSH" + }, + "properties": { + "$id": "1240", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1241", + "port": { + "$id": "1242", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 22 + }, + "serviceName": { + "$id": "1243", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1244", + "name": "delete", + "resourceName": "ServiceConfigurationResource", + "doc": "Deletes the service details to the target resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1245", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1247", + "type": { + "$id": "1248", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1249", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1251", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1253", + "name": "serviceConfigurationName", + "nameInRequest": "serviceConfigurationName", + "doc": "The service name.", + "type": { + "$id": "1254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1255", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1256", + "kind": "constant", + "valueType": { + "$id": "1257", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1258", + "statusCodes": [ + 200 + ], + "headers": [], + "isErrorResponse": false + }, + { + "$id": "1259", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources.delete", + "decorators": [], + "examples": [ + { + "$id": "1260", + "kind": "http", + "name": "ServiceConfigurationsDeleteSSH", + "description": "ServiceConfigurationsDeleteSSH", + "filePath": "2024-12-01/ServiceConfigurationsDeleteSSH.json", + "parameters": [ + { + "$id": "1261", + "parameter": { + "$ref": "1245" + }, + "value": { + "$id": "1262", + "kind": "string", + "type": { + "$ref": "1246" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1263", + "parameter": { + "$ref": "1251" + }, + "value": { + "$id": "1264", + "kind": "string", + "type": { + "$ref": "1252" + }, + "value": "default" + } + }, + { + "$id": "1265", + "parameter": { + "$ref": "1249" + }, + "value": { + "$id": "1266", + "kind": "string", + "type": { + "$ref": "1250" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + }, + { + "$id": "1267", + "parameter": { + "$ref": "1253" + }, + "value": { + "$id": "1268", + "kind": "string", + "type": { + "$ref": "1254" + }, + "value": "SSH" + } + } + ], + "responses": [ + { + "$id": "1269", + "response": { + "$ref": "1258" + }, + "statusCode": 200 + }, + { + "$id": "1270", + "response": { + "$ref": "1259" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "1271", + "name": "listByEndpointResource", + "resourceName": "ServiceConfigurationResource", + "summary": "Lists of all the services associated with endpoint resource.", + "doc": "API to enumerate registered services in service configurations under a Endpoint Resource", + "accessibility": "public", + "parameters": [ + { + "$id": "1272", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1274", + "type": { + "$id": "1275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1276", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1278", + "name": "endpointName", + "nameInRequest": "endpointName", + "doc": "The endpoint name.", + "type": { + "$id": "1279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1280", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1281", + "kind": "constant", + "valueType": { + "$id": "1282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1283", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "487" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations", + "bufferResponse": true, + "paging": { + "$id": "1284", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1285", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources.listByEndpointResource", + "decorators": [], + "examples": [ + { + "$id": "1286", + "kind": "http", + "name": "GetClustersExample", + "description": "GetClustersExample", + "filePath": "2024-12-01/ServiceConfigurationsList.json", + "parameters": [ + { + "$id": "1287", + "parameter": { + "$ref": "1272" + }, + "value": { + "$id": "1288", + "kind": "string", + "type": { + "$ref": "1273" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1289", + "parameter": { + "$ref": "1278" + }, + "value": { + "$id": "1290", + "kind": "string", + "type": { + "$ref": "1279" + }, + "value": "default" + } + }, + { + "$id": "1291", + "parameter": { + "$ref": "1276" + }, + "value": { + "$id": "1292", + "kind": "string", + "type": { + "$ref": "1277" + }, + "value": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default" + } + } + ], + "responses": [ + { + "$id": "1293", + "response": { + "$ref": "1283" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1294", + "kind": "model", + "type": { + "$ref": "487" + }, + "value": { + "$id": "1295", + "value": { + "$id": "1296", + "kind": "array", + "type": { + "$ref": "489" + }, + "value": [ + { + "$id": "1297", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1298", + "type": { + "$id": "1299", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1300", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/SSH" + }, + "properties": { + "$id": "1301", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1302", + "port": { + "$id": "1303", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 22 + }, + "serviceName": { + "$id": "1304", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "SSH" + } + } + } + } + }, + { + "$id": "1305", + "kind": "model", + "type": { + "$ref": "458" + }, + "value": { + "$id": "1306", + "type": { + "$id": "1307", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "Microsoft.HybridConnectivity/endpoints/serviceConfigurations" + }, + "id": { + "$id": "1308", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default/serviceconfigurations/WAC" + }, + "properties": { + "$id": "1309", + "kind": "model", + "type": { + "$ref": "460" + }, + "value": { + "$id": "1310", + "port": { + "$id": "1311", + "kind": "number", + "type": { + "$ref": "470" + }, + "value": 6516 + }, + "serviceName": { + "$id": "1312", + "kind": "string", + "type": { + "$ref": "38" + }, + "value": "WAC" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "1313", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1314", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1315", + "type": { + "$id": "1316", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.ServiceConfigurationResources" + }, + { + "$id": "1317", + "name": "GenerateAwsTemplate", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "1318", + "name": "post", + "resourceName": "GenerateAwsTemplate", + "doc": "Retrieve AWS Cloud Formation template", + "accessibility": "public", + "parameters": [ + { + "$id": "1319", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1320", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1321", + "type": { + "$id": "1322", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1323", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1324", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1326", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1327", + "kind": "constant", + "valueType": { + "$id": "1328", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1329", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1330", + "kind": "constant", + "valueType": { + "$id": "1331", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1332", + "name": "generateAwsTemplateRequest", + "nameInRequest": "generateAwsTemplateRequest", + "doc": "ConnectorId and SolutionTypes and their properties to Generate AWS CFT Template.", + "type": { + "$ref": "440" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1333", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "457" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.GenerateAwsTemplate.post", + "decorators": [], + "examples": [ + { + "$id": "1334", + "kind": "http", + "name": "GenerateAwsTemplate_Post", + "description": "GenerateAwsTemplate_Post", + "filePath": "2024-12-01/GenerateAwsTemplate_Post.json", + "parameters": [ + { + "$id": "1335", + "parameter": { + "$ref": "1319" + }, + "value": { + "$id": "1336", + "kind": "string", + "type": { + "$ref": "1320" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1337", + "parameter": { + "$ref": "1323" + }, + "value": { + "$id": "1338", + "kind": "string", + "type": { + "$ref": "1324" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1339", + "parameter": { + "$ref": "1332" + }, + "value": { + "$id": "1340", + "kind": "model", + "type": { + "$ref": "440" + }, + "value": { + "$id": "1341", + "connectorId": { + "$id": "1342", + "kind": "string", + "type": { + "$ref": "442" + }, + "value": "pnxcfjidglabnwxit" + }, + "solutionTypes": { + "$id": "1343", + "kind": "array", + "type": { + "$ref": "446" + }, + "value": [ + { + "$id": "1344", + "kind": "model", + "type": { + "$ref": "447" + }, + "value": { + "$id": "1345", + "solutionType": { + "$id": "1346", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "hjyownzpfxwiufmd" + }, + "solutionSettings": { + "$id": "1347", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1348" + } + } + } + } + ] + } + } + } + } + ], + "responses": [ + { + "$id": "1349", + "response": { + "$ref": "1333" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1350", + "kind": "model", + "type": { + "$ref": "457" + }, + "value": { + "$id": "1351" + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "1352", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1353", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1354", + "type": { + "$id": "1355", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.GenerateAwsTemplate" + }, + { + "$id": "1356", + "name": "PublicCloudConnectors", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "1357", + "name": "get", + "resourceName": "PublicCloudConnector", + "doc": "Get a PublicCloudConnector", + "accessibility": "public", + "parameters": [ + { + "$id": "1358", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1360", + "type": { + "$id": "1361", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1362", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1363", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1365", + "name": "resourceGroupName", + "nameInRequest": "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, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1367", + "name": "publicCloudConnector", + "nameInRequest": "publicCloudConnector", + "doc": "Represent public cloud connectors resource.", + "type": { + "$id": "1368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1369", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1370", + "kind": "constant", + "valueType": { + "$id": "1371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1372", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.get", + "decorators": [], + "examples": [ + { + "$id": "1373", + "kind": "http", + "name": "PublicCloudConnectors_Get", + "description": "PublicCloudConnectors_Get", + "filePath": "2024-12-01/PublicCloudConnectors_Get.json", + "parameters": [ + { + "$id": "1374", + "parameter": { + "$ref": "1358" + }, + "value": { + "$id": "1375", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1376", + "parameter": { + "$ref": "1362" + }, + "value": { + "$id": "1377", + "kind": "string", + "type": { + "$ref": "1363" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1378", + "parameter": { + "$ref": "1365" + }, + "value": { + "$id": "1379", + "kind": "string", + "type": { + "$ref": "1366" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "1380", + "parameter": { + "$ref": "1367" + }, + "value": { + "$id": "1381", + "kind": "string", + "type": { + "$ref": "1368" + }, + "value": "rzygvnpsnrdylwzdbsscjazvamyxmh" + } + } + ], + "responses": [ + { + "$id": "1382", + "response": { + "$ref": "1372" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1383", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1384", + "properties": { + "$id": "1385", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1386", + "awsCloudProfile": { + "$id": "1387", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1388", + "accountId": { + "$id": "1389", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "snbnuxckevyqpm" + }, + "excludedAccounts": { + "$id": "1390", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1391", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "isOrganizationalAccount": { + "$id": "1392", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1393", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1394", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1395", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1396", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1397" + } + }, + "location": { + "$id": "1398", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1399", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1400", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1401", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1402", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1403", + "createdBy": { + "$id": "1404", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1405", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1406", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1407", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1408", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1409", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1410", + "name": "createOrUpdate", + "resourceName": "PublicCloudConnector", + "doc": "Create a PublicCloudConnector", + "accessibility": "public", + "parameters": [ + { + "$id": "1411", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1412", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1413", + "type": { + "$id": "1414", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1415", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1416", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1418", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1419", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1420", + "name": "publicCloudConnector", + "nameInRequest": "publicCloudConnector", + "doc": "Represent public cloud connectors resource.", + "type": { + "$id": "1421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1422", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1423", + "kind": "constant", + "valueType": { + "$id": "1424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1425", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1426", + "kind": "constant", + "valueType": { + "$id": "1427", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1428", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "366" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1429", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1430", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [ + { + "$id": "1431", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1432", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1433", + "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": "1434", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "1435", + "finalStateVia": 0, + "finalResponse": { + "$id": "1436", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "1437", + "kind": "http", + "name": "PublicCloudConnectors_CreateOrUpdate", + "description": "PublicCloudConnectors_CreateOrUpdate", + "filePath": "2024-12-01/PublicCloudConnectors_CreateOrUpdate.json", + "parameters": [ + { + "$id": "1438", + "parameter": { + "$ref": "1411" + }, + "value": { + "$id": "1439", + "kind": "string", + "type": { + "$ref": "1412" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1440", + "parameter": { + "$ref": "1415" + }, + "value": { + "$id": "1441", + "kind": "string", + "type": { + "$ref": "1416" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1442", + "parameter": { + "$ref": "1418" + }, + "value": { + "$id": "1443", + "kind": "string", + "type": { + "$ref": "1419" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "1444", + "parameter": { + "$ref": "1420" + }, + "value": { + "$id": "1445", + "kind": "string", + "type": { + "$ref": "1421" + }, + "value": "advjwoakdusalamomg" + } + }, + { + "$id": "1446", + "parameter": { + "$ref": "1428" + }, + "value": { + "$id": "1447", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1448", + "properties": { + "$id": "1449", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1450", + "awsCloudProfile": { + "$id": "1451", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1452", + "accountId": { + "$id": "1453", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "snbnuxckevyqpm" + }, + "excludedAccounts": { + "$id": "1454", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1455", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "isOrganizationalAccount": { + "$id": "1456", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1457", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + } + } + }, + "tags": { + "$id": "1458", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1459" + } + }, + "location": { + "$id": "1460", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + } + } + } + } + ], + "responses": [ + { + "$id": "1461", + "response": { + "$ref": "1429" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1462", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1463", + "properties": { + "$id": "1464", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1465", + "awsCloudProfile": { + "$id": "1466", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1467", + "accountId": { + "$id": "1468", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "snbnuxckevyqpm" + }, + "excludedAccounts": { + "$id": "1469", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1470", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "isOrganizationalAccount": { + "$id": "1471", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1472", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1473", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1474", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1475", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1476" + } + }, + "location": { + "$id": "1477", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1478", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1479", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1480", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1481", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1482", + "createdBy": { + "$id": "1483", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1484", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1485", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1486", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1487", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1488", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + }, + { + "$id": "1489", + "response": { + "$ref": "1430" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1490", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1491", + "properties": { + "$id": "1492", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1493", + "awsCloudProfile": { + "$id": "1494", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1495", + "accountId": { + "$id": "1496", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "snbnuxckevyqpm" + }, + "excludedAccounts": { + "$id": "1497", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1498", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "isOrganizationalAccount": { + "$id": "1499", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1500", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1501", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1502", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1503", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1504" + } + }, + "location": { + "$id": "1505", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1506", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1507", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1508", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1509", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1510", + "createdBy": { + "$id": "1511", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1512", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1513", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1514", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1515", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1516", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1517", + "name": "update", + "resourceName": "PublicCloudConnector", + "doc": "Update a PublicCloudConnector", + "accessibility": "public", + "parameters": [ + { + "$id": "1518", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1519", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1520", + "type": { + "$id": "1521", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1522", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1523", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1524", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1525", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1526", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1527", + "name": "publicCloudConnector", + "nameInRequest": "publicCloudConnector", + "doc": "Represent public cloud connectors resource.", + "type": { + "$id": "1528", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1529", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1530", + "kind": "constant", + "valueType": { + "$id": "1531", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1532", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1533", + "kind": "constant", + "valueType": { + "$id": "1534", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1535", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "409" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1536", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.update", + "decorators": [], + "examples": [ + { + "$id": "1537", + "kind": "http", + "name": "PublicCloudConnectors_Update", + "description": "PublicCloudConnectors_Update", + "filePath": "2024-12-01/PublicCloudConnectors_Update.json", + "parameters": [ + { + "$id": "1538", + "parameter": { + "$ref": "1518" + }, + "value": { + "$id": "1539", + "kind": "string", + "type": { + "$ref": "1519" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1540", + "parameter": { + "$ref": "1522" + }, + "value": { + "$id": "1541", + "kind": "string", + "type": { + "$ref": "1523" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1542", + "parameter": { + "$ref": "1525" + }, + "value": { + "$id": "1543", + "kind": "string", + "type": { + "$ref": "1526" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "1544", + "parameter": { + "$ref": "1527" + }, + "value": { + "$id": "1545", + "kind": "string", + "type": { + "$ref": "1528" + }, + "value": "svtirlbyqpepbzyessjenlueeznhg" + } + }, + { + "$id": "1546", + "parameter": { + "$ref": "1535" + }, + "value": { + "$id": "1547", + "kind": "model", + "type": { + "$ref": "409" + }, + "value": { + "$id": "1548", + "tags": { + "$id": "1549", + "kind": "dict", + "type": { + "$ref": "412" + }, + "value": { + "$id": "1550" + } + }, + "properties": { + "$id": "1551", + "kind": "model", + "type": { + "$ref": "418" + }, + "value": { + "$id": "1552", + "awsCloudProfile": { + "$id": "1553", + "kind": "model", + "type": { + "$ref": "420" + }, + "value": { + "$id": "1554", + "excludedAccounts": { + "$id": "1555", + "kind": "array", + "type": { + "$ref": "422" + }, + "value": [ + { + "$id": "1556", + "kind": "string", + "type": { + "$ref": "423" + }, + "value": "zrbtd" + } + ] + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1557", + "response": { + "$ref": "1536" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1558", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1559", + "properties": { + "$id": "1560", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1561", + "awsCloudProfile": { + "$id": "1562", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1563", + "accountId": { + "$id": "1564", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "snbnuxckevyqpm" + }, + "excludedAccounts": { + "$id": "1565", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1566", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "zrbtd" + } + ] + }, + "isOrganizationalAccount": { + "$id": "1567", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1568", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1569", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1570", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1571", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1572" + } + }, + "location": { + "$id": "1573", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1574", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1575", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1576", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1577", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1578", + "createdBy": { + "$id": "1579", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1580", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1581", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1582", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1583", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1584", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1585", + "name": "delete", + "resourceName": "PublicCloudConnector", + "doc": "Delete a PublicCloudConnector", + "accessibility": "public", + "parameters": [ + { + "$id": "1586", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1587", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1588", + "type": { + "$id": "1589", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1590", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1591", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1592", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1593", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1594", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1595", + "name": "publicCloudConnector", + "nameInRequest": "publicCloudConnector", + "doc": "Represent public cloud connectors resource.", + "type": { + "$id": "1596", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1597", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1598", + "kind": "constant", + "valueType": { + "$id": "1599", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1600", + "statusCodes": [ + 200 + ], + "headers": [], + "isErrorResponse": false + }, + { + "$id": "1601", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.delete", + "decorators": [], + "examples": [ + { + "$id": "1602", + "kind": "http", + "name": "PublicCloudConnectors_Delete", + "description": "PublicCloudConnectors_Delete", + "filePath": "2024-12-01/PublicCloudConnectors_Delete.json", + "parameters": [ + { + "$id": "1603", + "parameter": { + "$ref": "1586" + }, + "value": { + "$id": "1604", + "kind": "string", + "type": { + "$ref": "1587" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1605", + "parameter": { + "$ref": "1590" + }, + "value": { + "$id": "1606", + "kind": "string", + "type": { + "$ref": "1591" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1607", + "parameter": { + "$ref": "1593" + }, + "value": { + "$id": "1608", + "kind": "string", + "type": { + "$ref": "1594" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "1609", + "parameter": { + "$ref": "1595" + }, + "value": { + "$id": "1610", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "skcfyjvflkhibdywjay" + } + } + ], + "responses": [ + { + "$id": "1611", + "response": { + "$ref": "1600" + }, + "statusCode": 200 + }, + { + "$id": "1612", + "response": { + "$ref": "1601" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "1613", + "name": "listByResourceGroup", + "resourceName": "PublicCloudConnector", + "doc": "List PublicCloudConnector resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "1614", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1616", + "type": { + "$id": "1617", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1618", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1619", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1621", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1623", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1624", + "kind": "constant", + "valueType": { + "$id": "1625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1626", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "430" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors", + "bufferResponse": true, + "paging": { + "$id": "1627", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1628", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "1629", + "kind": "http", + "name": "PublicCloudConnectors_ListByResourceGroup", + "description": "PublicCloudConnectors_ListByResourceGroup", + "filePath": "2024-12-01/PublicCloudConnectors_ListByResourceGroup.json", + "parameters": [ + { + "$id": "1630", + "parameter": { + "$ref": "1614" + }, + "value": { + "$id": "1631", + "kind": "string", + "type": { + "$ref": "1615" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1632", + "parameter": { + "$ref": "1618" + }, + "value": { + "$id": "1633", + "kind": "string", + "type": { + "$ref": "1619" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1634", + "parameter": { + "$ref": "1621" + }, + "value": { + "$id": "1635", + "kind": "string", + "type": { + "$ref": "1622" + }, + "value": "rgpublicCloud" + } + } + ], + "responses": [ + { + "$id": "1636", + "response": { + "$ref": "1626" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1637", + "kind": "model", + "type": { + "$ref": "430" + }, + "value": { + "$id": "1638", + "value": { + "$id": "1639", + "kind": "array", + "type": { + "$ref": "432" + }, + "value": [ + { + "$id": "1640", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1641", + "properties": { + "$id": "1642", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1643", + "awsCloudProfile": { + "$id": "1644", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1645", + "excludedAccounts": { + "$id": "1646", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1647", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "accountId": { + "$id": "1648", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "troiiavknxmcpczvxwjhrdue" + }, + "isOrganizationalAccount": { + "$id": "1649", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1650", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1651", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1652", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1653", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1654" + } + }, + "location": { + "$id": "1655", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1656", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1657", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1658", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1659", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1660", + "createdBy": { + "$id": "1661", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1662", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1663", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1664", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1665", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1666", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "1667", + "kind": "string", + "type": { + "$ref": "436" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "1668", + "name": "listBySubscription", + "resourceName": "PublicCloudConnector", + "doc": "List PublicCloudConnector resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "1669", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1670", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1671", + "type": { + "$id": "1672", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1673", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1674", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1675", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1676", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1677", + "kind": "constant", + "valueType": { + "$id": "1678", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1679", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "430" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/publicCloudConnectors", + "bufferResponse": true, + "paging": { + "$id": "1680", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1681", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.listBySubscription", + "decorators": [], + "examples": [ + { + "$id": "1682", + "kind": "http", + "name": "PublicCloudConnectors_ListBySubscription", + "description": "PublicCloudConnectors_ListBySubscription", + "filePath": "2024-12-01/PublicCloudConnectors_ListBySubscription.json", + "parameters": [ + { + "$id": "1683", + "parameter": { + "$ref": "1669" + }, + "value": { + "$id": "1684", + "kind": "string", + "type": { + "$ref": "1670" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1685", + "parameter": { + "$ref": "1673" + }, + "value": { + "$id": "1686", + "kind": "string", + "type": { + "$ref": "1674" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + } + ], + "responses": [ + { + "$id": "1687", + "response": { + "$ref": "1679" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1688", + "kind": "model", + "type": { + "$ref": "430" + }, + "value": { + "$id": "1689", + "value": { + "$id": "1690", + "kind": "array", + "type": { + "$ref": "432" + }, + "value": [ + { + "$id": "1691", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1692", + "properties": { + "$id": "1693", + "kind": "model", + "type": { + "$ref": "379" + }, + "value": { + "$id": "1694", + "awsCloudProfile": { + "$id": "1695", + "kind": "model", + "type": { + "$ref": "381" + }, + "value": { + "$id": "1696", + "excludedAccounts": { + "$id": "1697", + "kind": "array", + "type": { + "$ref": "387" + }, + "value": [ + { + "$id": "1698", + "kind": "string", + "type": { + "$ref": "388" + }, + "value": "rwgqpukglvbqmogqcliqolucp" + } + ] + }, + "accountId": { + "$id": "1699", + "kind": "string", + "type": { + "$ref": "383" + }, + "value": "troiiavknxmcpczvxwjhrdue" + }, + "isOrganizationalAccount": { + "$id": "1700", + "kind": "boolean", + "type": { + "$ref": "392" + }, + "value": true + } + } + }, + "hostType": { + "$id": "1701", + "kind": "string", + "type": { + "$ref": "34" + }, + "value": "AWS" + }, + "provisioningState": { + "$id": "1702", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "connectorPrimaryIdentifier": { + "$id": "1703", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "20a4e2be-8158-4b9e-b512-7a1af6f827de" + } + } + }, + "tags": { + "$id": "1704", + "kind": "dict", + "type": { + "$ref": "369" + }, + "value": { + "$id": "1705" + } + }, + "location": { + "$id": "1706", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "jpiglusfxynfcewcjwvvnn" + }, + "id": { + "$id": "1707", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1708", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "esixipkbydb" + }, + "type": { + "$id": "1709", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "eelsjvqvkdxdncptsobrswhulnm" + }, + "systemData": { + "$id": "1710", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1711", + "createdBy": { + "$id": "1712", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1713", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1714", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1715", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1716", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1717", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "1718", + "kind": "string", + "type": { + "$ref": "436" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "1719", + "name": "testPermissions", + "resourceName": "PublicCloudConnectors", + "doc": "A long-running resource action.", + "accessibility": "public", + "parameters": [ + { + "$id": "1720", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1722", + "type": { + "$id": "1723", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1724", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1725", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1727", + "name": "resourceGroupName", + "nameInRequest": "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, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1729", + "name": "publicCloudConnector", + "nameInRequest": "publicCloudConnector", + "doc": "Represent public cloud connectors resource.", + "type": { + "$id": "1730", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1731", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1732", + "kind": "constant", + "valueType": { + "$id": "1733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1734", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "1735", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "1736", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1737", + "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": "1738", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "1739", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "302" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}/testPermissions", + "bufferResponse": true, + "longRunning": { + "$id": "1740", + "finalStateVia": 1, + "finalResponse": { + "$id": "1741", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "302" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors.testPermissions", + "decorators": [], + "examples": [ + { + "$id": "1742", + "kind": "http", + "name": "PublicCloudConnectors_TestPermissions", + "description": "PublicCloudConnectors_TestPermissions", + "filePath": "2024-12-01/PublicCloudConnectors_TestPermissions.json", + "parameters": [ + { + "$id": "1743", + "parameter": { + "$ref": "1720" + }, + "value": { + "$id": "1744", + "kind": "string", + "type": { + "$ref": "1721" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1745", + "parameter": { + "$ref": "1724" + }, + "value": { + "$id": "1746", + "kind": "string", + "type": { + "$ref": "1725" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "1747", + "parameter": { + "$ref": "1727" + }, + "value": { + "$id": "1748", + "kind": "string", + "type": { + "$ref": "1728" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "1749", + "parameter": { + "$ref": "1729" + }, + "value": { + "$id": "1750", + "kind": "string", + "type": { + "$ref": "1730" + }, + "value": "rzygvnpsnrdylwzdbsscjazvamyxmh" + } + } + ], + "responses": [ + { + "$id": "1751", + "response": { + "$ref": "1739" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1752", + "kind": "model", + "type": { + "$ref": "302" + }, + "value": { + "$id": "1753", + "id": { + "$id": "1754", + "kind": "string", + "type": { + "$ref": "304" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "resourceId": { + "$id": "1755", + "kind": "string", + "type": { + "$ref": "338" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1756", + "kind": "string", + "type": { + "$ref": "309" + }, + "value": "ppeygvsnaspxmpwalpmkqva" + }, + "status": { + "$id": "1757", + "kind": "string", + "type": { + "$ref": "313" + }, + "value": "toyjllkvm" + }, + "percentComplete": { + "$id": "1758", + "kind": "number", + "type": { + "$ref": "317" + }, + "value": 81 + }, + "startTime": { + "$id": "1759", + "kind": "string", + "type": { + "$ref": "321" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "endTime": { + "$id": "1760", + "kind": "string", + "type": { + "$ref": "326" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "operations": { + "$id": "1761", + "kind": "array", + "type": { + "$ref": "331" + }, + "value": [ + { + "$id": "1762", + "kind": "model", + "type": { + "$ref": "302" + }, + "value": { + "$id": "1763", + "id": { + "$id": "1764", + "kind": "string", + "type": { + "$ref": "304" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "resourceId": { + "$id": "1765", + "kind": "string", + "type": { + "$ref": "338" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "1766", + "kind": "string", + "type": { + "$ref": "309" + }, + "value": "svqtraeuwvyvblujlvqilypwpdrt" + }, + "status": { + "$id": "1767", + "kind": "string", + "type": { + "$ref": "313" + }, + "value": "bevmrejij" + }, + "percentComplete": { + "$id": "1768", + "kind": "number", + "type": { + "$ref": "317" + }, + "value": 15 + }, + "startTime": { + "$id": "1769", + "kind": "string", + "type": { + "$ref": "321" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "endTime": { + "$id": "1770", + "kind": "string", + "type": { + "$ref": "326" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "operations": { + "$id": "1771", + "kind": "array", + "type": { + "$ref": "331" + }, + "value": [] + }, + "error": { + "$id": "1772", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "$id": "1773", + "code": { + "$id": "1774", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "ykzvluyqiftfsumgvwzdh" + }, + "message": { + "$id": "1775", + "kind": "string", + "type": { + "$ref": "178" + }, + "value": "krbjgtqkjgiux" + }, + "target": { + "$id": "1776", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "nsaucxt" + }, + "details": { + "$id": "1777", + "kind": "array", + "type": { + "$ref": "186" + }, + "value": [] + }, + "additionalInfo": { + "$id": "1778", + "kind": "array", + "type": { + "$ref": "190" + }, + "value": [ + { + "$id": "1779", + "kind": "model", + "type": { + "$ref": "191" + }, + "value": { + "$id": "1780", + "type": { + "$id": "1781", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "qivvrewsjvcildjgwwytgimwklh" + }, + "info": { + "$id": "1782", + "kind": "model", + "type": { + "$ref": "197" + }, + "value": { + "$id": "1783" + } + } + } + } + ] + } + } + } + } + } + ] + }, + "error": { + "$id": "1784", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "$id": "1785", + "code": { + "$id": "1786", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "ykzvluyqiftfsumgvwzdh" + }, + "message": { + "$id": "1787", + "kind": "string", + "type": { + "$ref": "178" + }, + "value": "krbjgtqkjgiux" + }, + "target": { + "$id": "1788", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "nsaucxt" + }, + "details": { + "$id": "1789", + "kind": "array", + "type": { + "$ref": "186" + }, + "value": [] + }, + "additionalInfo": { + "$id": "1790", + "kind": "array", + "type": { + "$ref": "190" + }, + "value": [ + { + "$id": "1791", + "kind": "model", + "type": { + "$ref": "191" + }, + "value": { + "$id": "1792", + "type": { + "$id": "1793", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "qivvrewsjvcildjgwwytgimwklh" + }, + "info": { + "$id": "1794", + "kind": "model", + "type": { + "$ref": "197" + }, + "value": { + "$id": "1795" + } + } + } + } + ] + } + } + } + } + } + }, + { + "$id": "1796", + "response": { + "$ref": "1734" + }, + "statusCode": 202 + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "1797", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1798", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1799", + "type": { + "$id": "1800", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.PublicCloudConnectors" + }, + { + "$id": "1801", + "name": "SolutionConfigurations", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "1802", + "name": "get", + "resourceName": "SolutionConfiguration", + "doc": "Get a SolutionConfiguration", + "accessibility": "public", + "parameters": [ + { + "$id": "1803", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1804", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1805", + "type": { + "$id": "1806", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1807", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1808", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1809", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "1810", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1811", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1812", + "kind": "constant", + "valueType": { + "$id": "1813", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1814", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.get", + "decorators": [], + "examples": [ + { + "$id": "1815", + "kind": "http", + "name": "SolutionConfigurations_Get", + "description": "SolutionConfigurations_Get", + "filePath": "2024-12-01/SolutionConfigurations_Get.json", + "parameters": [ + { + "$id": "1816", + "parameter": { + "$ref": "1803" + }, + "value": { + "$id": "1817", + "kind": "string", + "type": { + "$ref": "1804" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1818", + "parameter": { + "$ref": "1807" + }, + "value": { + "$id": "1819", + "kind": "string", + "type": { + "$ref": "1808" + }, + "value": "ymuj" + } + }, + { + "$id": "1820", + "parameter": { + "$ref": "1809" + }, + "value": { + "$id": "1821", + "kind": "string", + "type": { + "$ref": "1810" + }, + "value": "tks" + } + } + ], + "responses": [ + { + "$id": "1822", + "response": { + "$ref": "1814" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1823", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "1824", + "properties": { + "$id": "1825", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "1826", + "solutionType": { + "$id": "1827", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "nmtqllkyohwtsthxaimsye" + }, + "solutionSettings": { + "$id": "1828", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1829" + } + }, + "provisioningState": { + "$id": "1830", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "1831", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "1832", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "rqbrzildwecankrpukkbjjqrczxboz" + }, + "lastSyncTime": { + "$id": "1833", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "1834", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir" + }, + "name": { + "$id": "1835", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "qpwubemzmootxmtlxaerir" + }, + "type": { + "$id": "1836", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "uknrk" + }, + "systemData": { + "$id": "1837", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1838", + "createdBy": { + "$id": "1839", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1840", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1841", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1842", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1843", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1844", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1845", + "name": "createOrUpdate", + "resourceName": "SolutionConfiguration", + "doc": "Create a SolutionConfiguration", + "accessibility": "public", + "parameters": [ + { + "$id": "1846", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1847", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1848", + "type": { + "$id": "1849", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1850", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1851", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1852", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "1853", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1854", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1855", + "kind": "constant", + "valueType": { + "$id": "1856", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1857", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1858", + "kind": "constant", + "valueType": { + "$id": "1859", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1860", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "250" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1861", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1862", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "1863", + "kind": "http", + "name": "SolutionConfigurations_CreateOrUpdate", + "description": "SolutionConfigurations_CreateOrUpdate", + "filePath": "2024-12-01/SolutionConfigurations_CreateOrUpdate.json", + "parameters": [ + { + "$id": "1864", + "parameter": { + "$ref": "1846" + }, + "value": { + "$id": "1865", + "kind": "string", + "type": { + "$ref": "1847" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1866", + "parameter": { + "$ref": "1850" + }, + "value": { + "$id": "1867", + "kind": "string", + "type": { + "$ref": "1851" + }, + "value": "ymuj" + } + }, + { + "$id": "1868", + "parameter": { + "$ref": "1852" + }, + "value": { + "$id": "1869", + "kind": "string", + "type": { + "$ref": "1853" + }, + "value": "keebwujt" + } + }, + { + "$id": "1870", + "parameter": { + "$ref": "1860" + }, + "value": { + "$id": "1871", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "1872", + "properties": { + "$id": "1873", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "1874", + "solutionType": { + "$id": "1875", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "nmtqllkyohwtsthxaimsye" + }, + "solutionSettings": { + "$id": "1876", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1877" + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1878", + "response": { + "$ref": "1861" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1879", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "1880", + "properties": { + "$id": "1881", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "1882", + "solutionType": { + "$id": "1883", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "nmtqllkyohwtsthxaimsye" + }, + "solutionSettings": { + "$id": "1884", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1885" + } + }, + "provisioningState": { + "$id": "1886", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "1887", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "1888", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "rqbrzildwecankrpukkbjjqrczxboz" + }, + "lastSyncTime": { + "$id": "1889", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "1890", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir" + }, + "name": { + "$id": "1891", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "qpwubemzmootxmtlxaerir" + }, + "type": { + "$id": "1892", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "uknrk" + }, + "systemData": { + "$id": "1893", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1894", + "createdBy": { + "$id": "1895", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1896", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1897", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1898", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1899", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1900", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + }, + { + "$id": "1901", + "response": { + "$ref": "1862" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1902", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "1903", + "properties": { + "$id": "1904", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "1905", + "solutionType": { + "$id": "1906", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "nmtqllkyohwtsthxaimsye" + }, + "solutionSettings": { + "$id": "1907", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1908" + } + }, + "provisioningState": { + "$id": "1909", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "1910", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "1911", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "rqbrzildwecankrpukkbjjqrczxboz" + }, + "lastSyncTime": { + "$id": "1912", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "1913", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir" + }, + "name": { + "$id": "1914", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "qpwubemzmootxmtlxaerir" + }, + "type": { + "$id": "1915", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "uknrk" + }, + "systemData": { + "$id": "1916", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1917", + "createdBy": { + "$id": "1918", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1919", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1920", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1921", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1922", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1923", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1924", + "name": "update", + "resourceName": "SolutionConfiguration", + "doc": "Update a SolutionConfiguration", + "accessibility": "public", + "parameters": [ + { + "$id": "1925", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1926", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1927", + "type": { + "$id": "1928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1929", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1930", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1931", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "1932", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1933", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1934", + "kind": "constant", + "valueType": { + "$id": "1935", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1936", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1937", + "kind": "constant", + "valueType": { + "$id": "1938", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1939", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "280" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1940", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "250" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.update", + "decorators": [], + "examples": [ + { + "$id": "1941", + "kind": "http", + "name": "SolutionConfigurations_Update", + "description": "SolutionConfigurations_Update", + "filePath": "2024-12-01/SolutionConfigurations_Update.json", + "parameters": [ + { + "$id": "1942", + "parameter": { + "$ref": "1925" + }, + "value": { + "$id": "1943", + "kind": "string", + "type": { + "$ref": "1926" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1944", + "parameter": { + "$ref": "1929" + }, + "value": { + "$id": "1945", + "kind": "string", + "type": { + "$ref": "1930" + }, + "value": "ymuj" + } + }, + { + "$id": "1946", + "parameter": { + "$ref": "1931" + }, + "value": { + "$id": "1947", + "kind": "string", + "type": { + "$ref": "1932" + }, + "value": "dxt" + } + }, + { + "$id": "1948", + "parameter": { + "$ref": "1939" + }, + "value": { + "$id": "1949", + "kind": "model", + "type": { + "$ref": "280" + }, + "value": { + "$id": "1950", + "properties": { + "$id": "1951", + "kind": "model", + "type": { + "$ref": "282" + }, + "value": { + "$id": "1952", + "solutionType": { + "$id": "1953", + "kind": "string", + "type": { + "$ref": "284" + }, + "value": "myzljlstvmgkp" + }, + "solutionSettings": { + "$id": "1954", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1955" + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1956", + "response": { + "$ref": "1940" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1957", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "1958", + "properties": { + "$id": "1959", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "1960", + "solutionType": { + "$id": "1961", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "nmtqllkyohwtsthxaimsye" + }, + "solutionSettings": { + "$id": "1962", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "1963" + } + }, + "provisioningState": { + "$id": "1964", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "1965", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "1966", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "rqbrzildwecankrpukkbjjqrczxboz" + }, + "lastSyncTime": { + "$id": "1967", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "1968", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir" + }, + "name": { + "$id": "1969", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "qpwubemzmootxmtlxaerir" + }, + "type": { + "$id": "1970", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "uknrk" + }, + "systemData": { + "$id": "1971", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "1972", + "createdBy": { + "$id": "1973", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "1974", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "1975", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "1976", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "1977", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1978", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1979", + "name": "delete", + "resourceName": "SolutionConfiguration", + "doc": "Delete a SolutionConfiguration", + "accessibility": "public", + "parameters": [ + { + "$id": "1980", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1981", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1982", + "type": { + "$id": "1983", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1984", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "1986", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "1987", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1988", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1989", + "kind": "constant", + "valueType": { + "$id": "1990", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1991", + "statusCodes": [ + 200 + ], + "headers": [], + "isErrorResponse": false + }, + { + "$id": "1992", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.delete", + "decorators": [], + "examples": [ + { + "$id": "1993", + "kind": "http", + "name": "SolutionConfigurations_Delete", + "description": "SolutionConfigurations_Delete", + "filePath": "2024-12-01/SolutionConfigurations_Delete.json", + "parameters": [ + { + "$id": "1994", + "parameter": { + "$ref": "1980" + }, + "value": { + "$id": "1995", + "kind": "string", + "type": { + "$ref": "1981" + }, + "value": "2024-12-01" + } + }, + { + "$id": "1996", + "parameter": { + "$ref": "1984" + }, + "value": { + "$id": "1997", + "kind": "string", + "type": { + "$ref": "1985" + }, + "value": "ymuj" + } + }, + { + "$id": "1998", + "parameter": { + "$ref": "1986" + }, + "value": { + "$id": "1999", + "kind": "string", + "type": { + "$ref": "1987" + }, + "value": "stu" + } + } + ], + "responses": [ + { + "$id": "2000", + "response": { + "$ref": "1991" + }, + "statusCode": 200 + }, + { + "$id": "2001", + "response": { + "$ref": "1992" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "2002", + "name": "list", + "resourceName": "SolutionConfiguration", + "doc": "List SolutionConfiguration resources by parent", + "accessibility": "public", + "parameters": [ + { + "$id": "2003", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2004", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2005", + "type": { + "$id": "2006", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2007", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "2008", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "2009", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2010", + "kind": "constant", + "valueType": { + "$id": "2011", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2012", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "292" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations", + "bufferResponse": true, + "paging": { + "$id": "2013", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2014", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.list", + "decorators": [], + "examples": [ + { + "$id": "2015", + "kind": "http", + "name": "SolutionConfigurations_List", + "description": "SolutionConfigurations_List", + "filePath": "2024-12-01/SolutionConfigurations_List.json", + "parameters": [ + { + "$id": "2016", + "parameter": { + "$ref": "2003" + }, + "value": { + "$id": "2017", + "kind": "string", + "type": { + "$ref": "2004" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2018", + "parameter": { + "$ref": "2007" + }, + "value": { + "$id": "2019", + "kind": "string", + "type": { + "$ref": "2008" + }, + "value": "ymuj" + } + } + ], + "responses": [ + { + "$id": "2020", + "response": { + "$ref": "2012" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2021", + "kind": "model", + "type": { + "$ref": "292" + }, + "value": { + "$id": "2022", + "value": { + "$id": "2023", + "kind": "array", + "type": { + "$ref": "294" + }, + "value": [ + { + "$id": "2024", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "2025", + "properties": { + "$id": "2026", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "2027", + "solutionType": { + "$id": "2028", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Microsoft.AssetManagement" + }, + "solutionSettings": { + "$id": "2029", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "2030" + } + }, + "provisioningState": { + "$id": "2031", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "2032", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "AuthorizationPending" + }, + "statusDetails": { + "$id": "2033", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "Aws authorization validation pending in Aws account" + }, + "lastSyncTime": { + "$id": "2034", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "2035", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/solutionconfigurationtest" + }, + "name": { + "$id": "2036", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "solutionconfigurationtest" + }, + "type": { + "$id": "2037", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "microsoft.hybridconnectivity/solutionconfigurations" + }, + "systemData": { + "$id": "2038", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2039", + "createdBy": { + "$id": "2040", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2041", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2042", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2043", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2044", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2045", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + }, + { + "$id": "2046", + "kind": "model", + "type": { + "$ref": "250" + }, + "value": { + "$id": "2047", + "properties": { + "$id": "2048", + "kind": "model", + "type": { + "$ref": "253" + }, + "value": { + "$id": "2049", + "solutionType": { + "$id": "2050", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Microsoft.HybridCompute" + }, + "solutionSettings": { + "$id": "2051", + "kind": "model", + "type": { + "$ref": "262" + }, + "value": { + "$id": "2052" + } + }, + "provisioningState": { + "$id": "2053", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + }, + "status": { + "$id": "2054", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "AuthorizationSuccess" + }, + "statusDetails": { + "$id": "2055", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "Aws authorization validation succeeded in Aws account" + }, + "lastSyncTime": { + "$id": "2056", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "2024-01-20T03:24:15.820Z" + } + } + }, + "id": { + "$id": "2057", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/solutionconfigurationtest2" + }, + "name": { + "$id": "2058", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "solutionconfigurationtest2" + }, + "type": { + "$id": "2059", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "microsoft.hybridconnectivity/solutionconfigurations" + }, + "systemData": { + "$id": "2060", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2061", + "createdBy": { + "$id": "2062", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2063", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2064", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2065", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2066", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2067", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2068", + "kind": "string", + "type": { + "$ref": "298" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "2069", + "name": "syncNow", + "resourceName": "SolutionConfigurations", + "doc": "Trigger immediate sync with source cloud", + "accessibility": "public", + "parameters": [ + { + "$id": "2070", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2071", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2072", + "type": { + "$id": "2073", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2074", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "2075", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "2076", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "2077", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2078", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2079", + "kind": "constant", + "valueType": { + "$id": "2080", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2081", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "2082", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "2083", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "2084", + "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": "2085", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "2086", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "302" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/syncNow", + "bufferResponse": true, + "longRunning": { + "$id": "2087", + "finalStateVia": 1, + "finalResponse": { + "$id": "2088", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "302" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations.syncNow", + "decorators": [], + "examples": [ + { + "$id": "2089", + "kind": "http", + "name": "SolutionConfigurations_SyncNow", + "description": "SolutionConfigurations_SyncNow", + "filePath": "2024-12-01/SolutionConfigurations_SyncNow.json", + "parameters": [ + { + "$id": "2090", + "parameter": { + "$ref": "2070" + }, + "value": { + "$id": "2091", + "kind": "string", + "type": { + "$ref": "2071" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2092", + "parameter": { + "$ref": "2074" + }, + "value": { + "$id": "2093", + "kind": "string", + "type": { + "$ref": "2075" + }, + "value": "ymuj" + } + }, + { + "$id": "2094", + "parameter": { + "$ref": "2076" + }, + "value": { + "$id": "2095", + "kind": "string", + "type": { + "$ref": "2077" + }, + "value": "tks" + } + } + ], + "responses": [ + { + "$id": "2096", + "response": { + "$ref": "2086" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2097", + "kind": "model", + "type": { + "$ref": "302" + }, + "value": { + "$id": "2098", + "id": { + "$id": "2099", + "kind": "string", + "type": { + "$ref": "304" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "resourceId": { + "$id": "2100", + "kind": "string", + "type": { + "$ref": "338" + }, + "value": "/subscriptions/5ACC4579-DB34-4C2F-8F8C-25061168F342/providers/Microsoft.HybridConnectivity/PublicCloudConnectors/esixipkbydb" + }, + "name": { + "$id": "2101", + "kind": "string", + "type": { + "$ref": "309" + }, + "value": "svqtraeuwvyvblujlvqilypwpdrt" + }, + "status": { + "$id": "2102", + "kind": "string", + "type": { + "$ref": "313" + }, + "value": "bevmrejij" + }, + "percentComplete": { + "$id": "2103", + "kind": "number", + "type": { + "$ref": "317" + }, + "value": 15 + }, + "startTime": { + "$id": "2104", + "kind": "string", + "type": { + "$ref": "321" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "endTime": { + "$id": "2105", + "kind": "string", + "type": { + "$ref": "326" + }, + "value": "2024-10-02T18:38:19.143Z" + }, + "operations": { + "$id": "2106", + "kind": "array", + "type": { + "$ref": "331" + }, + "value": [] + }, + "error": { + "$id": "2107", + "kind": "model", + "type": { + "$ref": "172" + }, + "value": { + "$id": "2108", + "code": { + "$id": "2109", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "ykzvluyqiftfsumgvwzdh" + }, + "message": { + "$id": "2110", + "kind": "string", + "type": { + "$ref": "178" + }, + "value": "krbjgtqkjgiux" + }, + "target": { + "$id": "2111", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "nsaucxt" + }, + "details": { + "$id": "2112", + "kind": "array", + "type": { + "$ref": "186" + }, + "value": [] + }, + "additionalInfo": { + "$id": "2113", + "kind": "array", + "type": { + "$ref": "190" + }, + "value": [ + { + "$id": "2114", + "kind": "model", + "type": { + "$ref": "191" + }, + "value": { + "$id": "2115", + "type": { + "$id": "2116", + "kind": "string", + "type": { + "$ref": "193" + }, + "value": "qivvrewsjvcildjgwwytgimwklh" + }, + "info": { + "$id": "2117", + "kind": "model", + "type": { + "$ref": "197" + }, + "value": { + "$id": "2118" + } + } + } + } + ] + } + } + } + } + } + }, + { + "$id": "2119", + "response": { + "$ref": "2081" + }, + "statusCode": 202 + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "2120", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "2121", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "2122", + "type": { + "$id": "2123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionConfigurations" + }, + { + "$id": "2124", + "name": "Inventory", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "2125", + "name": "get", + "resourceName": "InventoryResource", + "doc": "Get a InventoryResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2126", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2128", + "type": { + "$id": "2129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2130", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "2131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "2132", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "2133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2134", + "name": "inventoryId", + "nameInRequest": "inventoryId", + "doc": "Inventory resource", + "type": { + "$id": "2135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2136", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2137", + "kind": "constant", + "valueType": { + "$id": "2138", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2139", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "214" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory/{inventoryId}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Inventory.get", + "decorators": [], + "examples": [ + { + "$id": "2140", + "kind": "http", + "name": "Inventory_Get", + "description": "Inventory_Get", + "filePath": "2024-12-01/Inventory_Get.json", + "parameters": [ + { + "$id": "2141", + "parameter": { + "$ref": "2126" + }, + "value": { + "$id": "2142", + "kind": "string", + "type": { + "$ref": "2127" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2143", + "parameter": { + "$ref": "2130" + }, + "value": { + "$id": "2144", + "kind": "string", + "type": { + "$ref": "2131" + }, + "value": "ymuj" + } + }, + { + "$id": "2145", + "parameter": { + "$ref": "2132" + }, + "value": { + "$id": "2146", + "kind": "string", + "type": { + "$ref": "2133" + }, + "value": "zarfsraogroxlaqjjnwixtn" + } + }, + { + "$id": "2147", + "parameter": { + "$ref": "2134" + }, + "value": { + "$id": "2148", + "kind": "string", + "type": { + "$ref": "2135" + }, + "value": "xofprmcboosrbd" + } + } + ], + "responses": [ + { + "$id": "2149", + "response": { + "$ref": "2139" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2150", + "kind": "model", + "type": { + "$ref": "214" + }, + "value": { + "$id": "2151", + "properties": { + "$id": "2152", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "2153", + "cloudNativeType": { + "$id": "2154", + "kind": "string", + "type": { + "$ref": "12" + }, + "value": "ec2" + }, + "cloudNativeResourceId": { + "$id": "2155", + "kind": "string", + "type": { + "$ref": "221" + }, + "value": "ljnxclzxficxhdkr" + }, + "azureResourceId": { + "$id": "2156", + "kind": "string", + "type": { + "$ref": "225" + }, + "value": "ttzebbjzatugawuqxdupzmxkt" + }, + "status": { + "$id": "2157", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "2158", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "wxvnfzivtx" + }, + "provisioningState": { + "$id": "2159", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "2160", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir/Inventory/xipjenocwvsqhhrplwmxwl" + }, + "name": { + "$id": "2161", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "xipjenocwvsqhhrplwmxwl" + }, + "type": { + "$id": "2162", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "jahwzrspsufypeouigsywjrx" + }, + "systemData": { + "$id": "2163", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2164", + "createdBy": { + "$id": "2165", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2166", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2167", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2168", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2169", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2170", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "2171", + "name": "listBySolutionConfiguration", + "resourceName": "InventoryResource", + "doc": "List InventoryResource resources by SolutionConfiguration", + "accessibility": "public", + "parameters": [ + { + "$id": "2172", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2174", + "type": { + "$id": "2175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2176", + "name": "resourceUri", + "nameInRequest": "resourceUri", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "2177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": true + }, + { + "$id": "2178", + "name": "solutionConfiguration", + "nameInRequest": "solutionConfiguration", + "doc": "Represent Solution Configuration Resource.", + "type": { + "$id": "2179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2180", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2181", + "kind": "constant", + "valueType": { + "$id": "2182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2183", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "240" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory", + "bufferResponse": true, + "paging": { + "$id": "2184", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2185", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Inventory.listBySolutionConfiguration", + "decorators": [], + "examples": [ + { + "$id": "2186", + "kind": "http", + "name": "Inventory_ListBySolutionConfiguration", + "description": "Inventory_ListBySolutionConfiguration", + "filePath": "2024-12-01/Inventory_ListBySolutionConfiguration.json", + "parameters": [ + { + "$id": "2187", + "parameter": { + "$ref": "2172" + }, + "value": { + "$id": "2188", + "kind": "string", + "type": { + "$ref": "2173" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2189", + "parameter": { + "$ref": "2176" + }, + "value": { + "$id": "2190", + "kind": "string", + "type": { + "$ref": "2177" + }, + "value": "ymuj" + } + }, + { + "$id": "2191", + "parameter": { + "$ref": "2178" + }, + "value": { + "$id": "2192", + "kind": "string", + "type": { + "$ref": "2179" + }, + "value": "wsxt" + } + } + ], + "responses": [ + { + "$id": "2193", + "response": { + "$ref": "2183" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2194", + "kind": "model", + "type": { + "$ref": "240" + }, + "value": { + "$id": "2195", + "value": { + "$id": "2196", + "kind": "array", + "type": { + "$ref": "242" + }, + "value": [ + { + "$id": "2197", + "kind": "model", + "type": { + "$ref": "214" + }, + "value": { + "$id": "2198", + "properties": { + "$id": "2199", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "2200", + "cloudNativeType": { + "$id": "2201", + "kind": "string", + "type": { + "$ref": "12" + }, + "value": "ec2" + }, + "cloudNativeResourceId": { + "$id": "2202", + "kind": "string", + "type": { + "$ref": "221" + }, + "value": "ljnxclzxficxhdkr" + }, + "azureResourceId": { + "$id": "2203", + "kind": "string", + "type": { + "$ref": "225" + }, + "value": "ttzebbjzatugawuqxdupzmxkt" + }, + "status": { + "$id": "2204", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "New" + }, + "statusDetails": { + "$id": "2205", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "wxvnfzivtx" + }, + "provisioningState": { + "$id": "2206", + "kind": "string", + "type": { + "$ref": "26" + }, + "value": "Succeeded" + } + } + }, + "id": { + "$id": "2207", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/SolutionConfigurations/qpwubemzmootxmtlxaerir/Inventory/xipjenocwvsqhhrplwmxwl" + }, + "name": { + "$id": "2208", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "xipjenocwvsqhhrplwmxwl" + }, + "type": { + "$id": "2209", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "jahwzrspsufypeouigsywjrx" + }, + "systemData": { + "$id": "2210", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2211", + "createdBy": { + "$id": "2212", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2213", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2214", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2215", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2216", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2217", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2218", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "2219", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "2220", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "2221", + "type": { + "$id": "2222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.Inventory" + }, + { + "$id": "2223", + "name": "SolutionTypes", + "namespace": "Azure.ResourceManager.HybridConnectivity", + "operations": [ + { + "$id": "2224", + "name": "get", + "resourceName": "SolutionTypeResource", + "doc": "Get a SolutionTypeResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2225", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2227", + "type": { + "$id": "2228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2229", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2230", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2232", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2233", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2234", + "name": "solutionType", + "nameInRequest": "solutionType", + "doc": "Solution Type resource", + "type": { + "$id": "2235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2236", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2237", + "kind": "constant", + "valueType": { + "$id": "2238", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2239", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "78" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/solutionTypes/{solutionType}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypes.get", + "decorators": [], + "examples": [ + { + "$id": "2240", + "kind": "http", + "name": "SolutionTypes_Get", + "description": "SolutionTypes_Get", + "filePath": "2024-12-01/SolutionTypes_Get.json", + "parameters": [ + { + "$id": "2241", + "parameter": { + "$ref": "2225" + }, + "value": { + "$id": "2242", + "kind": "string", + "type": { + "$ref": "2226" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2243", + "parameter": { + "$ref": "2229" + }, + "value": { + "$id": "2244", + "kind": "string", + "type": { + "$ref": "2230" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "2245", + "parameter": { + "$ref": "2232" + }, + "value": { + "$id": "2246", + "kind": "string", + "type": { + "$ref": "2233" + }, + "value": "rgpublicCloud" + } + }, + { + "$id": "2247", + "parameter": { + "$ref": "2234" + }, + "value": { + "$id": "2248", + "kind": "string", + "type": { + "$ref": "2235" + }, + "value": "lulzqllpu" + } + } + ], + "responses": [ + { + "$id": "2249", + "response": { + "$ref": "2239" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2250", + "kind": "model", + "type": { + "$ref": "78" + }, + "value": { + "$id": "2251", + "properties": { + "$id": "2252", + "kind": "model", + "type": { + "$ref": "124" + }, + "value": { + "$id": "2253", + "solutionType": { + "$id": "2254", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "tjtoeycxhyqxtgd" + }, + "description": { + "$id": "2255", + "kind": "string", + "type": { + "$ref": "130" + }, + "value": "wxyxcvtzuxgodtlanjevedwfdwnznc" + }, + "supportedAzureRegions": { + "$id": "2256", + "kind": "array", + "type": { + "$ref": "134" + }, + "value": [ + { + "$id": "2257", + "kind": "string", + "type": { + "$ref": "135" + }, + "value": "cimocdh" + } + ] + }, + "solutionSettings": { + "$id": "2258", + "kind": "array", + "type": { + "$ref": "139" + }, + "value": [ + { + "$id": "2259", + "kind": "model", + "type": { + "$ref": "140" + }, + "value": { + "$id": "2260", + "name": { + "$id": "2261", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "tepghdgbefujhnnue" + }, + "displayName": { + "$id": "2262", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "mwlzepoin" + }, + "type": { + "$id": "2263", + "kind": "string", + "type": { + "$ref": "150" + }, + "value": "je" + }, + "description": { + "$id": "2264", + "kind": "string", + "type": { + "$ref": "154" + }, + "value": "soq" + }, + "allowedValues": { + "$id": "2265", + "kind": "array", + "type": { + "$ref": "158" + }, + "value": [ + { + "$id": "2266", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "pwizyngpkpxsllpluffjspx" + } + ] + }, + "defaultValue": { + "$id": "2267", + "kind": "string", + "type": { + "$ref": "163" + }, + "value": "laekyetgapdpxyqervqaqfscfwagek" + } + } + } + ] + } + } + }, + "id": { + "$id": "2268", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/solutionTypes/j" + }, + "name": { + "$id": "2269", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "xczyyxuphhacyyj" + }, + "type": { + "$id": "2270", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "mf" + }, + "systemData": { + "$id": "2271", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2272", + "createdBy": { + "$id": "2273", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2274", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2275", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2276", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2277", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2278", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "2279", + "name": "listByResourceGroup", + "resourceName": "SolutionTypeResource", + "doc": "List SolutionTypeResource resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "2280", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2282", + "type": { + "$id": "2283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2284", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2285", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2287", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2289", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2290", + "kind": "constant", + "valueType": { + "$id": "2291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2292", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "204" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/solutionTypes", + "bufferResponse": true, + "paging": { + "$id": "2293", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2294", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypes.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "2295", + "kind": "http", + "name": "SolutionTypes_ListByResourceGroup", + "description": "SolutionTypes_ListByResourceGroup", + "filePath": "2024-12-01/SolutionTypes_ListByResourceGroup.json", + "parameters": [ + { + "$id": "2296", + "parameter": { + "$ref": "2280" + }, + "value": { + "$id": "2297", + "kind": "string", + "type": { + "$ref": "2281" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2298", + "parameter": { + "$ref": "2284" + }, + "value": { + "$id": "2299", + "kind": "string", + "type": { + "$ref": "2285" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + }, + { + "$id": "2300", + "parameter": { + "$ref": "2287" + }, + "value": { + "$id": "2301", + "kind": "string", + "type": { + "$ref": "2288" + }, + "value": "rgpublicCloud" + } + } + ], + "responses": [ + { + "$id": "2302", + "response": { + "$ref": "2292" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2303", + "kind": "model", + "type": { + "$ref": "204" + }, + "value": { + "$id": "2304", + "value": { + "$id": "2305", + "kind": "array", + "type": { + "$ref": "206" + }, + "value": [ + { + "$id": "2306", + "kind": "model", + "type": { + "$ref": "78" + }, + "value": { + "$id": "2307", + "properties": { + "$id": "2308", + "kind": "model", + "type": { + "$ref": "124" + }, + "value": { + "$id": "2309", + "solutionType": { + "$id": "2310", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "j" + }, + "description": { + "$id": "2311", + "kind": "string", + "type": { + "$ref": "130" + }, + "value": "mhasmuazxsr" + }, + "supportedAzureRegions": { + "$id": "2312", + "kind": "array", + "type": { + "$ref": "134" + }, + "value": [ + { + "$id": "2313", + "kind": "string", + "type": { + "$ref": "135" + }, + "value": "jfvkgljymtuzfwbumgabpdpjjnxit" + } + ] + }, + "solutionSettings": { + "$id": "2314", + "kind": "array", + "type": { + "$ref": "139" + }, + "value": [ + { + "$id": "2315", + "kind": "model", + "type": { + "$ref": "140" + }, + "value": { + "$id": "2316", + "name": { + "$id": "2317", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "eepvybtmsjwgcpf" + }, + "displayName": { + "$id": "2318", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "npxunbwkjrklbjsvdryzsjtecm" + }, + "type": { + "$id": "2319", + "kind": "string", + "type": { + "$ref": "150" + }, + "value": "fngmzlffmwmrglepeyce" + }, + "description": { + "$id": "2320", + "kind": "string", + "type": { + "$ref": "154" + }, + "value": "vdtvoysdagvae" + }, + "allowedValues": { + "$id": "2321", + "kind": "array", + "type": { + "$ref": "158" + }, + "value": [ + { + "$id": "2322", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "cgbkgbmsgsfofmcrjerg" + } + ] + }, + "defaultValue": { + "$id": "2323", + "kind": "string", + "type": { + "$ref": "163" + }, + "value": "knshmo" + } + } + } + ] + } + } + }, + "id": { + "$id": "2324", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/solutionTypes/j" + }, + "name": { + "$id": "2325", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "yzgpvbtzwvijawjgfvnhgbqefqq" + }, + "type": { + "$id": "2326", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "vamwfnqqpjosjnomwbkwnlnrg" + }, + "systemData": { + "$id": "2327", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2328", + "createdBy": { + "$id": "2329", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2330", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2331", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2332", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2333", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2334", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2335", + "kind": "string", + "type": { + "$ref": "210" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "2336", + "name": "listBySubscription", + "resourceName": "SolutionTypeResource", + "doc": "List SolutionTypeResource resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "2337", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2338", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2339", + "type": { + "$id": "2340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-12-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2341", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2342", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2344", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2345", + "kind": "constant", + "valueType": { + "$id": "2346", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2347", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "204" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/solutionTypes", + "bufferResponse": true, + "paging": { + "$id": "2348", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2349", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypes.listBySubscription", + "decorators": [], + "examples": [ + { + "$id": "2350", + "kind": "http", + "name": "SolutionTypes_ListBySubscription", + "description": "SolutionTypes_ListBySubscription", + "filePath": "2024-12-01/SolutionTypes_ListBySubscription.json", + "parameters": [ + { + "$id": "2351", + "parameter": { + "$ref": "2337" + }, + "value": { + "$id": "2352", + "kind": "string", + "type": { + "$ref": "2338" + }, + "value": "2024-12-01" + } + }, + { + "$id": "2353", + "parameter": { + "$ref": "2341" + }, + "value": { + "$id": "2354", + "kind": "string", + "type": { + "$ref": "2342" + }, + "value": "5ACC4579-DB34-4C2F-8F8C-25061168F342" + } + } + ], + "responses": [ + { + "$id": "2355", + "response": { + "$ref": "2347" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2356", + "kind": "model", + "type": { + "$ref": "204" + }, + "value": { + "$id": "2357", + "value": { + "$id": "2358", + "kind": "array", + "type": { + "$ref": "206" + }, + "value": [ + { + "$id": "2359", + "kind": "model", + "type": { + "$ref": "78" + }, + "value": { + "$id": "2360", + "properties": { + "$id": "2361", + "kind": "model", + "type": { + "$ref": "124" + }, + "value": { + "$id": "2362", + "solutionType": { + "$id": "2363", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "dembhpcydwoiyszmjtniletpy" + }, + "description": { + "$id": "2364", + "kind": "string", + "type": { + "$ref": "130" + }, + "value": "fkegiumpjdwgkde" + }, + "supportedAzureRegions": { + "$id": "2365", + "kind": "array", + "type": { + "$ref": "134" + }, + "value": [ + { + "$id": "2366", + "kind": "string", + "type": { + "$ref": "135" + }, + "value": "ujawbfint" + } + ] + }, + "solutionSettings": { + "$id": "2367", + "kind": "array", + "type": { + "$ref": "139" + }, + "value": [ + { + "$id": "2368", + "kind": "model", + "type": { + "$ref": "140" + }, + "value": { + "$id": "2369", + "name": { + "$id": "2370", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "i" + }, + "displayName": { + "$id": "2371", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "forzmqskffaub" + }, + "type": { + "$id": "2372", + "kind": "string", + "type": { + "$ref": "150" + }, + "value": "d" + }, + "description": { + "$id": "2373", + "kind": "string", + "type": { + "$ref": "154" + }, + "value": "cbyxsxfsaye" + }, + "allowedValues": { + "$id": "2374", + "kind": "array", + "type": { + "$ref": "158" + }, + "value": [ + { + "$id": "2375", + "kind": "string", + "type": { + "$ref": "159" + }, + "value": "uecqnmmssdeusxejcxrtkskfugvl" + } + ] + }, + "defaultValue": { + "$id": "2376", + "kind": "string", + "type": { + "$ref": "163" + }, + "value": "uzwiymoxrummkoowwvzjhyazeavzr" + } + } + } + ] + } + } + }, + "id": { + "$id": "2377", + "kind": "string", + "type": { + "$ref": "82" + }, + "value": "/subscriptions/testSubcrptions/resourceGroups/testResourceGroup/providers/Microsoft.HybridConnectivity/solutionTypes/i" + }, + "name": { + "$id": "2378", + "kind": "string", + "type": { + "$ref": "87" + }, + "value": "jtlxwihbuftmaobxfmfjojalhpwrv" + }, + "type": { + "$id": "2379", + "kind": "string", + "type": { + "$ref": "91" + }, + "value": "zditfautattfhnffvjw" + }, + "systemData": { + "$id": "2380", + "kind": "model", + "type": { + "$ref": "96" + }, + "value": { + "$id": "2381", + "createdBy": { + "$id": "2382", + "kind": "string", + "type": { + "$ref": "98" + }, + "value": "rpxzkcrobprrdvuoqxz" + }, + "createdByType": { + "$id": "2383", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "createdAt": { + "$id": "2384", + "kind": "string", + "type": { + "$ref": "105" + }, + "value": "2024-01-18T22:52:07.890Z" + }, + "lastModifiedBy": { + "$id": "2385", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "jidegyskxi" + }, + "lastModifiedByType": { + "$id": "2386", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2387", + "kind": "string", + "type": { + "$ref": "117" + }, + "value": "2024-01-18T22:52:07.890Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2388", + "kind": "string", + "type": { + "$ref": "210" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "HybridConnectivityClient", + "parameters": [ + { + "$id": "2389", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "2390", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "2391", + "type": { + "$id": "2392", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.HybridConnectivity.SolutionTypes" + } + ], + "auth": { + "$id": "2393", + "oAuth2": { + "$id": "2394", + "scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/sdk/iotoperations/Azure.ResourceManager.IotOperations/Configuration.json b/sdk/iotoperations/Azure.ResourceManager.IotOperations/Configuration.json new file mode 100644 index 000000000000..c0e9288ec7c4 --- /dev/null +++ b/sdk/iotoperations/Azure.ResourceManager.IotOperations/Configuration.json @@ -0,0 +1,12 @@ +{ + "output-folder": ".", + "namespace": "Azure.ResourceManager.IotOperations", + "library-name": "Azure.ResourceManager.IotOperations", + "flavor": "azure", + "use-model-reader-writer": true, + "shared-source-folders": [ + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared", + "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared" + ], + "azure-arm": true +} diff --git a/sdk/iotoperations/Azure.ResourceManager.IotOperations/tsp-location.yaml b/sdk/iotoperations/Azure.ResourceManager.IotOperations/tsp-location.yaml index 25a72265e2a6..5cc01ae5055e 100644 --- a/sdk/iotoperations/Azure.ResourceManager.IotOperations/tsp-location.yaml +++ b/sdk/iotoperations/Azure.ResourceManager.IotOperations/tsp-location.yaml @@ -1,3 +1,4 @@ directory: specification/iotoperations/IoTOperations.Management -commit: 81f881effe41b9bdad29bc449dbf8a99ca894f2d +commit: dc71adc1aec8dfc35d5a944f4b37c1b522005faa repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/iotoperations/Azure.ResourceManager.IotOperations/tspCodeModel.json b/sdk/iotoperations/Azure.ResourceManager.IotOperations/tspCodeModel.json new file mode 100644 index 000000000000..f4132b616658 --- /dev/null +++ b/sdk/iotoperations/Azure.ResourceManager.IotOperations/tspCodeModel.json @@ -0,0 +1,69032 @@ +{ + "$id": "1", + "name": "Microsoft.IoTOperations", + "apiVersions": [ + "2024-11-01", + "2025-04-01" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "DataflowEndpointType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.EndpointType", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "DataExplorer", + "value": "DataExplorer", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Azure Data Explorer Type", + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "DataLakeStorage", + "value": "DataLakeStorage", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Azure Data Lake Type", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "FabricOneLake", + "value": "FabricOneLake", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Microsoft Fabric Type", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "Kafka", + "value": "Kafka", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Kafka Type", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "LocalStorage", + "value": "LocalStorage", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Local Storage Type", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Broker Type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Type properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "16", + "kind": "enum", + "name": "DataExplorerAuthMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataExplorerAuthMethod", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "18", + "kind": "enumvalue", + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "SystemAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "16" + }, + "doc": "UserAssignedManagedIdentity type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Data Explorer Authentication Method properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "22", + "kind": "enum", + "name": "DataLakeStorageAuthMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataLakeStorageAuthMethod", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "24", + "kind": "enumvalue", + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "22" + }, + "doc": "SystemAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "26", + "kind": "enumvalue", + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "22" + }, + "doc": "UserAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "AccessToken", + "value": "AccessToken", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "22" + }, + "doc": "AccessToken Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Data Lake Storage Authentication Method properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "30", + "kind": "enum", + "name": "FabricOneLakeAuthMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.FabricOneLakeAuthMethod", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "32", + "kind": "enumvalue", + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "SystemAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "34", + "kind": "enumvalue", + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "UserAssignedManagedIdentity type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Fabric One Lake Authentication Method properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "36", + "kind": "enum", + "name": "DataflowEndpointFabricPathType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricPathType", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "38", + "kind": "enumvalue", + "name": "Files", + "value": "Files", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "36" + }, + "doc": "FILES Type", + "decorators": [] + }, + { + "$id": "40", + "kind": "enumvalue", + "name": "Tables", + "value": "Tables", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "36" + }, + "doc": "TABLES Type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Fabric Path Type properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "42", + "kind": "enum", + "name": "KafkaAuthMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KafkaAuthMethod", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "44", + "kind": "enumvalue", + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "42" + }, + "doc": "SystemAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "46", + "kind": "enumvalue", + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "42" + }, + "doc": "UserAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "Sasl", + "value": "Sasl", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "42" + }, + "doc": "Sasl Option", + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "X509Certificate", + "value": "X509Certificate", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "42" + }, + "doc": "x509Certificate Option", + "decorators": [] + }, + { + "$id": "52", + "kind": "enumvalue", + "name": "Anonymous", + "value": "Anonymous", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "42" + }, + "doc": "Anonymous Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Kafka Authentication Method properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "54", + "kind": "enum", + "name": "DataflowEndpointAuthenticationSaslType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSaslType", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "56", + "kind": "enumvalue", + "name": "Plain", + "value": "Plain", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "54" + }, + "doc": "PLAIN Type", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "ScramSha256", + "value": "ScramSha256", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "54" + }, + "doc": "SCRAM_SHA_256 Type", + "decorators": [] + }, + { + "$id": "60", + "kind": "enumvalue", + "name": "ScramSha512", + "value": "ScramSha512", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "54" + }, + "doc": "SCRAM_SHA_512 Type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Authentication Sasl Type properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "62", + "kind": "enum", + "name": "IotOperationsOperationalMode", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.OperationalMode", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "64", + "kind": "enumvalue", + "name": "Enabled", + "value": "Enabled", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "62" + }, + "doc": "Enabled is equivalent to True", + "decorators": [] + }, + { + "$id": "66", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "62" + }, + "doc": "Disabled is equivalent to False.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Mode properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "68", + "kind": "enum", + "name": "DataflowEndpointKafkaCompression", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaCompression", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "70", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "68" + }, + "doc": "NONE Option", + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "Gzip", + "value": "Gzip", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "68" + }, + "doc": "Gzip Option", + "decorators": [] + }, + { + "$id": "74", + "kind": "enumvalue", + "name": "Snappy", + "value": "Snappy", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "68" + }, + "doc": "SNAPPY Option", + "decorators": [] + }, + { + "$id": "76", + "kind": "enumvalue", + "name": "Lz4", + "value": "Lz4", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "68" + }, + "doc": "LZ4 Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Kafka endpoint Compression properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "78", + "kind": "enum", + "name": "DataflowEndpointKafkaAcks", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAcks", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "80", + "kind": "enumvalue", + "name": "Zero", + "value": "Zero", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "78" + }, + "doc": "ZERO Option", + "decorators": [] + }, + { + "$id": "82", + "kind": "enumvalue", + "name": "One", + "value": "One", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "78" + }, + "doc": "ONE Option", + "decorators": [] + }, + { + "$id": "84", + "kind": "enumvalue", + "name": "All", + "value": "All", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "78" + }, + "doc": "ALL Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Kafka Acks properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "86", + "kind": "enum", + "name": "DataflowEndpointKafkaPartitionStrategy", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaPartitionStrategy", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "88", + "kind": "enumvalue", + "name": "Default", + "value": "Default", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "Default: Assigns messages to random partitions, using a round-robin algorithm.", + "decorators": [] + }, + { + "$id": "90", + "kind": "enumvalue", + "name": "Static", + "value": "Static", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow.", + "decorators": [] + }, + { + "$id": "92", + "kind": "enumvalue", + "name": "Topic", + "value": "Topic", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "TOPIC Option", + "decorators": [] + }, + { + "$id": "94", + "kind": "enumvalue", + "name": "Property", + "value": "Property", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "86" + }, + "doc": "PROPERTY Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Kafka Partition Strategy properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "96", + "kind": "enum", + "name": "CloudEventAttributeType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CloudEventAttributeType", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "98", + "kind": "enumvalue", + "name": "Propagate", + "value": "Propagate", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "96" + }, + "doc": "Propagate type", + "decorators": [] + }, + { + "$id": "100", + "kind": "enumvalue", + "name": "CreateOrRemap", + "value": "CreateOrRemap", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "96" + }, + "doc": "CreateOrRemap type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "How to map events to the cloud.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "102", + "kind": "enum", + "name": "MqttAuthMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.MqttAuthMethod", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "104", + "kind": "enumvalue", + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "102" + }, + "doc": "SystemAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "106", + "kind": "enumvalue", + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "102" + }, + "doc": "UserAssignedManagedIdentity type", + "decorators": [] + }, + { + "$id": "108", + "kind": "enumvalue", + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "102" + }, + "doc": "ServiceAccountToken Option", + "decorators": [] + }, + { + "$id": "110", + "kind": "enumvalue", + "name": "X509Certificate", + "value": "X509Certificate", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "102" + }, + "doc": "x509Certificate Option", + "decorators": [] + }, + { + "$id": "112", + "kind": "enumvalue", + "name": "Anonymous", + "value": "Anonymous", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "102" + }, + "doc": "Anonymous Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "DataflowEndpoint Mqtt Authentication Method properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "114", + "kind": "enum", + "name": "BrokerProtocolType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProtocolType", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "116", + "kind": "enumvalue", + "name": "Mqtt", + "value": "Mqtt", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "114" + }, + "doc": "protocol broker", + "decorators": [] + }, + { + "$id": "118", + "kind": "enumvalue", + "name": "WebSockets", + "value": "WebSockets", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "114" + }, + "doc": "protocol websocket", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Broker Protocol types", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "120", + "kind": "enum", + "name": "MqttRetainType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.MqttRetainType", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "122", + "kind": "enumvalue", + "name": "Keep", + "value": "Keep", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "120" + }, + "doc": "Retain the messages.", + "decorators": [] + }, + { + "$id": "124", + "kind": "enumvalue", + "name": "Never", + "value": "Never", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "120" + }, + "doc": "Never retain messages.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Broker Retain types", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "126", + "kind": "enum", + "name": "IotOperationsProvisioningState", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ProvisioningState", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "128", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "130", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "132", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + }, + { + "$id": "134", + "kind": "enumvalue", + "name": "Provisioning", + "value": "Provisioning", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource is getting provisioned.", + "decorators": [] + }, + { + "$id": "136", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource is Updating.", + "decorators": [] + }, + { + "$id": "138", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource is Deleting.", + "decorators": [] + }, + { + "$id": "140", + "kind": "enumvalue", + "name": "Accepted", + "value": "Accepted", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "126" + }, + "doc": "Resource has been Accepted.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The enum defining status of resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "142", + "kind": "enum", + "name": "IotOperationsExtendedLocationType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ExtendedLocationType", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "144", + "kind": "enumvalue", + "name": "CustomLocation", + "value": "CustomLocation", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "142" + }, + "doc": "CustomLocation type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The enum defining type of ExtendedLocation accepted.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "146", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "148", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "150", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "152", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "154", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "156", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "158", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "156" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "160", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "156" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "162", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "156" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "164", + "kind": "enum", + "name": "DataflowOperationType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.OperationType", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "166", + "kind": "enumvalue", + "name": "Source", + "value": "Source", + "valueType": { + "$id": "167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "164" + }, + "doc": "Dataflow Source Operation", + "decorators": [] + }, + { + "$id": "168", + "kind": "enumvalue", + "name": "Destination", + "value": "Destination", + "valueType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "164" + }, + "doc": "Dataflow Destination Operation", + "decorators": [] + }, + { + "$id": "170", + "kind": "enumvalue", + "name": "BuiltInTransformation", + "value": "BuiltInTransformation", + "valueType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "164" + }, + "doc": "Dataflow BuiltIn Transformation Operation", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Dataflow Operation Type properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "172", + "kind": "enum", + "name": "DataflowSourceSerializationFormat", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SourceSerializationFormat", + "valueType": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "174", + "kind": "enumvalue", + "name": "Json", + "value": "Json", + "valueType": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "172" + }, + "doc": "JSON Format", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Serialization Format properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "176", + "kind": "enum", + "name": "TransformationSerializationFormat", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TransformationSerializationFormat", + "valueType": { + "$id": "177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "178", + "kind": "enumvalue", + "name": "Delta", + "value": "Delta", + "valueType": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "176" + }, + "doc": "Delta Format", + "decorators": [] + }, + { + "$id": "180", + "kind": "enumvalue", + "name": "Json", + "value": "Json", + "valueType": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "176" + }, + "doc": "JSON Format", + "decorators": [] + }, + { + "$id": "182", + "kind": "enumvalue", + "name": "Parquet", + "value": "Parquet", + "valueType": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "176" + }, + "doc": "Parquet Format", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Transformation Format properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "184", + "kind": "enum", + "name": "DataflowFilterType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.FilterType", + "valueType": { + "$id": "185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "186", + "kind": "enumvalue", + "name": "Filter", + "value": "Filter", + "valueType": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "184" + }, + "doc": "Filter type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Filter Type properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "188", + "kind": "enum", + "name": "DataflowMappingType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowMappingType", + "valueType": { + "$id": "189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "190", + "kind": "enumvalue", + "name": "NewProperties", + "value": "NewProperties", + "valueType": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "188" + }, + "doc": "New Properties type", + "decorators": [] + }, + { + "$id": "192", + "kind": "enumvalue", + "name": "Rename", + "value": "Rename", + "valueType": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "188" + }, + "doc": "Rename type", + "decorators": [] + }, + { + "$id": "194", + "kind": "enumvalue", + "name": "Compute", + "value": "Compute", + "valueType": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "188" + }, + "doc": "Compute type", + "decorators": [] + }, + { + "$id": "196", + "kind": "enumvalue", + "name": "PassThrough", + "value": "PassThrough", + "valueType": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "188" + }, + "doc": "Pass-through type", + "decorators": [] + }, + { + "$id": "198", + "kind": "enumvalue", + "name": "BuiltInFunction", + "value": "BuiltInFunction", + "valueType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "188" + }, + "doc": "Built in function type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Dataflow type mapping properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "200", + "kind": "enum", + "name": "BrokerResourceDefinitionMethods", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResourceDefinitionMethods", + "valueType": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "202", + "kind": "enumvalue", + "name": "Connect", + "value": "Connect", + "valueType": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Allowed Connecting to Broker", + "decorators": [] + }, + { + "$id": "204", + "kind": "enumvalue", + "name": "Publish", + "value": "Publish", + "valueType": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Allowed Publishing to Broker", + "decorators": [] + }, + { + "$id": "206", + "kind": "enumvalue", + "name": "Subscribe", + "value": "Subscribe", + "valueType": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Allowed Subscribing to Broker", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "BrokerResourceDefinitionMethods methods allowed", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "208", + "kind": "enum", + "name": "StateStoreResourceKeyTypes", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceKeyTypes", + "valueType": { + "$id": "209", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "210", + "kind": "enumvalue", + "name": "Pattern", + "value": "Pattern", + "valueType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "208" + }, + "doc": "Key type - pattern", + "decorators": [] + }, + { + "$id": "212", + "kind": "enumvalue", + "name": "String", + "value": "String", + "valueType": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "208" + }, + "doc": "Key type - string", + "decorators": [] + }, + { + "$id": "214", + "kind": "enumvalue", + "name": "Binary", + "value": "Binary", + "valueType": { + "$id": "215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "208" + }, + "doc": "Key type - binary", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "StateStoreResourceKeyTypes properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "216", + "kind": "enum", + "name": "StateStoreResourceDefinitionMethods", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceDefinitionMethods", + "valueType": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "218", + "kind": "enumvalue", + "name": "Read", + "value": "Read", + "valueType": { + "$id": "219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "Get/KeyNotify from Store", + "decorators": [] + }, + { + "$id": "220", + "kind": "enumvalue", + "name": "Write", + "value": "Write", + "valueType": { + "$id": "221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "Set/Delete in Store", + "decorators": [] + }, + { + "$id": "222", + "kind": "enumvalue", + "name": "ReadWrite", + "value": "ReadWrite", + "valueType": { + "$id": "223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "Allowed all operations on Store - Get/KeyNotify/Set/Delete", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "StateStoreResourceDefinitionMethods methods allowed", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "224", + "kind": "enum", + "name": "BrokerAuthenticationMethod", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationMethod", + "valueType": { + "$id": "225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "226", + "kind": "enumvalue", + "name": "Custom", + "value": "Custom", + "valueType": { + "$id": "227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "224" + }, + "doc": "Custom authentication configuration.", + "decorators": [] + }, + { + "$id": "228", + "kind": "enumvalue", + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "valueType": { + "$id": "229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "224" + }, + "doc": "ServiceAccountToken authentication configuration.", + "decorators": [] + }, + { + "$id": "230", + "kind": "enumvalue", + "name": "X509", + "value": "X509", + "valueType": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "224" + }, + "doc": "X.509 authentication configuration.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Broker Authentication Mode", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "232", + "kind": "enum", + "name": "TlsCertMethodMode", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsCertMethodMode", + "valueType": { + "$id": "233", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "234", + "kind": "enumvalue", + "name": "Automatic", + "value": "Automatic", + "valueType": { + "$id": "235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "232" + }, + "doc": "Automatic TLS server certificate configuration.", + "decorators": [] + }, + { + "$id": "236", + "kind": "enumvalue", + "name": "Manual", + "value": "Manual", + "valueType": { + "$id": "237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "232" + }, + "doc": "Manual TLS server certificate configuration.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Broker Authentication Mode", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "238", + "kind": "enum", + "name": "CertManagerIssuerKind", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerIssuerKind", + "valueType": { + "$id": "239", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "240", + "kind": "enumvalue", + "name": "Issuer", + "value": "Issuer", + "valueType": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "238" + }, + "doc": "Issuer kind.", + "decorators": [] + }, + { + "$id": "242", + "kind": "enumvalue", + "name": "ClusterIssuer", + "value": "ClusterIssuer", + "valueType": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "238" + }, + "doc": "ClusterIssuer kind.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "CertManagerIssuerKind properties", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "244", + "kind": "enum", + "name": "PrivateKeyAlgorithm", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrivateKeyAlgorithm", + "valueType": { + "$id": "245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "246", + "kind": "enumvalue", + "name": "Ec256", + "value": "Ec256", + "valueType": { + "$id": "247", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - ec256.", + "decorators": [] + }, + { + "$id": "248", + "kind": "enumvalue", + "name": "Ec384", + "value": "Ec384", + "valueType": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - ec384.", + "decorators": [] + }, + { + "$id": "250", + "kind": "enumvalue", + "name": "Ec521", + "value": "Ec521", + "valueType": { + "$id": "251", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - ec521.", + "decorators": [] + }, + { + "$id": "252", + "kind": "enumvalue", + "name": "Ed25519", + "value": "Ed25519", + "valueType": { + "$id": "253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - ed25519.", + "decorators": [] + }, + { + "$id": "254", + "kind": "enumvalue", + "name": "Rsa2048", + "value": "Rsa2048", + "valueType": { + "$id": "255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - rsa2048.", + "decorators": [] + }, + { + "$id": "256", + "kind": "enumvalue", + "name": "Rsa4096", + "value": "Rsa4096", + "valueType": { + "$id": "257", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - rsa4096.", + "decorators": [] + }, + { + "$id": "258", + "kind": "enumvalue", + "name": "Rsa8192", + "value": "Rsa8192", + "valueType": { + "$id": "259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "244" + }, + "doc": "Algorithm - rsa8192.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Private key algorithm types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "260", + "kind": "enum", + "name": "PrivateKeyRotationPolicy", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrivateKeyRotationPolicy", + "valueType": { + "$id": "261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "262", + "kind": "enumvalue", + "name": "Always", + "value": "Always", + "valueType": { + "$id": "263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "260" + }, + "doc": "Rotation Policy - Always.", + "decorators": [] + }, + { + "$id": "264", + "kind": "enumvalue", + "name": "Never", + "value": "Never", + "valueType": { + "$id": "265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "260" + }, + "doc": "Rotation Policy - Never.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Private key rotation policy.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "266", + "kind": "enum", + "name": "BlockerListenerServiceType", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ServiceType", + "valueType": { + "$id": "267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "268", + "kind": "enumvalue", + "name": "ClusterIp", + "value": "ClusterIp", + "valueType": { + "$id": "269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "266" + }, + "doc": "Cluster IP Service.", + "decorators": [] + }, + { + "$id": "270", + "kind": "enumvalue", + "name": "LoadBalancer", + "value": "LoadBalancer", + "valueType": { + "$id": "271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "266" + }, + "doc": "Load Balancer Service.", + "decorators": [] + }, + { + "$id": "272", + "kind": "enumvalue", + "name": "NodePort", + "value": "NodePort", + "valueType": { + "$id": "273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "266" + }, + "doc": "Node Port Service.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Kubernetes Service Types supported by Listener", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "274", + "kind": "enum", + "name": "SubscriberMessageDropStrategy", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SubscriberMessageDropStrategy", + "valueType": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "276", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "274" + }, + "doc": "Messages are never dropped.", + "decorators": [] + }, + { + "$id": "278", + "kind": "enumvalue", + "name": "DropOldest", + "value": "DropOldest", + "valueType": { + "$id": "279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "274" + }, + "doc": "The oldest message is dropped.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The enum defining strategies for dropping messages from the subscriber queue.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "280", + "kind": "enum", + "name": "BrokerOperatorValues", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.OperatorValues", + "valueType": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "282", + "kind": "enumvalue", + "name": "In", + "value": "In", + "valueType": { + "$id": "283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "280" + }, + "doc": "In operator.", + "decorators": [] + }, + { + "$id": "284", + "kind": "enumvalue", + "name": "NotIn", + "value": "NotIn", + "valueType": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "280" + }, + "doc": "NotIn operator.", + "decorators": [] + }, + { + "$id": "286", + "kind": "enumvalue", + "name": "Exists", + "value": "Exists", + "valueType": { + "$id": "287", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "280" + }, + "doc": "Exists operator.", + "decorators": [] + }, + { + "$id": "288", + "kind": "enumvalue", + "name": "DoesNotExist", + "value": "DoesNotExist", + "valueType": { + "$id": "289", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "280" + }, + "doc": "DoesNotExist operator.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Valid operators are In, NotIn, Exists and DoesNotExist.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "290", + "kind": "enum", + "name": "BrokerMemoryProfile", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerMemoryProfile", + "valueType": { + "$id": "291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "292", + "kind": "enumvalue", + "name": "Tiny", + "value": "Tiny", + "valueType": { + "$id": "293", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "290" + }, + "doc": "Tiny memory profile.", + "decorators": [] + }, + { + "$id": "294", + "kind": "enumvalue", + "name": "Low", + "value": "Low", + "valueType": { + "$id": "295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "290" + }, + "doc": "Low memory profile.", + "decorators": [] + }, + { + "$id": "296", + "kind": "enumvalue", + "name": "Medium", + "value": "Medium", + "valueType": { + "$id": "297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "290" + }, + "doc": "Medium memory profile.", + "decorators": [] + }, + { + "$id": "298", + "kind": "enumvalue", + "name": "High", + "value": "High", + "valueType": { + "$id": "299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "290" + }, + "doc": "High memory profile.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The memory profile settings of the Broker", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "300", + "kind": "enum", + "name": "InstanceFeatureMode", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceFeatureMode", + "valueType": { + "$id": "301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "302", + "kind": "enumvalue", + "name": "Stable", + "value": "Stable", + "valueType": { + "$id": "303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "300" + }, + "doc": "Opt in to enable a stable feature", + "decorators": [] + }, + { + "$id": "304", + "kind": "enumvalue", + "name": "Preview", + "value": "Preview", + "valueType": { + "$id": "305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "300" + }, + "doc": "Opt in to enable a preview feature", + "decorators": [] + }, + { + "$id": "306", + "kind": "enumvalue", + "name": "Disabled", + "value": "Disabled", + "valueType": { + "$id": "307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "300" + }, + "doc": "Opt out of a feature", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "The enum defining mode of a feature.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "308", + "kind": "enum", + "name": "ManagedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "valueType": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "310", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "311", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "308" + }, + "doc": "No managed identity.", + "decorators": [] + }, + { + "$id": "312", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "308" + }, + "doc": "System assigned managed identity.", + "decorators": [] + }, + { + "$id": "314", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$id": "315", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "308" + }, + "doc": "User assigned managed identity.", + "decorators": [] + }, + { + "$id": "316", + "kind": "enumvalue", + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned", + "valueType": { + "$id": "317", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "308" + }, + "doc": "System and user assigned managed identity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "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": "318", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "319", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "320", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$id": "321", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "318" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "322", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$id": "323", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "318" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "324", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$id": "325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "318" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "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": "326", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "327", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "328", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$id": "329", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "326" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "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": "330", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Versions", + "valueType": { + "$id": "331", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "332", + "kind": "enumvalue", + "name": "2024-11-01", + "value": "2024-11-01", + "valueType": { + "$id": "333", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "330" + }, + "doc": "2024-11-01 version", + "decorators": [] + }, + { + "$id": "334", + "kind": "enumvalue", + "name": "2025-04-01", + "value": "2025-04-01", + "valueType": { + "$id": "335", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "330" + }, + "doc": "2025-04-01 version", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Api versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "models": [ + { + "$id": "336", + "kind": "model", + "name": "IotOperationsDataflowEndpoint", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance dataflowEndpoint resource", + "decorators": [], + "baseModel": { + "$id": "337", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.IotOperations", + "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", + "decorators": [], + "baseModel": { + "$id": "338", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.IotOperations", + "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", + "decorators": [], + "properties": [ + { + "$id": "339", + "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": "340", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "341", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", + "serializationOptions": { + "$id": "342", + "json": { + "$id": "343", + "name": "id" + } + } + }, + { + "$id": "344", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "$id": "346", + "json": { + "$id": "347", + "name": "name" + } + } + }, + { + "$id": "348", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "349", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", + "serializationOptions": { + "$id": "351", + "json": { + "$id": "352", + "name": "type" + } + } + }, + { + "$id": "353", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "354", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "355", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "356", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "$id": "357", + "json": { + "$id": "358", + "name": "createdBy" + } + } + }, + { + "$id": "359", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "146" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "$id": "360", + "json": { + "$id": "361", + "name": "createdByType" + } + } + }, + { + "$id": "362", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "363", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", + "serializationOptions": { + "$id": "365", + "json": { + "$id": "366", + "name": "createdAt" + } + } + }, + { + "$id": "367", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "$id": "369", + "json": { + "$id": "370", + "name": "lastModifiedBy" + } + } + }, + { + "$id": "371", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "146" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "$id": "372", + "json": { + "$id": "373", + "name": "lastModifiedByType" + } + } + }, + { + "$id": "374", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "375", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "376", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", + "serializationOptions": { + "$id": "377", + "json": { + "$id": "378", + "name": "lastModifiedAt" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "$id": "379", + "json": { + "$id": "380", + "name": "systemData" + } + } + } + ] + }, + "properties": [] + }, + "properties": [ + { + "$id": "381", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "382", + "kind": "model", + "name": "IotOperationsDataflowEndpointProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource", + "decorators": [], + "properties": [ + { + "$id": "383", + "kind": "property", + "name": "endpointType", + "serializedName": "endpointType", + "doc": "Endpoint Type.", + "type": { + "$ref": "2" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.endpointType", + "serializationOptions": { + "$id": "384", + "json": { + "$id": "385", + "name": "endpointType" + } + } + }, + { + "$id": "386", + "kind": "property", + "name": "dataExplorerSettings", + "serializedName": "dataExplorerSettings", + "doc": "Azure Data Explorer endpoint.", + "type": { + "$id": "387", + "kind": "model", + "name": "DataflowEndpointDataExplorer", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorer", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Azure Data Explorer endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "388", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Authentication configuration. NOTE - only authentication property is allowed per entry.", + "type": { + "$id": "389", + "kind": "model", + "name": "DataflowEndpointDataExplorerAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorerAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed per entry.", + "decorators": [], + "properties": [ + { + "$id": "390", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Mode of Authentication.", + "type": { + "$ref": "16" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorerAuthentication.method", + "serializationOptions": { + "$id": "391", + "json": { + "$id": "392", + "name": "method" + } + } + }, + { + "$id": "393", + "kind": "property", + "name": "systemAssignedManagedIdentitySettings", + "serializedName": "systemAssignedManagedIdentitySettings", + "doc": "System-assigned managed identity authentication.", + "type": { + "$id": "394", + "kind": "model", + "name": "DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Authentication SystemAssignedManagedIdentity properties", + "decorators": [], + "properties": [ + { + "$id": "395", + "kind": "property", + "name": "audience", + "serializedName": "audience", + "doc": "Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.", + "type": { + "$id": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSystemAssignedManagedIdentity.audience", + "serializationOptions": { + "$id": "397", + "json": { + "$id": "398", + "name": "audience" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorerAuthentication.systemAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "399", + "json": { + "$id": "400", + "name": "systemAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "401", + "kind": "property", + "name": "userAssignedManagedIdentitySettings", + "serializedName": "userAssignedManagedIdentitySettings", + "doc": "User-assigned managed identity authentication.", + "type": { + "$id": "402", + "kind": "model", + "name": "DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Authentication UserAssignedManagedIdentity properties", + "decorators": [], + "properties": [ + { + "$id": "403", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "Client ID for the user-assigned managed identity.", + "type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationUserAssignedManagedIdentity.clientId", + "serializationOptions": { + "$id": "405", + "json": { + "$id": "406", + "name": "clientId" + } + } + }, + { + "$id": "407", + "kind": "property", + "name": "scope", + "serializedName": "scope", + "doc": "Resource identifier (application ID URI) of the resource, affixed with the .default suffix.", + "type": { + "$id": "408", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationUserAssignedManagedIdentity.scope", + "serializationOptions": { + "$id": "409", + "json": { + "$id": "410", + "name": "scope" + } + } + }, + { + "$id": "411", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "Tenant ID.", + "type": { + "$id": "412", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationUserAssignedManagedIdentity.tenantId", + "serializationOptions": { + "$id": "413", + "json": { + "$id": "414", + "name": "tenantId" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorerAuthentication.userAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "415", + "json": { + "$id": "416", + "name": "userAssignedManagedIdentitySettings" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorer.authentication", + "serializationOptions": { + "$id": "417", + "json": { + "$id": "418", + "name": "authentication" + } + } + }, + { + "$id": "419", + "kind": "property", + "name": "database", + "serializedName": "database", + "doc": "Database name.", + "type": { + "$id": "420", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorer.database", + "serializationOptions": { + "$id": "421", + "json": { + "$id": "422", + "name": "database" + } + } + }, + { + "$id": "423", + "kind": "property", + "name": "host", + "serializedName": "host", + "doc": "Host of the Azure Data Explorer in the form of ..kusto.windows.net .", + "type": { + "$id": "424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorer.host", + "serializationOptions": { + "$id": "425", + "json": { + "$id": "426", + "name": "host" + } + } + }, + { + "$id": "427", + "kind": "property", + "name": "batching", + "serializedName": "batching", + "doc": "Azure Data Explorer endpoint batching configuration.", + "type": { + "$id": "428", + "kind": "model", + "name": "IotOperationsBatchingConfig", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BatchingConfiguration", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Batching configuration", + "decorators": [], + "properties": [ + { + "$id": "429", + "kind": "property", + "name": "latencySeconds", + "serializedName": "latencySeconds", + "doc": "Batching latency in seconds.", + "type": { + "$id": "430", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BatchingConfiguration.latencySeconds", + "serializationOptions": { + "$id": "431", + "json": { + "$id": "432", + "name": "latencySeconds" + } + } + }, + { + "$id": "433", + "kind": "property", + "name": "maxMessages", + "serializedName": "maxMessages", + "doc": "Maximum number of messages in a batch.", + "type": { + "$id": "434", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BatchingConfiguration.maxMessages", + "serializationOptions": { + "$id": "435", + "json": { + "$id": "436", + "name": "maxMessages" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataExplorer.batching", + "serializationOptions": { + "$id": "437", + "json": { + "$id": "438", + "name": "batching" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.dataExplorerSettings", + "serializationOptions": { + "$id": "439", + "json": { + "$id": "440", + "name": "dataExplorerSettings" + } + } + }, + { + "$id": "441", + "kind": "property", + "name": "dataLakeStorageSettings", + "serializedName": "dataLakeStorageSettings", + "doc": "Azure Data Lake endpoint.", + "type": { + "$id": "442", + "kind": "model", + "name": "DataflowEndpointDataLakeStorage", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorage", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Azure Data Lake endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "443", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Authentication configuration. NOTE - only authentication property is allowed per entry.", + "type": { + "$id": "444", + "kind": "model", + "name": "DataflowEndpointDataLakeStorageAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorageAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Azure Data Lake endpoint Authentication properties. NOTE Enum - Only one method is supported for one entry", + "decorators": [], + "properties": [ + { + "$id": "445", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Mode of Authentication.", + "type": { + "$ref": "22" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorageAuthentication.method", + "serializationOptions": { + "$id": "446", + "json": { + "$id": "447", + "name": "method" + } + } + }, + { + "$id": "448", + "kind": "property", + "name": "accessTokenSettings", + "serializedName": "accessTokenSettings", + "doc": "SAS token authentication.", + "type": { + "$id": "449", + "kind": "model", + "name": "DataflowEndpointAuthenticationAccessToken", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationAccessToken", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Authentication Access Token properties", + "decorators": [], + "properties": [ + { + "$id": "450", + "kind": "property", + "name": "secretRef", + "serializedName": "secretRef", + "doc": "Token secret name.", + "type": { + "$id": "451", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationAccessToken.secretRef", + "serializationOptions": { + "$id": "452", + "json": { + "$id": "453", + "name": "secretRef" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorageAuthentication.accessTokenSettings", + "serializationOptions": { + "$id": "454", + "json": { + "$id": "455", + "name": "accessTokenSettings" + } + } + }, + { + "$id": "456", + "kind": "property", + "name": "systemAssignedManagedIdentitySettings", + "serializedName": "systemAssignedManagedIdentitySettings", + "doc": "System-assigned managed identity authentication.", + "type": { + "$ref": "394" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorageAuthentication.systemAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "457", + "json": { + "$id": "458", + "name": "systemAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "459", + "kind": "property", + "name": "userAssignedManagedIdentitySettings", + "serializedName": "userAssignedManagedIdentitySettings", + "doc": "User-assigned managed identity authentication.", + "type": { + "$ref": "402" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorageAuthentication.userAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "460", + "json": { + "$id": "461", + "name": "userAssignedManagedIdentitySettings" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorage.authentication", + "serializationOptions": { + "$id": "462", + "json": { + "$id": "463", + "name": "authentication" + } + } + }, + { + "$id": "464", + "kind": "property", + "name": "host", + "serializedName": "host", + "doc": "Host of the Azure Data Lake in the form of .blob.core.windows.net .", + "type": { + "$id": "465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorage.host", + "serializationOptions": { + "$id": "466", + "json": { + "$id": "467", + "name": "host" + } + } + }, + { + "$id": "468", + "kind": "property", + "name": "batching", + "serializedName": "batching", + "doc": "Azure Data Lake endpoint batching configuration.", + "type": { + "$ref": "428" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointDataLakeStorage.batching", + "serializationOptions": { + "$id": "469", + "json": { + "$id": "470", + "name": "batching" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.dataLakeStorageSettings", + "serializationOptions": { + "$id": "471", + "json": { + "$id": "472", + "name": "dataLakeStorageSettings" + } + } + }, + { + "$id": "473", + "kind": "property", + "name": "fabricOneLakeSettings", + "serializedName": "fabricOneLakeSettings", + "doc": "Microsoft Fabric endpoint.", + "type": { + "$id": "474", + "kind": "model", + "name": "DataflowEndpointFabricOneLake", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Microsoft Fabric endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "475", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Authentication configuration. NOTE - only one authentication property is allowed per entry.", + "type": { + "$id": "476", + "kind": "model", + "name": "DataflowEndpointFabricOneLakeAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Microsoft Fabric endpoint. Authentication properties. NOTE - Only one method is supported for one entry", + "decorators": [], + "properties": [ + { + "$id": "477", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Mode of Authentication.", + "type": { + "$ref": "30" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeAuthentication.method", + "serializationOptions": { + "$id": "478", + "json": { + "$id": "479", + "name": "method" + } + } + }, + { + "$id": "480", + "kind": "property", + "name": "systemAssignedManagedIdentitySettings", + "serializedName": "systemAssignedManagedIdentitySettings", + "doc": "System-assigned managed identity authentication.", + "type": { + "$ref": "394" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeAuthentication.systemAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "481", + "json": { + "$id": "482", + "name": "systemAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "483", + "kind": "property", + "name": "userAssignedManagedIdentitySettings", + "serializedName": "userAssignedManagedIdentitySettings", + "doc": "User-assigned managed identity authentication.", + "type": { + "$ref": "402" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeAuthentication.userAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "484", + "json": { + "$id": "485", + "name": "userAssignedManagedIdentitySettings" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake.authentication", + "serializationOptions": { + "$id": "486", + "json": { + "$id": "487", + "name": "authentication" + } + } + }, + { + "$id": "488", + "kind": "property", + "name": "names", + "serializedName": "names", + "doc": "Names of the workspace and lakehouse.", + "type": { + "$id": "489", + "kind": "model", + "name": "DataflowEndpointFabricOneLakeNames", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeNames", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Microsoft Fabric endpoint Names properties", + "decorators": [], + "properties": [ + { + "$id": "490", + "kind": "property", + "name": "lakehouseName", + "serializedName": "lakehouseName", + "doc": "Lakehouse name.", + "type": { + "$id": "491", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeNames.lakehouseName", + "serializationOptions": { + "$id": "492", + "json": { + "$id": "493", + "name": "lakehouseName" + } + } + }, + { + "$id": "494", + "kind": "property", + "name": "workspaceName", + "serializedName": "workspaceName", + "doc": "Workspace name.", + "type": { + "$id": "495", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLakeNames.workspaceName", + "serializationOptions": { + "$id": "496", + "json": { + "$id": "497", + "name": "workspaceName" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake.names", + "serializationOptions": { + "$id": "498", + "json": { + "$id": "499", + "name": "names" + } + } + }, + { + "$id": "500", + "kind": "property", + "name": "oneLakePathType", + "serializedName": "oneLakePathType", + "doc": "Type of location of the data in the workspace. Can be either tables or files.", + "type": { + "$ref": "36" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake.oneLakePathType", + "serializationOptions": { + "$id": "501", + "json": { + "$id": "502", + "name": "oneLakePathType" + } + } + }, + { + "$id": "503", + "kind": "property", + "name": "host", + "serializedName": "host", + "doc": "Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.", + "type": { + "$id": "504", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake.host", + "serializationOptions": { + "$id": "505", + "json": { + "$id": "506", + "name": "host" + } + } + }, + { + "$id": "507", + "kind": "property", + "name": "batching", + "serializedName": "batching", + "doc": "Batching configuration.", + "type": { + "$ref": "428" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointFabricOneLake.batching", + "serializationOptions": { + "$id": "508", + "json": { + "$id": "509", + "name": "batching" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.fabricOneLakeSettings", + "serializationOptions": { + "$id": "510", + "json": { + "$id": "511", + "name": "fabricOneLakeSettings" + } + } + }, + { + "$id": "512", + "kind": "property", + "name": "kafkaSettings", + "serializedName": "kafkaSettings", + "doc": "Kafka endpoint.", + "type": { + "$id": "513", + "kind": "model", + "name": "DataflowEndpointKafka", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Kafka endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "514", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "Authentication configuration. NOTE - only authentication property is allowed per entry.", + "type": { + "$id": "515", + "kind": "model", + "name": "DataflowEndpointKafkaAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Kafka endpoint Authentication properties. NOTE - only authentication property is allowed per entry", + "decorators": [], + "properties": [ + { + "$id": "516", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Mode of Authentication.", + "type": { + "$ref": "42" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication.method", + "serializationOptions": { + "$id": "517", + "json": { + "$id": "518", + "name": "method" + } + } + }, + { + "$id": "519", + "kind": "property", + "name": "systemAssignedManagedIdentitySettings", + "serializedName": "systemAssignedManagedIdentitySettings", + "doc": "System-assigned managed identity authentication.", + "type": { + "$ref": "394" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication.systemAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "520", + "json": { + "$id": "521", + "name": "systemAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "522", + "kind": "property", + "name": "userAssignedManagedIdentitySettings", + "serializedName": "userAssignedManagedIdentitySettings", + "doc": "User-assigned managed identity authentication.", + "type": { + "$ref": "402" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication.userAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "523", + "json": { + "$id": "524", + "name": "userAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "525", + "kind": "property", + "name": "saslSettings", + "serializedName": "saslSettings", + "doc": "SASL authentication.", + "type": { + "$id": "526", + "kind": "model", + "name": "DataflowEndpointAuthenticationSasl", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSasl", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Authentication Sasl properties", + "decorators": [], + "properties": [ + { + "$id": "527", + "kind": "property", + "name": "saslType", + "serializedName": "saslType", + "doc": "Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.", + "type": { + "$ref": "54" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSasl.saslType", + "serializationOptions": { + "$id": "528", + "json": { + "$id": "529", + "name": "saslType" + } + } + }, + { + "$id": "530", + "kind": "property", + "name": "secretRef", + "serializedName": "secretRef", + "doc": "Token secret name.", + "type": { + "$id": "531", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationSasl.secretRef", + "serializationOptions": { + "$id": "532", + "json": { + "$id": "533", + "name": "secretRef" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication.saslSettings", + "serializationOptions": { + "$id": "534", + "json": { + "$id": "535", + "name": "saslSettings" + } + } + }, + { + "$id": "536", + "kind": "property", + "name": "x509CertificateSettings", + "serializedName": "x509CertificateSettings", + "doc": "X.509 certificate authentication.", + "type": { + "$id": "537", + "kind": "model", + "name": "DataflowEndpointAuthenticationX509", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationX509", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowEndpoint Authentication X509 properties", + "decorators": [], + "properties": [ + { + "$id": "538", + "kind": "property", + "name": "secretRef", + "serializedName": "secretRef", + "doc": "Secret reference of the X.509 certificate.", + "type": { + "$id": "539", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationX509.secretRef", + "serializationOptions": { + "$id": "540", + "json": { + "$id": "541", + "name": "secretRef" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaAuthentication.x509CertificateSettings", + "serializationOptions": { + "$id": "542", + "json": { + "$id": "543", + "name": "x509CertificateSettings" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.authentication", + "serializationOptions": { + "$id": "544", + "json": { + "$id": "545", + "name": "authentication" + } + } + }, + { + "$id": "546", + "kind": "property", + "name": "consumerGroupId", + "serializedName": "consumerGroupId", + "doc": "Consumer group ID.", + "type": { + "$id": "547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.consumerGroupId", + "serializationOptions": { + "$id": "548", + "json": { + "$id": "549", + "name": "consumerGroupId" + } + } + }, + { + "$id": "550", + "kind": "property", + "name": "host", + "serializedName": "host", + "doc": "Kafka endpoint host.", + "type": { + "$id": "551", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.host", + "serializationOptions": { + "$id": "552", + "json": { + "$id": "553", + "name": "host" + } + } + }, + { + "$id": "554", + "kind": "property", + "name": "batching", + "serializedName": "batching", + "doc": "Batching configuration.", + "type": { + "$id": "555", + "kind": "model", + "name": "DataflowEndpointKafkaBatching", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaBatching", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Kafka endpoint Batching properties", + "decorators": [], + "properties": [ + { + "$id": "556", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Mode for batching.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaBatching.mode", + "serializationOptions": { + "$id": "557", + "json": { + "$id": "558", + "name": "mode" + } + } + }, + { + "$id": "559", + "kind": "property", + "name": "latencyMs", + "serializedName": "latencyMs", + "doc": "Batching latency in milliseconds.", + "type": { + "$id": "560", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaBatching.latencyMs", + "serializationOptions": { + "$id": "561", + "json": { + "$id": "562", + "name": "latencyMs" + } + } + }, + { + "$id": "563", + "kind": "property", + "name": "maxBytes", + "serializedName": "maxBytes", + "doc": "Maximum number of bytes in a batch.", + "type": { + "$id": "564", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaBatching.maxBytes", + "serializationOptions": { + "$id": "565", + "json": { + "$id": "566", + "name": "maxBytes" + } + } + }, + { + "$id": "567", + "kind": "property", + "name": "maxMessages", + "serializedName": "maxMessages", + "doc": "Maximum number of messages in a batch.", + "type": { + "$id": "568", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafkaBatching.maxMessages", + "serializationOptions": { + "$id": "569", + "json": { + "$id": "570", + "name": "maxMessages" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.batching", + "serializationOptions": { + "$id": "571", + "json": { + "$id": "572", + "name": "batching" + } + } + }, + { + "$id": "573", + "kind": "property", + "name": "copyMqttProperties", + "serializedName": "copyMqttProperties", + "doc": "Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow doesn't have an Broker source.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.copyMqttProperties", + "serializationOptions": { + "$id": "574", + "json": { + "$id": "575", + "name": "copyMqttProperties" + } + } + }, + { + "$id": "576", + "kind": "property", + "name": "compression", + "serializedName": "compression", + "doc": "Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source.", + "type": { + "$ref": "68" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.compression", + "serializationOptions": { + "$id": "577", + "json": { + "$id": "578", + "name": "compression" + } + } + }, + { + "$id": "579", + "kind": "property", + "name": "kafkaAcks", + "serializedName": "kafkaAcks", + "doc": "Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source.", + "type": { + "$ref": "78" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.kafkaAcks", + "serializationOptions": { + "$id": "580", + "json": { + "$id": "581", + "name": "kafkaAcks" + } + } + }, + { + "$id": "582", + "kind": "property", + "name": "partitionStrategy", + "serializedName": "partitionStrategy", + "doc": "Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source.", + "type": { + "$ref": "86" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.partitionStrategy", + "serializationOptions": { + "$id": "583", + "json": { + "$id": "584", + "name": "partitionStrategy" + } + } + }, + { + "$id": "585", + "kind": "property", + "name": "tls", + "serializedName": "tls", + "doc": "TLS configuration.", + "type": { + "$id": "586", + "kind": "model", + "name": "IotOperationsTlsProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Tls properties", + "decorators": [], + "properties": [ + { + "$id": "587", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Mode for TLS.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsProperties.mode", + "serializationOptions": { + "$id": "588", + "json": { + "$id": "589", + "name": "mode" + } + } + }, + { + "$id": "590", + "kind": "property", + "name": "trustedCaCertificateConfigMapRef", + "serializedName": "trustedCaCertificateConfigMapRef", + "doc": "Trusted CA certificate config map.", + "type": { + "$id": "591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsProperties.trustedCaCertificateConfigMapRef", + "serializationOptions": { + "$id": "592", + "json": { + "$id": "593", + "name": "trustedCaCertificateConfigMapRef" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.tls", + "serializationOptions": { + "$id": "594", + "json": { + "$id": "595", + "name": "tls" + } + } + }, + { + "$id": "596", + "kind": "property", + "name": "cloudEventAttributes", + "serializedName": "cloudEventAttributes", + "doc": "Cloud event mapping config.", + "type": { + "$ref": "96" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointKafka.cloudEventAttributes", + "serializationOptions": { + "$id": "597", + "json": { + "$id": "598", + "name": "cloudEventAttributes" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.kafkaSettings", + "serializationOptions": { + "$id": "599", + "json": { + "$id": "600", + "name": "kafkaSettings" + } + } + }, + { + "$id": "601", + "kind": "property", + "name": "localStorageSettings", + "serializedName": "localStorageSettings", + "doc": "Local persistent volume endpoint.", + "type": { + "$id": "602", + "kind": "model", + "name": "DataflowEndpointLocalStorage", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointLocalStorage", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Local persistent volume endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "603", + "kind": "property", + "name": "persistentVolumeClaimRef", + "serializedName": "persistentVolumeClaimRef", + "doc": "Persistent volume claim name.", + "type": { + "$id": "604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointLocalStorage.persistentVolumeClaimRef", + "serializationOptions": { + "$id": "605", + "json": { + "$id": "606", + "name": "persistentVolumeClaimRef" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.localStorageSettings", + "serializationOptions": { + "$id": "607", + "json": { + "$id": "608", + "name": "localStorageSettings" + } + } + }, + { + "$id": "609", + "kind": "property", + "name": "mqttSettings", + "serializedName": "mqttSettings", + "doc": "Broker endpoint.", + "type": { + "$id": "610", + "kind": "model", + "name": "DataflowEndpointMqtt", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker endpoint properties", + "decorators": [], + "properties": [ + { + "$id": "611", + "kind": "property", + "name": "authentication", + "serializedName": "authentication", + "doc": "authentication properties. DEFAULT: kubernetes.audience=aio-internal. NOTE - Enum field only property is allowed", + "type": { + "$id": "612", + "kind": "model", + "name": "DataflowEndpointMqttAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Mqtt endpoint Authentication properties. NOTE - only authentication property is allowed per entry.", + "decorators": [], + "properties": [ + { + "$id": "613", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Mode of Authentication.", + "type": { + "$ref": "102" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication.method", + "serializationOptions": { + "$id": "614", + "json": { + "$id": "615", + "name": "method" + } + } + }, + { + "$id": "616", + "kind": "property", + "name": "systemAssignedManagedIdentitySettings", + "serializedName": "systemAssignedManagedIdentitySettings", + "doc": "System-assigned managed identity authentication.", + "type": { + "$ref": "394" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication.systemAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "617", + "json": { + "$id": "618", + "name": "systemAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "619", + "kind": "property", + "name": "userAssignedManagedIdentitySettings", + "serializedName": "userAssignedManagedIdentitySettings", + "doc": "User-assigned managed identity authentication.", + "type": { + "$ref": "402" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication.userAssignedManagedIdentitySettings", + "serializationOptions": { + "$id": "620", + "json": { + "$id": "621", + "name": "userAssignedManagedIdentitySettings" + } + } + }, + { + "$id": "622", + "kind": "property", + "name": "serviceAccountTokenSettings", + "serializedName": "serviceAccountTokenSettings", + "doc": "Kubernetes service account token authentication. Default audience if not set is aio-internal", + "type": { + "$id": "623", + "kind": "model", + "name": "DataflowEndpointAuthenticationServiceAccountToken", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationServiceAccountToken", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Service Account Token for BrokerAuthentication", + "decorators": [], + "properties": [ + { + "$id": "624", + "kind": "property", + "name": "audience", + "serializedName": "audience", + "doc": "Audience of the service account. Optional, defaults to the broker internal service account audience.", + "type": { + "$id": "625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointAuthenticationServiceAccountToken.audience", + "serializationOptions": { + "$id": "626", + "json": { + "$id": "627", + "name": "audience" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication.serviceAccountTokenSettings", + "serializationOptions": { + "$id": "628", + "json": { + "$id": "629", + "name": "serviceAccountTokenSettings" + } + } + }, + { + "$id": "630", + "kind": "property", + "name": "x509CertificateSettings", + "serializedName": "x509CertificateSettings", + "doc": "X.509 certificate authentication.", + "type": { + "$ref": "537" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqttAuthentication.x509CertificateSettings", + "serializationOptions": { + "$id": "631", + "json": { + "$id": "632", + "name": "x509CertificateSettings" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.authentication", + "serializationOptions": { + "$id": "633", + "json": { + "$id": "634", + "name": "authentication" + } + } + }, + { + "$id": "635", + "kind": "property", + "name": "clientIdPrefix", + "serializedName": "clientIdPrefix", + "doc": "Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if omitted.", + "type": { + "$id": "636", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.clientIdPrefix", + "serializationOptions": { + "$id": "637", + "json": { + "$id": "638", + "name": "clientIdPrefix" + } + } + }, + { + "$id": "639", + "kind": "property", + "name": "host", + "serializedName": "host", + "doc": "Host of the Broker in the form of :. Optional; connects to Broker if omitted.", + "type": { + "$id": "640", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.host", + "serializationOptions": { + "$id": "641", + "json": { + "$id": "642", + "name": "host" + } + } + }, + { + "$id": "643", + "kind": "property", + "name": "protocol", + "serializedName": "protocol", + "doc": "Enable or disable websockets.", + "type": { + "$ref": "114" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.protocol", + "serializationOptions": { + "$id": "644", + "json": { + "$id": "645", + "name": "protocol" + } + } + }, + { + "$id": "646", + "kind": "property", + "name": "keepAliveSeconds", + "serializedName": "keepAliveSeconds", + "doc": "Broker KeepAlive for connection in seconds.", + "type": { + "$id": "647", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.keepAliveSeconds", + "serializationOptions": { + "$id": "648", + "json": { + "$id": "649", + "name": "keepAliveSeconds" + } + } + }, + { + "$id": "650", + "kind": "property", + "name": "retain", + "serializedName": "retain", + "doc": "Whether or not to keep the retain setting.", + "type": { + "$ref": "120" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.retain", + "serializationOptions": { + "$id": "651", + "json": { + "$id": "652", + "name": "retain" + } + } + }, + { + "$id": "653", + "kind": "property", + "name": "maxInflightMessages", + "serializedName": "maxInflightMessages", + "doc": "The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack.", + "type": { + "$id": "654", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.maxInflightMessages", + "serializationOptions": { + "$id": "655", + "json": { + "$id": "656", + "name": "maxInflightMessages" + } + } + }, + { + "$id": "657", + "kind": "property", + "name": "qos", + "serializedName": "qos", + "doc": "Qos for Broker connection.", + "type": { + "$id": "658", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.qos", + "serializationOptions": { + "$id": "659", + "json": { + "$id": "660", + "name": "qos" + } + } + }, + { + "$id": "661", + "kind": "property", + "name": "sessionExpirySeconds", + "serializedName": "sessionExpirySeconds", + "doc": "Session expiry in seconds.", + "type": { + "$id": "662", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.sessionExpirySeconds", + "serializationOptions": { + "$id": "663", + "json": { + "$id": "664", + "name": "sessionExpirySeconds" + } + } + }, + { + "$id": "665", + "kind": "property", + "name": "tls", + "serializedName": "tls", + "doc": "TLS configuration.", + "type": { + "$ref": "586" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.tls", + "serializationOptions": { + "$id": "666", + "json": { + "$id": "667", + "name": "tls" + } + } + }, + { + "$id": "668", + "kind": "property", + "name": "cloudEventAttributes", + "serializedName": "cloudEventAttributes", + "doc": "Cloud event mapping config.", + "type": { + "$ref": "96" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointMqtt.cloudEventAttributes", + "serializationOptions": { + "$id": "669", + "json": { + "$id": "670", + "name": "cloudEventAttributes" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.mqttSettings", + "serializationOptions": { + "$id": "671", + "json": { + "$id": "672", + "name": "mqttSettings" + } + } + }, + { + "$id": "673", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointProperties.provisioningState", + "serializationOptions": { + "$id": "674", + "json": { + "$id": "675", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointResource.properties", + "serializationOptions": { + "$id": "676", + "json": { + "$id": "677", + "name": "properties" + } + } + }, + { + "$id": "678", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$id": "679", + "kind": "model", + "name": "IotOperationsExtendedLocation", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ExtendedLocation", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.", + "decorators": [], + "properties": [ + { + "$id": "680", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the extended location.", + "type": { + "$id": "681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ExtendedLocation.name", + "serializationOptions": { + "$id": "682", + "json": { + "$id": "683", + "name": "name" + } + } + }, + { + "$id": "684", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of ExtendedLocation.", + "type": { + "$ref": "142" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ExtendedLocation.type", + "serializationOptions": { + "$id": "685", + "json": { + "$id": "686", + "name": "type" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpointResource.extendedLocation", + "serializationOptions": { + "$id": "687", + "json": { + "$id": "688", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "382" + }, + { + "$ref": "387" + }, + { + "$ref": "389" + }, + { + "$ref": "394" + }, + { + "$ref": "402" + }, + { + "$ref": "428" + }, + { + "$ref": "442" + }, + { + "$ref": "444" + }, + { + "$ref": "449" + }, + { + "$ref": "474" + }, + { + "$ref": "476" + }, + { + "$ref": "489" + }, + { + "$ref": "513" + }, + { + "$ref": "515" + }, + { + "$ref": "526" + }, + { + "$ref": "537" + }, + { + "$ref": "555" + }, + { + "$ref": "586" + }, + { + "$ref": "602" + }, + { + "$ref": "610" + }, + { + "$ref": "612" + }, + { + "$ref": "623" + }, + { + "$ref": "679" + }, + { + "$ref": "337" + }, + { + "$ref": "338" + }, + { + "$ref": "354" + }, + { + "$id": "689", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Error,Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "decorators": [], + "properties": [ + { + "$id": "690", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "691", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [], + "properties": [ + { + "$id": "692", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "$id": "694", + "json": { + "$id": "695", + "name": "code" + } + } + }, + { + "$id": "696", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "$id": "698", + "json": { + "$id": "699", + "name": "message" + } + } + }, + { + "$id": "700", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "$id": "702", + "json": { + "$id": "703", + "name": "target" + } + } + }, + { + "$id": "704", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "705", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "691" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "$id": "706", + "json": { + "$id": "707", + "name": "details" + } + } + }, + { + "$id": "708", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "709", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "710", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "711", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "712", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "$id": "713", + "json": { + "$id": "714", + "name": "type" + } + } + }, + { + "$id": "715", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "716", + "kind": "model", + "name": "ErrorAdditionalInfoInfo", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "usage": "Json,Exception,LroPolling", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "$id": "717", + "json": { + "$id": "718", + "name": "info" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "$id": "719", + "json": { + "$id": "720", + "name": "additionalInfo" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "$id": "721", + "json": { + "$id": "722", + "name": "error" + } + } + } + ] + }, + { + "$ref": "691" + }, + { + "$ref": "710" + }, + { + "$ref": "716" + }, + { + "$id": "723", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "724", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "156" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "$id": "725", + "json": { + "$id": "726", + "name": "status" + } + } + }, + { + "$id": "727", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "728", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "$id": "729", + "json": { + "$id": "730", + "name": "name" + } + } + }, + { + "$id": "731", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "732", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "$id": "734", + "json": { + "$id": "735", + "name": "startTime" + } + } + }, + { + "$id": "736", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "737", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "738", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", + "serializationOptions": { + "$id": "739", + "json": { + "$id": "740", + "name": "endTime" + } + } + }, + { + "$id": "741", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "742", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "$id": "743", + "json": { + "$id": "744", + "name": "percentComplete" + } + } + }, + { + "$id": "745", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "691" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "$id": "746", + "json": { + "$id": "747", + "name": "error" + } + } + } + ] + }, + { + "$id": "748", + "kind": "model", + "name": "DataflowEndpointResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a DataflowEndpointResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "749", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The DataflowEndpointResource items on this page", + "type": { + "$id": "750", + "kind": "array", + "name": "ArrayDataflowEndpointResource", + "valueType": { + "$ref": "336" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "751", + "json": { + "$id": "752", + "name": "value" + } + } + }, + { + "$id": "753", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "754", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "755", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "756", + "json": { + "$id": "757", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "758", + "kind": "model", + "name": "IotOperationsDataflow", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance dataflowProfile dataflow resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "759", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "760", + "kind": "model", + "name": "IotOperationsDataflowProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow Resource properties", + "decorators": [], + "properties": [ + { + "$id": "761", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Mode for Dataflow. Optional; defaults to Enabled.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProperties.mode", + "serializationOptions": { + "$id": "762", + "json": { + "$id": "763", + "name": "mode" + } + } + }, + { + "$id": "764", + "kind": "property", + "name": "operations", + "serializedName": "operations", + "doc": "List of operations including source and destination references as well as transformation.", + "type": { + "$id": "765", + "kind": "array", + "name": "ArrayDataflowOperation", + "valueType": { + "$id": "766", + "kind": "model", + "name": "DataflowOperationProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.", + "decorators": [], + "properties": [ + { + "$id": "767", + "kind": "property", + "name": "operationType", + "serializedName": "operationType", + "doc": "Type of operation.", + "type": { + "$ref": "164" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation.operationType", + "serializationOptions": { + "$id": "768", + "json": { + "$id": "769", + "name": "operationType" + } + } + }, + { + "$id": "770", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Optional user provided name of the transformation.", + "type": { + "$id": "771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation.name", + "serializationOptions": { + "$id": "772", + "json": { + "$id": "773", + "name": "name" + } + } + }, + { + "$id": "774", + "kind": "property", + "name": "sourceSettings", + "serializedName": "sourceSettings", + "doc": "Source configuration.", + "type": { + "$id": "775", + "kind": "model", + "name": "DataflowSourceOperationSettings", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow Source Operation properties", + "decorators": [], + "properties": [ + { + "$id": "776", + "kind": "property", + "name": "endpointRef", + "serializedName": "endpointRef", + "doc": "Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.", + "type": { + "$id": "777", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings.endpointRef", + "serializationOptions": { + "$id": "778", + "json": { + "$id": "779", + "name": "endpointRef" + } + } + }, + { + "$id": "780", + "kind": "property", + "name": "assetRef", + "serializedName": "assetRef", + "doc": "Reference to the resource in Azure Device Registry where the data in the endpoint originates from.", + "type": { + "$id": "781", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings.assetRef", + "serializationOptions": { + "$id": "782", + "json": { + "$id": "783", + "name": "assetRef" + } + } + }, + { + "$id": "784", + "kind": "property", + "name": "serializationFormat", + "serializedName": "serializationFormat", + "doc": "Content is a JSON Schema. Allowed: JSON Schema/draft-7.", + "type": { + "$ref": "172" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings.serializationFormat", + "serializationOptions": { + "$id": "785", + "json": { + "$id": "786", + "name": "serializationFormat" + } + } + }, + { + "$id": "787", + "kind": "property", + "name": "schemaRef", + "serializedName": "schemaRef", + "doc": "Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.", + "type": { + "$id": "788", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings.schemaRef", + "serializationOptions": { + "$id": "789", + "json": { + "$id": "790", + "name": "schemaRef" + } + } + }, + { + "$id": "791", + "kind": "property", + "name": "dataSources", + "serializedName": "dataSources", + "doc": "List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.", + "type": { + "$id": "792", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "793", + "kind": "string", + "name": "NonEmptyString", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.NonEmptyString", + "baseType": { + "$id": "794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowSourceOperationSettings.dataSources", + "serializationOptions": { + "$id": "795", + "json": { + "$id": "796", + "name": "dataSources" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation.sourceSettings", + "serializationOptions": { + "$id": "797", + "json": { + "$id": "798", + "name": "sourceSettings" + } + } + }, + { + "$id": "799", + "kind": "property", + "name": "builtInTransformationSettings", + "serializedName": "builtInTransformationSettings", + "doc": "Built In Transformation configuration.", + "type": { + "$id": "800", + "kind": "model", + "name": "DataflowBuiltInTransformationSettings", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow BuiltIn Transformation properties", + "decorators": [], + "properties": [ + { + "$id": "801", + "kind": "property", + "name": "serializationFormat", + "serializedName": "serializationFormat", + "doc": "Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json", + "type": { + "$ref": "176" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings.serializationFormat", + "serializationOptions": { + "$id": "802", + "json": { + "$id": "803", + "name": "serializationFormat" + } + } + }, + { + "$id": "804", + "kind": "property", + "name": "schemaRef", + "serializedName": "schemaRef", + "doc": "Reference to the schema that describes the output of the transformation.", + "type": { + "$id": "805", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings.schemaRef", + "serializationOptions": { + "$id": "806", + "json": { + "$id": "807", + "name": "schemaRef" + } + } + }, + { + "$id": "808", + "kind": "property", + "name": "datasets", + "serializedName": "datasets", + "doc": "Enrich data from Broker State Store. Dataset references a key in Broker State Store.", + "type": { + "$id": "809", + "kind": "array", + "name": "ArrayDataflowBuiltInTransformationDataset", + "valueType": { + "$id": "810", + "kind": "model", + "name": "DataflowBuiltInTransformationDataset", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow BuiltIn Transformation dataset properties", + "decorators": [], + "properties": [ + { + "$id": "811", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "The key of the dataset.", + "type": { + "$id": "812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset.key", + "serializationOptions": { + "$id": "813", + "json": { + "$id": "814", + "name": "key" + } + } + }, + { + "$id": "815", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "A user provided optional description of the dataset.", + "type": { + "$id": "816", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset.description", + "serializationOptions": { + "$id": "817", + "json": { + "$id": "818", + "name": "description" + } + } + }, + { + "$id": "819", + "kind": "property", + "name": "schemaRef", + "serializedName": "schemaRef", + "doc": "The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.", + "type": { + "$id": "820", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset.schemaRef", + "serializationOptions": { + "$id": "821", + "json": { + "$id": "822", + "name": "schemaRef" + } + } + }, + { + "$id": "823", + "kind": "property", + "name": "inputs", + "serializedName": "inputs", + "doc": "List of fields for enriching from the Broker State Store.", + "type": { + "$id": "824", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset.inputs", + "serializationOptions": { + "$id": "826", + "json": { + "$id": "827", + "name": "inputs" + } + } + }, + { + "$id": "828", + "kind": "property", + "name": "expression", + "serializedName": "expression", + "doc": "Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)", + "type": { + "$id": "829", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationDataset.expression", + "serializationOptions": { + "$id": "830", + "json": { + "$id": "831", + "name": "expression" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings.datasets", + "serializationOptions": { + "$id": "832", + "json": { + "$id": "833", + "name": "datasets" + } + } + }, + { + "$id": "834", + "kind": "property", + "name": "filter", + "serializedName": "filter", + "doc": "Filters input record or datapoints based on condition.", + "type": { + "$id": "835", + "kind": "array", + "name": "ArrayDataflowBuiltInTransformationFilter", + "valueType": { + "$id": "836", + "kind": "model", + "name": "DataflowBuiltInTransformationFilter", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationFilter", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow BuiltIn Transformation filter properties", + "decorators": [], + "properties": [ + { + "$id": "837", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of dataflow operation.", + "type": { + "$ref": "184" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationFilter.type", + "serializationOptions": { + "$id": "838", + "json": { + "$id": "839", + "name": "type" + } + } + }, + { + "$id": "840", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "A user provided optional description of the filter.", + "type": { + "$id": "841", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationFilter.description", + "serializationOptions": { + "$id": "842", + "json": { + "$id": "843", + "name": "description" + } + } + }, + { + "$id": "844", + "kind": "property", + "name": "inputs", + "serializedName": "inputs", + "doc": "List of fields for filtering in JSON path expression.", + "type": { + "$id": "845", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "846", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationFilter.inputs", + "serializationOptions": { + "$id": "847", + "json": { + "$id": "848", + "name": "inputs" + } + } + }, + { + "$id": "849", + "kind": "property", + "name": "expression", + "serializedName": "expression", + "doc": "Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)", + "type": { + "$id": "850", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationFilter.expression", + "serializationOptions": { + "$id": "851", + "json": { + "$id": "852", + "name": "expression" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings.filter", + "serializationOptions": { + "$id": "853", + "json": { + "$id": "854", + "name": "filter" + } + } + }, + { + "$id": "855", + "kind": "property", + "name": "map", + "serializedName": "map", + "doc": "Maps input to output message.", + "type": { + "$id": "856", + "kind": "array", + "name": "ArrayDataflowBuiltInTransformationMap", + "valueType": { + "$id": "857", + "kind": "model", + "name": "DataflowBuiltInTransformationMap", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow BuiltIn Transformation map properties", + "decorators": [], + "properties": [ + { + "$id": "858", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of transformation.", + "type": { + "$ref": "188" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap.type", + "serializationOptions": { + "$id": "859", + "json": { + "$id": "860", + "name": "type" + } + } + }, + { + "$id": "861", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "A user provided optional description of the mapping function.", + "type": { + "$id": "862", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap.description", + "serializationOptions": { + "$id": "863", + "json": { + "$id": "864", + "name": "description" + } + } + }, + { + "$id": "865", + "kind": "property", + "name": "inputs", + "serializedName": "inputs", + "doc": "List of fields for mapping in JSON path expression.", + "type": { + "$id": "866", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "867", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap.inputs", + "serializationOptions": { + "$id": "868", + "json": { + "$id": "869", + "name": "inputs" + } + } + }, + { + "$id": "870", + "kind": "property", + "name": "expression", + "serializedName": "expression", + "doc": "Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)", + "type": { + "$id": "871", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap.expression", + "serializationOptions": { + "$id": "872", + "json": { + "$id": "873", + "name": "expression" + } + } + }, + { + "$id": "874", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "Where and how the input fields to be organized in the output record.", + "type": { + "$id": "875", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationMap.output", + "serializationOptions": { + "$id": "876", + "json": { + "$id": "877", + "name": "output" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowBuiltInTransformationSettings.map", + "serializationOptions": { + "$id": "878", + "json": { + "$id": "879", + "name": "map" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation.builtInTransformationSettings", + "serializationOptions": { + "$id": "880", + "json": { + "$id": "881", + "name": "builtInTransformationSettings" + } + } + }, + { + "$id": "882", + "kind": "property", + "name": "destinationSettings", + "serializedName": "destinationSettings", + "doc": "Destination configuration.", + "type": { + "$id": "883", + "kind": "model", + "name": "DataflowDestinationOperationSettings", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowDestinationOperationSettings", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Dataflow Destination Operation properties", + "decorators": [], + "properties": [ + { + "$id": "884", + "kind": "property", + "name": "endpointRef", + "serializedName": "endpointRef", + "doc": "Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.", + "type": { + "$id": "885", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowDestinationOperationSettings.endpointRef", + "serializationOptions": { + "$id": "886", + "json": { + "$id": "887", + "name": "endpointRef" + } + } + }, + { + "$id": "888", + "kind": "property", + "name": "dataDestination", + "serializedName": "dataDestination", + "doc": "Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.", + "type": { + "$id": "889", + "kind": "string", + "name": "NonEmptyString", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.NonEmptyString", + "baseType": { + "$id": "890", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowDestinationOperationSettings.dataDestination", + "serializationOptions": { + "$id": "891", + "json": { + "$id": "892", + "name": "dataDestination" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowOperation.destinationSettings", + "serializationOptions": { + "$id": "893", + "json": { + "$id": "894", + "name": "destinationSettings" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProperties.operations", + "serializationOptions": { + "$id": "895", + "json": { + "$id": "896", + "name": "operations" + } + } + }, + { + "$id": "897", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProperties.provisioningState", + "serializationOptions": { + "$id": "898", + "json": { + "$id": "899", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowResource.properties", + "serializationOptions": { + "$id": "900", + "json": { + "$id": "901", + "name": "properties" + } + } + }, + { + "$id": "902", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowResource.extendedLocation", + "serializationOptions": { + "$id": "903", + "json": { + "$id": "904", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "760" + }, + { + "$ref": "766" + }, + { + "$ref": "775" + }, + { + "$ref": "800" + }, + { + "$ref": "810" + }, + { + "$ref": "836" + }, + { + "$ref": "857" + }, + { + "$ref": "883" + }, + { + "$id": "905", + "kind": "model", + "name": "DataflowResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a DataflowResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "906", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The DataflowResource items on this page", + "type": { + "$id": "907", + "kind": "array", + "name": "ArrayDataflowResource", + "valueType": { + "$ref": "758" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "908", + "json": { + "$id": "909", + "name": "value" + } + } + }, + { + "$id": "910", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "911", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "912", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "913", + "json": { + "$id": "914", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "915", + "kind": "model", + "name": "IotOperationsDataflowProfile", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance dataflowProfile resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "916", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "917", + "kind": "model", + "name": "IotOperationsDataflowProfileProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowProfile Resource properties", + "decorators": [], + "properties": [ + { + "$id": "918", + "kind": "property", + "name": "diagnostics", + "serializedName": "diagnostics", + "doc": "Spec defines the desired identities of NBC diagnostics settings.", + "type": { + "$id": "919", + "kind": "model", + "name": "DataflowProfileDiagnostics", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ProfileDiagnostics", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DataflowProfile Diagnostics properties", + "decorators": [], + "properties": [ + { + "$id": "920", + "kind": "property", + "name": "logs", + "serializedName": "logs", + "doc": "Diagnostic log settings for the resource.", + "type": { + "$id": "921", + "kind": "model", + "name": "DiagnosticsLogs", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiagnosticsLogs", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Diagnostic Log properties", + "decorators": [], + "properties": [ + { + "$id": "922", + "kind": "property", + "name": "level", + "serializedName": "level", + "doc": "The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.", + "type": { + "$id": "923", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiagnosticsLogs.level", + "serializationOptions": { + "$id": "924", + "json": { + "$id": "925", + "name": "level" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ProfileDiagnostics.logs", + "serializationOptions": { + "$id": "926", + "json": { + "$id": "927", + "name": "logs" + } + } + }, + { + "$id": "928", + "kind": "property", + "name": "metrics", + "serializedName": "metrics", + "doc": "The metrics settings for the resource.", + "type": { + "$id": "929", + "kind": "model", + "name": "IotOperationsMetrics", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Metrics", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Diagnostic Metrics properties", + "decorators": [], + "properties": [ + { + "$id": "930", + "kind": "property", + "name": "prometheusPort", + "serializedName": "prometheusPort", + "doc": "The prometheus port to expose the metrics.", + "type": { + "$id": "931", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Metrics.prometheusPort", + "serializationOptions": { + "$id": "932", + "json": { + "$id": "933", + "name": "prometheusPort" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ProfileDiagnostics.metrics", + "serializationOptions": { + "$id": "934", + "json": { + "$id": "935", + "name": "metrics" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileProperties.diagnostics", + "serializationOptions": { + "$id": "936", + "json": { + "$id": "937", + "name": "diagnostics" + } + } + }, + { + "$id": "938", + "kind": "property", + "name": "instanceCount", + "serializedName": "instanceCount", + "doc": "To manually scale the dataflow profile, specify the maximum number of instances you want to run.", + "type": { + "$id": "939", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileProperties.instanceCount", + "serializationOptions": { + "$id": "940", + "json": { + "$id": "941", + "name": "instanceCount" + } + } + }, + { + "$id": "942", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileProperties.provisioningState", + "serializationOptions": { + "$id": "943", + "json": { + "$id": "944", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileResource.properties", + "serializationOptions": { + "$id": "945", + "json": { + "$id": "946", + "name": "properties" + } + } + }, + { + "$id": "947", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfileResource.extendedLocation", + "serializationOptions": { + "$id": "948", + "json": { + "$id": "949", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "917" + }, + { + "$ref": "919" + }, + { + "$ref": "921" + }, + { + "$ref": "929" + }, + { + "$id": "950", + "kind": "model", + "name": "DataflowProfileResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a DataflowProfileResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "951", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The DataflowProfileResource items on this page", + "type": { + "$id": "952", + "kind": "array", + "name": "ArrayDataflowProfileResource", + "valueType": { + "$ref": "915" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "953", + "json": { + "$id": "954", + "name": "value" + } + } + }, + { + "$id": "955", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "956", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "957", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "958", + "json": { + "$id": "959", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "960", + "kind": "model", + "name": "IotOperationsBrokerAuthorization", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance broker authorizations resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "961", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "962", + "kind": "model", + "name": "IotOperationsBrokerAuthorizationProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "BrokerAuthorization Resource properties", + "decorators": [], + "properties": [ + { + "$id": "963", + "kind": "property", + "name": "authorizationPolicies", + "serializedName": "authorizationPolicies", + "doc": "The list of authorization policies supported by the Authorization Resource.", + "type": { + "$id": "964", + "kind": "model", + "name": "BrokerAuthorizationConfig", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationConfig", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker AuthorizationConfig properties", + "decorators": [], + "properties": [ + { + "$id": "965", + "kind": "property", + "name": "cache", + "serializedName": "cache", + "doc": "Enable caching of the authorization rules.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationConfig.cache", + "serializationOptions": { + "$id": "966", + "json": { + "$id": "967", + "name": "cache" + } + } + }, + { + "$id": "968", + "kind": "property", + "name": "rules", + "serializedName": "rules", + "doc": "The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.", + "type": { + "$id": "969", + "kind": "array", + "name": "ArrayAuthorizationRule", + "valueType": { + "$id": "970", + "kind": "model", + "name": "BrokerAuthorizationRule", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationRule", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "AuthorizationConfig Rule Properties", + "decorators": [], + "properties": [ + { + "$id": "971", + "kind": "property", + "name": "brokerResources", + "serializedName": "brokerResources", + "doc": "Give access to Broker methods and topics.", + "type": { + "$id": "972", + "kind": "array", + "name": "ArrayBrokerResourceRule", + "valueType": { + "$id": "973", + "kind": "model", + "name": "BrokerResourceRule", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResourceRule", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.", + "decorators": [], + "properties": [ + { + "$id": "974", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Give access for a Broker method (i.e., Connect, Subscribe, or Publish).", + "type": { + "$ref": "200" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResourceRule.method", + "serializationOptions": { + "$id": "975", + "json": { + "$id": "976", + "name": "method" + } + } + }, + { + "$id": "977", + "kind": "property", + "name": "clientIds", + "serializedName": "clientIds", + "doc": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.", + "type": { + "$id": "978", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "979", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResourceRule.clientIds", + "serializationOptions": { + "$id": "980", + "json": { + "$id": "981", + "name": "clientIds" + } + } + }, + { + "$id": "982", + "kind": "property", + "name": "topics", + "serializedName": "topics", + "doc": "A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.", + "type": { + "$id": "983", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "984", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResourceRule.topics", + "serializationOptions": { + "$id": "985", + "json": { + "$id": "986", + "name": "topics" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationRule.brokerResources", + "serializationOptions": { + "$id": "987", + "json": { + "$id": "988", + "name": "brokerResources" + } + } + }, + { + "$id": "989", + "kind": "property", + "name": "principals", + "serializedName": "principals", + "doc": "Give access to clients based on the following properties.", + "type": { + "$id": "990", + "kind": "model", + "name": "PrincipalConfig", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrincipalDefinition", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "PrincipalDefinition properties of Rule", + "decorators": [], + "properties": [ + { + "$id": "991", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.", + "type": { + "$id": "992", + "kind": "array", + "name": "ArrayRecord", + "valueType": { + "$id": "993", + "kind": "dict", + "keyType": { + "$id": "994", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "995", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrincipalDefinition.attributes", + "serializationOptions": { + "$id": "996", + "json": { + "$id": "997", + "name": "attributes" + } + } + }, + { + "$id": "998", + "kind": "property", + "name": "clientIds", + "serializedName": "clientIds", + "doc": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.", + "type": { + "$id": "999", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1000", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrincipalDefinition.clientIds", + "serializationOptions": { + "$id": "1001", + "json": { + "$id": "1002", + "name": "clientIds" + } + } + }, + { + "$id": "1003", + "kind": "property", + "name": "usernames", + "serializedName": "usernames", + "doc": "A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.", + "type": { + "$id": "1004", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.PrincipalDefinition.usernames", + "serializationOptions": { + "$id": "1006", + "json": { + "$id": "1007", + "name": "usernames" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationRule.principals", + "serializationOptions": { + "$id": "1008", + "json": { + "$id": "1009", + "name": "principals" + } + } + }, + { + "$id": "1010", + "kind": "property", + "name": "stateStoreResources", + "serializedName": "stateStoreResources", + "doc": "Give access to state store resources.", + "type": { + "$id": "1011", + "kind": "array", + "name": "ArrayStateStoreResourceRule", + "valueType": { + "$id": "1012", + "kind": "model", + "name": "StateStoreResourceRule", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceRule", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "State Store Resource Rule properties.", + "decorators": [], + "properties": [ + { + "$id": "1013", + "kind": "property", + "name": "keyType", + "serializedName": "keyType", + "doc": "Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.", + "type": { + "$ref": "208" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceRule.keyType", + "serializationOptions": { + "$id": "1014", + "json": { + "$id": "1015", + "name": "keyType" + } + } + }, + { + "$id": "1016", + "kind": "property", + "name": "keys", + "serializedName": "keys", + "doc": "Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '*', 'clients/*').", + "type": { + "$id": "1017", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1018", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceRule.keys", + "serializationOptions": { + "$id": "1019", + "json": { + "$id": "1020", + "name": "keys" + } + } + }, + { + "$id": "1021", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Give access for `Read`, `Write` and `ReadWrite` access level.", + "type": { + "$ref": "216" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.StateStoreResourceRule.method", + "serializationOptions": { + "$id": "1022", + "json": { + "$id": "1023", + "name": "method" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationRule.stateStoreResources", + "serializationOptions": { + "$id": "1024", + "json": { + "$id": "1025", + "name": "stateStoreResources" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AuthorizationConfig.rules", + "serializationOptions": { + "$id": "1026", + "json": { + "$id": "1027", + "name": "rules" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationProperties.authorizationPolicies", + "serializationOptions": { + "$id": "1028", + "json": { + "$id": "1029", + "name": "authorizationPolicies" + } + } + }, + { + "$id": "1030", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationProperties.provisioningState", + "serializationOptions": { + "$id": "1031", + "json": { + "$id": "1032", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationResource.properties", + "serializationOptions": { + "$id": "1033", + "json": { + "$id": "1034", + "name": "properties" + } + } + }, + { + "$id": "1035", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorizationResource.extendedLocation", + "serializationOptions": { + "$id": "1036", + "json": { + "$id": "1037", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "962" + }, + { + "$ref": "964" + }, + { + "$ref": "970" + }, + { + "$ref": "973" + }, + { + "$ref": "990" + }, + { + "$ref": "1012" + }, + { + "$id": "1038", + "kind": "model", + "name": "BrokerAuthorizationResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a BrokerAuthorizationResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "1039", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The BrokerAuthorizationResource items on this page", + "type": { + "$id": "1040", + "kind": "array", + "name": "ArrayBrokerAuthorizationResource", + "valueType": { + "$ref": "960" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1041", + "json": { + "$id": "1042", + "name": "value" + } + } + }, + { + "$id": "1043", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1044", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1045", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1046", + "json": { + "$id": "1047", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1048", + "kind": "model", + "name": "IotOperationsBrokerAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance broker authentication resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "1049", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1050", + "kind": "model", + "name": "IotOperationsBrokerAuthenticationProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "BrokerAuthentication Resource properties", + "decorators": [], + "properties": [ + { + "$id": "1051", + "kind": "property", + "name": "authenticationMethods", + "serializedName": "authenticationMethods", + "doc": "Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.", + "type": { + "$id": "1052", + "kind": "array", + "name": "ArrayBrokerAuthenticatorMethods", + "valueType": { + "$id": "1053", + "kind": "model", + "name": "BrokerAuthenticatorMethods", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethods", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Set of broker authentication policies. Only one method is supported for each entry.", + "decorators": [], + "properties": [ + { + "$id": "1054", + "kind": "property", + "name": "method", + "serializedName": "method", + "doc": "Custom authentication configuration.", + "type": { + "$ref": "224" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethods.method", + "serializationOptions": { + "$id": "1055", + "json": { + "$id": "1056", + "name": "method" + } + } + }, + { + "$id": "1057", + "kind": "property", + "name": "customSettings", + "serializedName": "customSettings", + "doc": "Custom authentication configuration.", + "type": { + "$id": "1058", + "kind": "model", + "name": "BrokerAuthenticatorMethodCustom", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodCustom", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Custom method for BrokerAuthentication", + "decorators": [], + "properties": [ + { + "$id": "1059", + "kind": "property", + "name": "auth", + "serializedName": "auth", + "doc": "Optional authentication needed for authenticating with the custom authentication server.", + "type": { + "$id": "1060", + "kind": "model", + "name": "BrokerAuthenticatorCustomAuth", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorCustomAuth", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Custom Authentication properties", + "decorators": [], + "properties": [ + { + "$id": "1061", + "kind": "property", + "name": "x509", + "serializedName": "x509", + "doc": "X509 Custom Auth type details.", + "type": { + "$id": "1062", + "kind": "model", + "name": "X509ManualCertificate", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.X509ManualCertificate", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "X509 Certificate Authentication properties.", + "decorators": [], + "properties": [ + { + "$id": "1063", + "kind": "property", + "name": "secretRef", + "serializedName": "secretRef", + "doc": "Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself.", + "type": { + "$id": "1064", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.X509ManualCertificate.secretRef", + "serializationOptions": { + "$id": "1065", + "json": { + "$id": "1066", + "name": "secretRef" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorCustomAuth.x509", + "serializationOptions": { + "$id": "1067", + "json": { + "$id": "1068", + "name": "x509" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodCustom.auth", + "serializationOptions": { + "$id": "1069", + "json": { + "$id": "1070", + "name": "auth" + } + } + }, + { + "$id": "1071", + "kind": "property", + "name": "caCertConfigMap", + "serializedName": "caCertConfigMap", + "doc": "Optional CA certificate for validating the custom authentication server's certificate.", + "type": { + "$id": "1072", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodCustom.caCertConfigMap", + "serializationOptions": { + "$id": "1073", + "json": { + "$id": "1074", + "name": "caCertConfigMap" + } + } + }, + { + "$id": "1075", + "kind": "property", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Endpoint of the custom authentication server. Must be an HTTPS endpoint.", + "type": { + "$id": "1076", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodCustom.endpoint", + "serializationOptions": { + "$id": "1077", + "json": { + "$id": "1078", + "name": "endpoint" + } + } + }, + { + "$id": "1079", + "kind": "property", + "name": "headers", + "serializedName": "headers", + "doc": "Additional HTTP headers to pass to the custom authentication server.", + "type": { + "$id": "1080", + "kind": "dict", + "keyType": { + "$id": "1081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodCustom.headers", + "serializationOptions": { + "$id": "1083", + "json": { + "$id": "1084", + "name": "headers" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethods.customSettings", + "serializationOptions": { + "$id": "1085", + "json": { + "$id": "1086", + "name": "customSettings" + } + } + }, + { + "$id": "1087", + "kind": "property", + "name": "serviceAccountTokenSettings", + "serializedName": "serviceAccountTokenSettings", + "doc": "ServiceAccountToken authentication configuration.", + "type": { + "$id": "1088", + "kind": "model", + "name": "BrokerAuthenticatorMethodSat", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodSat", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Service Account Token for BrokerAuthentication", + "decorators": [], + "properties": [ + { + "$id": "1089", + "kind": "property", + "name": "audiences", + "serializedName": "audiences", + "doc": "List of allowed audience.", + "type": { + "$id": "1090", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1091", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodSat.audiences", + "serializationOptions": { + "$id": "1092", + "json": { + "$id": "1093", + "name": "audiences" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethods.serviceAccountTokenSettings", + "serializationOptions": { + "$id": "1094", + "json": { + "$id": "1095", + "name": "serviceAccountTokenSettings" + } + } + }, + { + "$id": "1096", + "kind": "property", + "name": "x509Settings", + "serializedName": "x509Settings", + "doc": "X.509 authentication configuration.", + "type": { + "$id": "1097", + "kind": "model", + "name": "BrokerAuthenticatorMethodX509", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "X509 for BrokerAuthentication.", + "decorators": [], + "properties": [ + { + "$id": "1098", + "kind": "property", + "name": "authorizationAttributes", + "serializedName": "authorizationAttributes", + "doc": "X509 authorization attributes properties.", + "type": { + "$id": "1099", + "kind": "dict", + "keyType": { + "$id": "1100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1101", + "kind": "model", + "name": "BrokerAuthenticatorMethodX509Attributes", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509Attributes", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "BrokerAuthenticatorMethodX509Attributes properties.", + "decorators": [], + "properties": [ + { + "$id": "1102", + "kind": "property", + "name": "attributes", + "serializedName": "attributes", + "doc": "Attributes object.", + "type": { + "$id": "1103", + "kind": "dict", + "keyType": { + "$id": "1104", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509Attributes.attributes", + "serializationOptions": { + "$id": "1106", + "json": { + "$id": "1107", + "name": "attributes" + } + } + }, + { + "$id": "1108", + "kind": "property", + "name": "subject", + "serializedName": "subject", + "doc": "Subject of the X509 attribute.", + "type": { + "$id": "1109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509Attributes.subject", + "serializationOptions": { + "$id": "1110", + "json": { + "$id": "1111", + "name": "subject" + } + } + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509.authorizationAttributes", + "serializationOptions": { + "$id": "1112", + "json": { + "$id": "1113", + "name": "authorizationAttributes" + } + } + }, + { + "$id": "1114", + "kind": "property", + "name": "trustedClientCaCert", + "serializedName": "trustedClientCaCert", + "doc": "Name of the trusted client ca cert resource.", + "type": { + "$id": "1115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethodX509.trustedClientCaCert", + "serializationOptions": { + "$id": "1116", + "json": { + "$id": "1117", + "name": "trustedClientCaCert" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticatorMethods.x509Settings", + "serializationOptions": { + "$id": "1118", + "json": { + "$id": "1119", + "name": "x509Settings" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationProperties.authenticationMethods", + "serializationOptions": { + "$id": "1120", + "json": { + "$id": "1121", + "name": "authenticationMethods" + } + } + }, + { + "$id": "1122", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationProperties.provisioningState", + "serializationOptions": { + "$id": "1123", + "json": { + "$id": "1124", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationResource.properties", + "serializationOptions": { + "$id": "1125", + "json": { + "$id": "1126", + "name": "properties" + } + } + }, + { + "$id": "1127", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthenticationResource.extendedLocation", + "serializationOptions": { + "$id": "1128", + "json": { + "$id": "1129", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "1050" + }, + { + "$ref": "1053" + }, + { + "$ref": "1058" + }, + { + "$ref": "1060" + }, + { + "$ref": "1062" + }, + { + "$ref": "1088" + }, + { + "$ref": "1097" + }, + { + "$ref": "1101" + }, + { + "$id": "1130", + "kind": "model", + "name": "BrokerAuthenticationResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a BrokerAuthenticationResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "1131", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The BrokerAuthenticationResource items on this page", + "type": { + "$id": "1132", + "kind": "array", + "name": "ArrayBrokerAuthenticationResource", + "valueType": { + "$ref": "1048" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1133", + "json": { + "$id": "1134", + "name": "value" + } + } + }, + { + "$id": "1135", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1136", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1137", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1138", + "json": { + "$id": "1139", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1140", + "kind": "model", + "name": "IotOperationsBrokerListener", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance broker resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "1141", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1142", + "kind": "model", + "name": "IotOperationsBrokerListenerProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines a Broker listener. A listener is a collection of ports on which the broker accepts connections from clients.", + "decorators": [], + "properties": [ + { + "$id": "1143", + "kind": "property", + "name": "serviceName", + "serializedName": "serviceName", + "doc": "Kubernetes Service name of this listener.", + "type": { + "$id": "1144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerProperties.serviceName", + "serializationOptions": { + "$id": "1145", + "json": { + "$id": "1146", + "name": "serviceName" + } + } + }, + { + "$id": "1147", + "kind": "property", + "name": "ports", + "serializedName": "ports", + "doc": "Ports on which this listener accepts client connections.", + "type": { + "$id": "1148", + "kind": "array", + "name": "ArrayListenerPort", + "valueType": { + "$id": "1149", + "kind": "model", + "name": "BrokerListenerPort", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Defines a TCP port on which a `BrokerListener` listens.", + "decorators": [], + "properties": [ + { + "$id": "1150", + "kind": "property", + "name": "authenticationRef", + "serializedName": "authenticationRef", + "doc": "Reference to client authentication settings. Omit to disable authentication.", + "type": { + "$id": "1151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.authenticationRef", + "serializationOptions": { + "$id": "1152", + "json": { + "$id": "1153", + "name": "authenticationRef" + } + } + }, + { + "$id": "1154", + "kind": "property", + "name": "authorizationRef", + "serializedName": "authorizationRef", + "doc": "Reference to client authorization settings. Omit to disable authorization.", + "type": { + "$id": "1155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.authorizationRef", + "serializationOptions": { + "$id": "1156", + "json": { + "$id": "1157", + "name": "authorizationRef" + } + } + }, + { + "$id": "1158", + "kind": "property", + "name": "nodePort", + "serializedName": "nodePort", + "doc": "Kubernetes node port. Only relevant when this port is associated with a `NodePort` listener.", + "type": { + "$id": "1159", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.nodePort", + "serializationOptions": { + "$id": "1160", + "json": { + "$id": "1161", + "name": "nodePort" + } + } + }, + { + "$id": "1162", + "kind": "property", + "name": "port", + "serializedName": "port", + "doc": "TCP port for accepting client connections.", + "type": { + "$id": "1163", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.port", + "serializationOptions": { + "$id": "1164", + "json": { + "$id": "1165", + "name": "port" + } + } + }, + { + "$id": "1166", + "kind": "property", + "name": "protocol", + "serializedName": "protocol", + "doc": "Protocol to use for client connections.", + "type": { + "$ref": "114" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.protocol", + "serializationOptions": { + "$id": "1167", + "json": { + "$id": "1168", + "name": "protocol" + } + } + }, + { + "$id": "1169", + "kind": "property", + "name": "tls", + "serializedName": "tls", + "doc": "TLS server certificate settings for this port. Omit to disable TLS.", + "type": { + "$id": "1170", + "kind": "model", + "name": "ListenerPortTlsCertMethod", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsCertMethod", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Collection of different TLS types, NOTE- Enum at a time only one of them needs to be supported", + "decorators": [], + "properties": [ + { + "$id": "1171", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Mode of TLS server certificate management.", + "type": { + "$ref": "232" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsCertMethod.mode", + "serializationOptions": { + "$id": "1172", + "json": { + "$id": "1173", + "name": "mode" + } + } + }, + { + "$id": "1174", + "kind": "property", + "name": "certManagerCertificateSpec", + "serializedName": "certManagerCertificateSpec", + "doc": "Option 1 - Automatic TLS server certificate management with cert-manager.", + "type": { + "$id": "1175", + "kind": "model", + "name": "CertManagerCertificateSpec", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Automatic TLS server certificate management with cert-manager", + "decorators": [], + "properties": [ + { + "$id": "1176", + "kind": "property", + "name": "duration", + "serializedName": "duration", + "doc": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.", + "type": { + "$id": "1177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.duration", + "serializationOptions": { + "$id": "1178", + "json": { + "$id": "1179", + "name": "duration" + } + } + }, + { + "$id": "1180", + "kind": "property", + "name": "secretName", + "serializedName": "secretName", + "doc": "Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself.", + "type": { + "$id": "1181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.secretName", + "serializationOptions": { + "$id": "1182", + "json": { + "$id": "1183", + "name": "secretName" + } + } + }, + { + "$id": "1184", + "kind": "property", + "name": "renewBefore", + "serializedName": "renewBefore", + "doc": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.", + "type": { + "$id": "1185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.renewBefore", + "serializationOptions": { + "$id": "1186", + "json": { + "$id": "1187", + "name": "renewBefore" + } + } + }, + { + "$id": "1188", + "kind": "property", + "name": "issuerRef", + "serializedName": "issuerRef", + "doc": "cert-manager issuerRef.", + "type": { + "$id": "1189", + "kind": "model", + "name": "CertManagerIssuerRef", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerIssuerRef", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Cert-Manager issuerRef properties", + "decorators": [], + "properties": [ + { + "$id": "1190", + "kind": "property", + "name": "group", + "serializedName": "group", + "doc": "group of issuer.", + "type": { + "$id": "1191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerIssuerRef.group", + "serializationOptions": { + "$id": "1192", + "json": { + "$id": "1193", + "name": "group" + } + } + }, + { + "$id": "1194", + "kind": "property", + "name": "kind", + "serializedName": "kind", + "doc": "kind of issuer (Issuer or ClusterIssuer).", + "type": { + "$ref": "238" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerIssuerRef.kind", + "serializationOptions": { + "$id": "1195", + "json": { + "$id": "1196", + "name": "kind" + } + } + }, + { + "$id": "1197", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "name of issuer.", + "type": { + "$id": "1198", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerIssuerRef.name", + "serializationOptions": { + "$id": "1199", + "json": { + "$id": "1200", + "name": "name" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.issuerRef", + "serializationOptions": { + "$id": "1201", + "json": { + "$id": "1202", + "name": "issuerRef" + } + } + }, + { + "$id": "1203", + "kind": "property", + "name": "privateKey", + "serializedName": "privateKey", + "doc": "Type of certificate private key.", + "type": { + "$id": "1204", + "kind": "model", + "name": "CertManagerPrivateKey", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerPrivateKey", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Cert Manager private key properties", + "decorators": [], + "properties": [ + { + "$id": "1205", + "kind": "property", + "name": "algorithm", + "serializedName": "algorithm", + "doc": "algorithm for private key.", + "type": { + "$ref": "244" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerPrivateKey.algorithm", + "serializationOptions": { + "$id": "1206", + "json": { + "$id": "1207", + "name": "algorithm" + } + } + }, + { + "$id": "1208", + "kind": "property", + "name": "rotationPolicy", + "serializedName": "rotationPolicy", + "doc": "cert-manager private key rotationPolicy.", + "type": { + "$ref": "260" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerPrivateKey.rotationPolicy", + "serializationOptions": { + "$id": "1209", + "json": { + "$id": "1210", + "name": "rotationPolicy" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.privateKey", + "serializationOptions": { + "$id": "1211", + "json": { + "$id": "1212", + "name": "privateKey" + } + } + }, + { + "$id": "1213", + "kind": "property", + "name": "san", + "serializedName": "san", + "doc": "Additional Subject Alternative Names (SANs) to include in the certificate.", + "type": { + "$id": "1214", + "kind": "model", + "name": "SanForCert", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SanForCert", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Subject Alternative Names (SANs) for certificate.", + "decorators": [], + "properties": [ + { + "$id": "1215", + "kind": "property", + "name": "dns", + "serializedName": "dns", + "doc": "DNS SANs.", + "type": { + "$id": "1216", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SanForCert.dns", + "serializationOptions": { + "$id": "1218", + "json": { + "$id": "1219", + "name": "dns" + } + } + }, + { + "$id": "1220", + "kind": "property", + "name": "ip", + "serializedName": "ip", + "doc": "IP address SANs.", + "type": { + "$id": "1221", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SanForCert.ip", + "serializationOptions": { + "$id": "1223", + "json": { + "$id": "1224", + "name": "ip" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertificateSpec.san", + "serializationOptions": { + "$id": "1225", + "json": { + "$id": "1226", + "name": "san" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsCertMethod.certManagerCertificateSpec", + "serializationOptions": { + "$id": "1227", + "json": { + "$id": "1228", + "name": "certManagerCertificateSpec" + } + } + }, + { + "$id": "1229", + "kind": "property", + "name": "manual", + "serializedName": "manual", + "doc": "Option 2 - Manual TLS server certificate management through a defined secret.", + "type": { + "$ref": "1062" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.TlsCertMethod.manual", + "serializationOptions": { + "$id": "1230", + "json": { + "$id": "1231", + "name": "manual" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ListenerPort.tls", + "serializationOptions": { + "$id": "1232", + "json": { + "$id": "1233", + "name": "tls" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerProperties.ports", + "serializationOptions": { + "$id": "1234", + "json": { + "$id": "1235", + "name": "ports" + } + } + }, + { + "$id": "1236", + "kind": "property", + "name": "serviceType", + "serializedName": "serviceType", + "doc": "Kubernetes Service type of this listener.", + "type": { + "$ref": "266" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerProperties.serviceType", + "serializationOptions": { + "$id": "1237", + "json": { + "$id": "1238", + "name": "serviceType" + } + } + }, + { + "$id": "1239", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerProperties.provisioningState", + "serializationOptions": { + "$id": "1240", + "json": { + "$id": "1241", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerResource.properties", + "serializationOptions": { + "$id": "1242", + "json": { + "$id": "1243", + "name": "properties" + } + } + }, + { + "$id": "1244", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListenerResource.extendedLocation", + "serializationOptions": { + "$id": "1245", + "json": { + "$id": "1246", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "1142" + }, + { + "$ref": "1149" + }, + { + "$ref": "1170" + }, + { + "$ref": "1175" + }, + { + "$ref": "1189" + }, + { + "$ref": "1204" + }, + { + "$ref": "1214" + }, + { + "$id": "1247", + "kind": "model", + "name": "BrokerListenerResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a BrokerListenerResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "1248", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The BrokerListenerResource items on this page", + "type": { + "$id": "1249", + "kind": "array", + "name": "ArrayBrokerListenerResource", + "valueType": { + "$ref": "1140" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1250", + "json": { + "$id": "1251", + "name": "value" + } + } + }, + { + "$id": "1252", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1253", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1254", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1255", + "json": { + "$id": "1256", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1257", + "kind": "model", + "name": "IotOperationsBroker", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Instance broker resource", + "decorators": [], + "baseModel": { + "$ref": "337" + }, + "properties": [ + { + "$id": "1258", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1259", + "kind": "model", + "name": "IotOperationsBrokerProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Resource properties", + "decorators": [], + "properties": [ + { + "$id": "1260", + "kind": "property", + "name": "advanced", + "serializedName": "advanced", + "doc": "Advanced settings of Broker.", + "type": { + "$id": "1261", + "kind": "model", + "name": "BrokerAdvancedSettings", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AdvancedSettings", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Advanced Settings", + "decorators": [], + "properties": [ + { + "$id": "1262", + "kind": "property", + "name": "clients", + "serializedName": "clients", + "doc": "Configurations related to All Clients.", + "type": { + "$id": "1263", + "kind": "model", + "name": "BrokerClientConfig", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The settings of Client Config.", + "decorators": [], + "properties": [ + { + "$id": "1264", + "kind": "property", + "name": "maxSessionExpirySeconds", + "serializedName": "maxSessionExpirySeconds", + "doc": "Upper bound of Session Expiry Interval, in seconds.", + "type": { + "$id": "1265", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.maxSessionExpirySeconds", + "serializationOptions": { + "$id": "1266", + "json": { + "$id": "1267", + "name": "maxSessionExpirySeconds" + } + } + }, + { + "$id": "1268", + "kind": "property", + "name": "maxMessageExpirySeconds", + "serializedName": "maxMessageExpirySeconds", + "doc": "Upper bound of Message Expiry Interval, in seconds.", + "type": { + "$id": "1269", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.maxMessageExpirySeconds", + "serializationOptions": { + "$id": "1270", + "json": { + "$id": "1271", + "name": "maxMessageExpirySeconds" + } + } + }, + { + "$id": "1272", + "kind": "property", + "name": "maxPacketSizeBytes", + "serializedName": "maxPacketSizeBytes", + "doc": "Max message size for a packet in Bytes.", + "type": { + "$id": "1273", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.maxPacketSizeBytes", + "serializationOptions": { + "$id": "1274", + "json": { + "$id": "1275", + "name": "maxPacketSizeBytes" + } + } + }, + { + "$id": "1276", + "kind": "property", + "name": "subscriberQueueLimit", + "serializedName": "subscriberQueueLimit", + "doc": "The limit on the number of queued messages for a subscriber.", + "type": { + "$id": "1277", + "kind": "model", + "name": "SubscriberQueueLimit", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SubscriberQueueLimit", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The settings of Subscriber Queue Limit.", + "decorators": [], + "properties": [ + { + "$id": "1278", + "kind": "property", + "name": "length", + "serializedName": "length", + "doc": "The maximum length of the queue before messages start getting dropped.", + "type": { + "$id": "1279", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SubscriberQueueLimit.length", + "serializationOptions": { + "$id": "1280", + "json": { + "$id": "1281", + "name": "length" + } + } + }, + { + "$id": "1282", + "kind": "property", + "name": "strategy", + "serializedName": "strategy", + "doc": "The strategy to use for dropping messages from the queue.", + "type": { + "$ref": "274" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SubscriberQueueLimit.strategy", + "serializationOptions": { + "$id": "1283", + "json": { + "$id": "1284", + "name": "strategy" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.subscriberQueueLimit", + "serializationOptions": { + "$id": "1285", + "json": { + "$id": "1286", + "name": "subscriberQueueLimit" + } + } + }, + { + "$id": "1287", + "kind": "property", + "name": "maxReceiveMaximum", + "serializedName": "maxReceiveMaximum", + "doc": "Upper bound of Receive Maximum that a client can request in the CONNECT packet.", + "type": { + "$id": "1288", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.maxReceiveMaximum", + "serializationOptions": { + "$id": "1289", + "json": { + "$id": "1290", + "name": "maxReceiveMaximum" + } + } + }, + { + "$id": "1291", + "kind": "property", + "name": "maxKeepAliveSeconds", + "serializedName": "maxKeepAliveSeconds", + "doc": "Upper bound of a client's Keep Alive, in seconds.", + "type": { + "$id": "1292", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.ClientConfig.maxKeepAliveSeconds", + "serializationOptions": { + "$id": "1293", + "json": { + "$id": "1294", + "name": "maxKeepAliveSeconds" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AdvancedSettings.clients", + "serializationOptions": { + "$id": "1295", + "json": { + "$id": "1296", + "name": "clients" + } + } + }, + { + "$id": "1297", + "kind": "property", + "name": "encryptInternalTraffic", + "serializedName": "encryptInternalTraffic", + "doc": "The setting to enable or disable encryption of internal Traffic.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AdvancedSettings.encryptInternalTraffic", + "serializationOptions": { + "$id": "1298", + "json": { + "$id": "1299", + "name": "encryptInternalTraffic" + } + } + }, + { + "$id": "1300", + "kind": "property", + "name": "internalCerts", + "serializedName": "internalCerts", + "doc": "Certificate rotation and private key configuration.", + "type": { + "$id": "1301", + "kind": "model", + "name": "CertManagerCertConfig", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertOptions", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Cert Manager Cert properties", + "decorators": [], + "properties": [ + { + "$id": "1302", + "kind": "property", + "name": "duration", + "serializedName": "duration", + "doc": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.", + "type": { + "$id": "1303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertOptions.duration", + "serializationOptions": { + "$id": "1304", + "json": { + "$id": "1305", + "name": "duration" + } + } + }, + { + "$id": "1306", + "kind": "property", + "name": "renewBefore", + "serializedName": "renewBefore", + "doc": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.", + "type": { + "$id": "1307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertOptions.renewBefore", + "serializationOptions": { + "$id": "1308", + "json": { + "$id": "1309", + "name": "renewBefore" + } + } + }, + { + "$id": "1310", + "kind": "property", + "name": "privateKey", + "serializedName": "privateKey", + "doc": "Configuration of certificate private key.", + "type": { + "$ref": "1204" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.CertManagerCertOptions.privateKey", + "serializationOptions": { + "$id": "1311", + "json": { + "$id": "1312", + "name": "privateKey" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.AdvancedSettings.internalCerts", + "serializationOptions": { + "$id": "1313", + "json": { + "$id": "1314", + "name": "internalCerts" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.advanced", + "serializationOptions": { + "$id": "1315", + "json": { + "$id": "1316", + "name": "advanced" + } + } + }, + { + "$id": "1317", + "kind": "property", + "name": "cardinality", + "serializedName": "cardinality", + "doc": "The cardinality details of the broker.", + "type": { + "$id": "1318", + "kind": "model", + "name": "BrokerCardinality", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Cardinality", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Cardinality properties", + "decorators": [], + "properties": [ + { + "$id": "1319", + "kind": "property", + "name": "backendChain", + "serializedName": "backendChain", + "doc": "The backend broker desired properties", + "type": { + "$id": "1320", + "kind": "model", + "name": "BrokerBackendChain", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BackendChain", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Desired properties of the backend instances of the broker", + "decorators": [], + "properties": [ + { + "$id": "1321", + "kind": "property", + "name": "partitions", + "serializedName": "partitions", + "doc": "The desired number of physical backend partitions.", + "type": { + "$id": "1322", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BackendChain.partitions", + "serializationOptions": { + "$id": "1323", + "json": { + "$id": "1324", + "name": "partitions" + } + } + }, + { + "$id": "1325", + "kind": "property", + "name": "redundancyFactor", + "serializedName": "redundancyFactor", + "doc": "The desired numbers of backend replicas (pods) in a physical partition.", + "type": { + "$id": "1326", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BackendChain.redundancyFactor", + "serializationOptions": { + "$id": "1327", + "json": { + "$id": "1328", + "name": "redundancyFactor" + } + } + }, + { + "$id": "1329", + "kind": "property", + "name": "workers", + "serializedName": "workers", + "doc": "Number of logical backend workers per replica (pod).", + "type": { + "$id": "1330", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BackendChain.workers", + "serializationOptions": { + "$id": "1331", + "json": { + "$id": "1332", + "name": "workers" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Cardinality.backendChain", + "serializationOptions": { + "$id": "1333", + "json": { + "$id": "1334", + "name": "backendChain" + } + } + }, + { + "$id": "1335", + "kind": "property", + "name": "frontend", + "serializedName": "frontend", + "doc": "The frontend desired properties", + "type": { + "$id": "1336", + "kind": "model", + "name": "BrokerFrontend", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Frontend", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The desired properties of the frontend instances of the Broker", + "decorators": [], + "properties": [ + { + "$id": "1337", + "kind": "property", + "name": "replicas", + "serializedName": "replicas", + "doc": "The desired number of frontend instances (pods).", + "type": { + "$id": "1338", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Frontend.replicas", + "serializationOptions": { + "$id": "1339", + "json": { + "$id": "1340", + "name": "replicas" + } + } + }, + { + "$id": "1341", + "kind": "property", + "name": "workers", + "serializedName": "workers", + "doc": "Number of logical frontend workers per instance (pod).", + "type": { + "$id": "1342", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Frontend.workers", + "serializationOptions": { + "$id": "1343", + "json": { + "$id": "1344", + "name": "workers" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Cardinality.frontend", + "serializationOptions": { + "$id": "1345", + "json": { + "$id": "1346", + "name": "frontend" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.cardinality", + "serializationOptions": { + "$id": "1347", + "json": { + "$id": "1348", + "name": "cardinality" + } + } + }, + { + "$id": "1349", + "kind": "property", + "name": "diagnostics", + "serializedName": "diagnostics", + "doc": "Spec defines the desired identities of Broker diagnostics settings.", + "type": { + "$id": "1350", + "kind": "model", + "name": "BrokerDiagnostics", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerDiagnostics", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Diagnostic Setting properties", + "decorators": [], + "properties": [ + { + "$id": "1351", + "kind": "property", + "name": "logs", + "serializedName": "logs", + "doc": "Diagnostic log settings for the resource.", + "type": { + "$ref": "921" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerDiagnostics.logs", + "serializationOptions": { + "$id": "1352", + "json": { + "$id": "1353", + "name": "logs" + } + } + }, + { + "$id": "1354", + "kind": "property", + "name": "metrics", + "serializedName": "metrics", + "doc": "The metrics settings for the resource.", + "type": { + "$ref": "929" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerDiagnostics.metrics", + "serializationOptions": { + "$id": "1355", + "json": { + "$id": "1356", + "name": "metrics" + } + } + }, + { + "$id": "1357", + "kind": "property", + "name": "selfCheck", + "serializedName": "selfCheck", + "doc": "The self check properties.", + "type": { + "$id": "1358", + "kind": "model", + "name": "BrokerDiagnosticSelfCheck", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfCheck", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Diagnostic Self check properties", + "decorators": [], + "properties": [ + { + "$id": "1359", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "The toggle to enable/disable self check.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfCheck.mode", + "serializationOptions": { + "$id": "1360", + "json": { + "$id": "1361", + "name": "mode" + } + } + }, + { + "$id": "1362", + "kind": "property", + "name": "intervalSeconds", + "serializedName": "intervalSeconds", + "doc": "The self check interval.", + "type": { + "$id": "1363", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfCheck.intervalSeconds", + "serializationOptions": { + "$id": "1364", + "json": { + "$id": "1365", + "name": "intervalSeconds" + } + } + }, + { + "$id": "1366", + "kind": "property", + "name": "timeoutSeconds", + "serializedName": "timeoutSeconds", + "doc": "The timeout for self check.", + "type": { + "$id": "1367", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfCheck.timeoutSeconds", + "serializationOptions": { + "$id": "1368", + "json": { + "$id": "1369", + "name": "timeoutSeconds" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerDiagnostics.selfCheck", + "serializationOptions": { + "$id": "1370", + "json": { + "$id": "1371", + "name": "selfCheck" + } + } + }, + { + "$id": "1372", + "kind": "property", + "name": "traces", + "serializedName": "traces", + "doc": "The trace properties.", + "type": { + "$id": "1373", + "kind": "model", + "name": "BrokerDiagnosticTraces", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Traces", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Broker Diagnostic Trace properties", + "decorators": [], + "properties": [ + { + "$id": "1374", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "The toggle to enable/disable traces.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Traces.mode", + "serializationOptions": { + "$id": "1375", + "json": { + "$id": "1376", + "name": "mode" + } + } + }, + { + "$id": "1377", + "kind": "property", + "name": "cacheSizeMegabytes", + "serializedName": "cacheSizeMegabytes", + "doc": "The cache size in megabytes.", + "type": { + "$id": "1378", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Traces.cacheSizeMegabytes", + "serializationOptions": { + "$id": "1379", + "json": { + "$id": "1380", + "name": "cacheSizeMegabytes" + } + } + }, + { + "$id": "1381", + "kind": "property", + "name": "selfTracing", + "serializedName": "selfTracing", + "doc": "The self tracing properties.", + "type": { + "$id": "1382", + "kind": "model", + "name": "DiagnosticSelfTracing", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfTracing", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Diagnostic Self tracing properties", + "decorators": [], + "properties": [ + { + "$id": "1383", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "The toggle to enable/disable self tracing.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfTracing.mode", + "serializationOptions": { + "$id": "1384", + "json": { + "$id": "1385", + "name": "mode" + } + } + }, + { + "$id": "1386", + "kind": "property", + "name": "intervalSeconds", + "serializedName": "intervalSeconds", + "doc": "The self tracing interval.", + "type": { + "$id": "1387", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SelfTracing.intervalSeconds", + "serializationOptions": { + "$id": "1388", + "json": { + "$id": "1389", + "name": "intervalSeconds" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Traces.selfTracing", + "serializationOptions": { + "$id": "1390", + "json": { + "$id": "1391", + "name": "selfTracing" + } + } + }, + { + "$id": "1392", + "kind": "property", + "name": "spanChannelCapacity", + "serializedName": "spanChannelCapacity", + "doc": "The span channel capacity.", + "type": { + "$id": "1393", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Traces.spanChannelCapacity", + "serializationOptions": { + "$id": "1394", + "json": { + "$id": "1395", + "name": "spanChannelCapacity" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerDiagnostics.traces", + "serializationOptions": { + "$id": "1396", + "json": { + "$id": "1397", + "name": "traces" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.diagnostics", + "serializationOptions": { + "$id": "1398", + "json": { + "$id": "1399", + "name": "diagnostics" + } + } + }, + { + "$id": "1400", + "kind": "property", + "name": "diskBackedMessageBuffer", + "serializedName": "diskBackedMessageBuffer", + "doc": "Settings of Disk Backed Message Buffer.", + "type": { + "$id": "1401", + "kind": "model", + "name": "DiskBackedMessageBuffer", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiskBackedMessageBuffer", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "DiskBackedMessageBuffer properties", + "decorators": [], + "properties": [ + { + "$id": "1402", + "kind": "property", + "name": "maxSize", + "serializedName": "maxSize", + "doc": "The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See for details.", + "type": { + "$id": "1403", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiskBackedMessageBuffer.maxSize", + "serializationOptions": { + "$id": "1404", + "json": { + "$id": "1405", + "name": "maxSize" + } + } + }, + { + "$id": "1406", + "kind": "property", + "name": "ephemeralVolumeClaimSpec", + "serializedName": "ephemeralVolumeClaimSpec", + "doc": "Use the specified persistent volume claim template to mount a \"generic ephemeral volume\" for the message buffer. See for details.", + "type": { + "$id": "1407", + "kind": "model", + "name": "VolumeClaimSpec", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "VolumeClaimSpec properties", + "decorators": [], + "properties": [ + { + "$id": "1408", + "kind": "property", + "name": "volumeName", + "serializedName": "volumeName", + "doc": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": { + "$id": "1409", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.volumeName", + "serializationOptions": { + "$id": "1410", + "json": { + "$id": "1411", + "name": "volumeName" + } + } + }, + { + "$id": "1412", + "kind": "property", + "name": "volumeMode", + "serializedName": "volumeMode", + "doc": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", + "type": { + "$id": "1413", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.volumeMode", + "serializationOptions": { + "$id": "1414", + "json": { + "$id": "1415", + "name": "volumeMode" + } + } + }, + { + "$id": "1416", + "kind": "property", + "name": "storageClassName", + "serializedName": "storageClassName", + "doc": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": { + "$id": "1417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.storageClassName", + "serializationOptions": { + "$id": "1418", + "json": { + "$id": "1419", + "name": "storageClassName" + } + } + }, + { + "$id": "1420", + "kind": "property", + "name": "accessModes", + "serializedName": "accessModes", + "doc": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": { + "$id": "1421", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1422", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.accessModes", + "serializationOptions": { + "$id": "1423", + "json": { + "$id": "1424", + "name": "accessModes" + } + } + }, + { + "$id": "1425", + "kind": "property", + "name": "dataSource", + "serializedName": "dataSource", + "doc": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.", + "type": { + "$id": "1426", + "kind": "model", + "name": "LocalKubernetesReference", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.LocalKubernetesReference", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Kubernetes reference", + "decorators": [], + "properties": [ + { + "$id": "1427", + "kind": "property", + "name": "apiGroup", + "serializedName": "apiGroup", + "doc": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": { + "$id": "1428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.LocalKubernetesReference.apiGroup", + "serializationOptions": { + "$id": "1429", + "json": { + "$id": "1430", + "name": "apiGroup" + } + } + }, + { + "$id": "1431", + "kind": "property", + "name": "kind", + "serializedName": "kind", + "doc": "Kind is the type of resource being referenced", + "type": { + "$id": "1432", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.LocalKubernetesReference.kind", + "serializationOptions": { + "$id": "1433", + "json": { + "$id": "1434", + "name": "kind" + } + } + }, + { + "$id": "1435", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name is the name of resource being referenced", + "type": { + "$id": "1436", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.LocalKubernetesReference.name", + "serializationOptions": { + "$id": "1437", + "json": { + "$id": "1438", + "name": "name" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.dataSource", + "serializationOptions": { + "$id": "1439", + "json": { + "$id": "1440", + "name": "dataSource" + } + } + }, + { + "$id": "1441", + "kind": "property", + "name": "dataSourceRef", + "serializedName": "dataSourceRef", + "doc": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.", + "type": { + "$id": "1442", + "kind": "model", + "name": "KubernetesReference", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KubernetesReference", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Kubernetes reference", + "decorators": [], + "properties": [ + { + "$id": "1443", + "kind": "property", + "name": "apiGroup", + "serializedName": "apiGroup", + "doc": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": { + "$id": "1444", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KubernetesReference.apiGroup", + "serializationOptions": { + "$id": "1445", + "json": { + "$id": "1446", + "name": "apiGroup" + } + } + }, + { + "$id": "1447", + "kind": "property", + "name": "kind", + "serializedName": "kind", + "doc": "Kind is the type of resource being referenced", + "type": { + "$id": "1448", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KubernetesReference.kind", + "serializationOptions": { + "$id": "1449", + "json": { + "$id": "1450", + "name": "kind" + } + } + }, + { + "$id": "1451", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name is the name of resource being referenced", + "type": { + "$id": "1452", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KubernetesReference.name", + "serializationOptions": { + "$id": "1453", + "json": { + "$id": "1454", + "name": "name" + } + } + }, + { + "$id": "1455", + "kind": "property", + "name": "namespace", + "serializedName": "namespace", + "doc": "Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace.", + "type": { + "$id": "1456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.KubernetesReference.namespace", + "serializationOptions": { + "$id": "1457", + "json": { + "$id": "1458", + "name": "namespace" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.dataSourceRef", + "serializationOptions": { + "$id": "1459", + "json": { + "$id": "1460", + "name": "dataSourceRef" + } + } + }, + { + "$id": "1461", + "kind": "property", + "name": "resources", + "serializedName": "resources", + "doc": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": { + "$id": "1462", + "kind": "model", + "name": "VolumeClaimResourceRequirements", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimResourceRequirements", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "VolumeClaimResourceRequirements properties", + "decorators": [], + "properties": [ + { + "$id": "1463", + "kind": "property", + "name": "limits", + "serializedName": "limits", + "doc": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": { + "$id": "1464", + "kind": "dict", + "keyType": { + "$id": "1465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimResourceRequirements.limits", + "serializationOptions": { + "$id": "1467", + "json": { + "$id": "1468", + "name": "limits" + } + } + }, + { + "$id": "1469", + "kind": "property", + "name": "requests", + "serializedName": "requests", + "doc": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": { + "$id": "1470", + "kind": "dict", + "keyType": { + "$id": "1471", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1472", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimResourceRequirements.requests", + "serializationOptions": { + "$id": "1473", + "json": { + "$id": "1474", + "name": "requests" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.resources", + "serializationOptions": { + "$id": "1475", + "json": { + "$id": "1476", + "name": "resources" + } + } + }, + { + "$id": "1477", + "kind": "property", + "name": "selector", + "serializedName": "selector", + "doc": "A label query over volumes to consider for binding.", + "type": { + "$id": "1478", + "kind": "model", + "name": "VolumeClaimSpecSelector", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelector", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "VolumeClaimSpecSelector properties", + "decorators": [], + "properties": [ + { + "$id": "1479", + "kind": "property", + "name": "matchExpressions", + "serializedName": "matchExpressions", + "doc": "MatchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": { + "$id": "1480", + "kind": "array", + "name": "ArrayVolumeClaimSpecSelectorMatchExpressions", + "valueType": { + "$id": "1481", + "kind": "model", + "name": "VolumeClaimSpecSelectorMatchExpressions", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelectorMatchExpressions", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "VolumeClaimSpecSelectorMatchExpressions properties", + "decorators": [], + "properties": [ + { + "$id": "1482", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "key is the label key that the selector applies to.", + "type": { + "$id": "1483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelectorMatchExpressions.key", + "serializationOptions": { + "$id": "1484", + "json": { + "$id": "1485", + "name": "key" + } + } + }, + { + "$id": "1486", + "kind": "property", + "name": "operator", + "serializedName": "operator", + "doc": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": { + "$ref": "280" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelectorMatchExpressions.operator", + "serializationOptions": { + "$id": "1487", + "json": { + "$id": "1488", + "name": "operator" + } + } + }, + { + "$id": "1489", + "kind": "property", + "name": "values", + "serializedName": "values", + "doc": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": { + "$id": "1490", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1491", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelectorMatchExpressions.values", + "serializationOptions": { + "$id": "1492", + "json": { + "$id": "1493", + "name": "values" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelector.matchExpressions", + "serializationOptions": { + "$id": "1494", + "json": { + "$id": "1495", + "name": "matchExpressions" + } + } + }, + { + "$id": "1496", + "kind": "property", + "name": "matchLabels", + "serializedName": "matchLabels", + "doc": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": { + "$id": "1497", + "kind": "dict", + "keyType": { + "$id": "1498", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1499", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpecSelector.matchLabels", + "serializationOptions": { + "$id": "1500", + "json": { + "$id": "1501", + "name": "matchLabels" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.VolumeClaimSpec.selector", + "serializationOptions": { + "$id": "1502", + "json": { + "$id": "1503", + "name": "selector" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiskBackedMessageBuffer.ephemeralVolumeClaimSpec", + "serializationOptions": { + "$id": "1504", + "json": { + "$id": "1505", + "name": "ephemeralVolumeClaimSpec" + } + } + }, + { + "$id": "1506", + "kind": "property", + "name": "persistentVolumeClaimSpec", + "serializedName": "persistentVolumeClaimSpec", + "doc": "Use the specified persistent volume claim template to mount a persistent volume for the message buffer.", + "type": { + "$ref": "1407" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DiskBackedMessageBuffer.persistentVolumeClaimSpec", + "serializationOptions": { + "$id": "1507", + "json": { + "$id": "1508", + "name": "persistentVolumeClaimSpec" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.diskBackedMessageBuffer", + "serializationOptions": { + "$id": "1509", + "json": { + "$id": "1510", + "name": "diskBackedMessageBuffer" + } + } + }, + { + "$id": "1511", + "kind": "property", + "name": "generateResourceLimits", + "serializedName": "generateResourceLimits", + "doc": "This setting controls whether Kubernetes CPU resource limits are requested. Increasing the number of replicas or workers proportionally increases the amount of CPU resources requested. If this setting is enabled and there are insufficient CPU resources, an error will be emitted.", + "type": { + "$id": "1512", + "kind": "model", + "name": "GenerateResourceLimits", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.GenerateResourceLimits", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "GenerateResourceLimits properties", + "decorators": [], + "properties": [ + { + "$id": "1513", + "kind": "property", + "name": "cpu", + "serializedName": "cpu", + "doc": "The toggle to enable/disable cpu resource limits.", + "type": { + "$ref": "62" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.GenerateResourceLimits.cpu", + "serializationOptions": { + "$id": "1514", + "json": { + "$id": "1515", + "name": "cpu" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.generateResourceLimits", + "serializationOptions": { + "$id": "1516", + "json": { + "$id": "1517", + "name": "generateResourceLimits" + } + } + }, + { + "$id": "1518", + "kind": "property", + "name": "memoryProfile", + "serializedName": "memoryProfile", + "doc": "Memory profile of Broker.", + "type": { + "$ref": "290" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.memoryProfile", + "serializationOptions": { + "$id": "1519", + "json": { + "$id": "1520", + "name": "memoryProfile" + } + } + }, + { + "$id": "1521", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerProperties.provisioningState", + "serializationOptions": { + "$id": "1522", + "json": { + "$id": "1523", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResource.properties", + "serializationOptions": { + "$id": "1524", + "json": { + "$id": "1525", + "name": "properties" + } + } + }, + { + "$id": "1526", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerResource.extendedLocation", + "serializationOptions": { + "$id": "1527", + "json": { + "$id": "1528", + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "1259" + }, + { + "$ref": "1261" + }, + { + "$ref": "1263" + }, + { + "$ref": "1277" + }, + { + "$ref": "1301" + }, + { + "$ref": "1318" + }, + { + "$ref": "1320" + }, + { + "$ref": "1336" + }, + { + "$ref": "1350" + }, + { + "$ref": "1358" + }, + { + "$ref": "1373" + }, + { + "$ref": "1382" + }, + { + "$ref": "1401" + }, + { + "$ref": "1407" + }, + { + "$ref": "1426" + }, + { + "$ref": "1442" + }, + { + "$ref": "1462" + }, + { + "$ref": "1478" + }, + { + "$ref": "1481" + }, + { + "$ref": "1512" + }, + { + "$id": "1529", + "kind": "model", + "name": "BrokerResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a BrokerResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "1530", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The BrokerResource items on this page", + "type": { + "$id": "1531", + "kind": "array", + "name": "ArrayBrokerResource", + "valueType": { + "$ref": "1257" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1532", + "json": { + "$id": "1533", + "name": "value" + } + } + }, + { + "$id": "1534", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1535", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1536", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1537", + "json": { + "$id": "1538", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1539", + "kind": "model", + "name": "IotOperationsInstance", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A Instance resource is a logical container for a set of child resources.", + "decorators": [], + "baseModel": { + "$id": "1540", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.IotOperations", + "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'", + "decorators": [], + "baseModel": { + "$ref": "338" + }, + "properties": [ + { + "$id": "1541", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "1542", + "kind": "dict", + "keyType": { + "$id": "1543", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1544", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", + "serializationOptions": { + "$id": "1545", + "json": { + "$id": "1546", + "name": "tags" + } + } + }, + { + "$id": "1547", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "1548", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "$id": "1549", + "json": { + "$id": "1550", + "name": "location" + } + } + } + ] + }, + "properties": [ + { + "$id": "1551", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "1552", + "kind": "model", + "name": "IotOperationsInstanceProperties", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The properties of the Instance resource.", + "decorators": [], + "properties": [ + { + "$id": "1553", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "Detailed description of the Instance.", + "type": { + "$id": "1554", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties.description", + "serializationOptions": { + "$id": "1555", + "json": { + "$id": "1556", + "name": "description" + } + } + }, + { + "$id": "1557", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "126" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties.provisioningState", + "serializationOptions": { + "$id": "1558", + "json": { + "$id": "1559", + "name": "provisioningState" + } + } + }, + { + "$id": "1560", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "The Azure IoT Operations version.", + "type": { + "$id": "1561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties.version", + "serializationOptions": { + "$id": "1562", + "json": { + "$id": "1563", + "name": "version" + } + } + }, + { + "$id": "1564", + "kind": "property", + "name": "schemaRegistryRef", + "serializedName": "schemaRegistryRef", + "doc": "The reference to the Schema Registry for this AIO Instance.", + "type": { + "$id": "1565", + "kind": "model", + "name": "SchemaRegistryRef", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SchemaRegistryRef", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The reference to the Schema Registry for this AIO Instance.", + "decorators": [], + "properties": [ + { + "$id": "1566", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "The resource ID of the Schema Registry.", + "type": { + "$id": "1567", + "kind": "string", + "name": "SchemaRegistryID", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SchemaRegistryID", + "baseType": { + "$id": "1568", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.SchemaRegistryRef.resourceId", + "serializationOptions": { + "$id": "1570", + "json": { + "$id": "1571", + "name": "resourceId" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties.schemaRegistryRef", + "serializationOptions": { + "$id": "1572", + "json": { + "$id": "1573", + "name": "schemaRegistryRef" + } + } + }, + { + "$id": "1574", + "kind": "property", + "name": "features", + "serializedName": "features", + "doc": "The features of the AIO Instance.", + "type": { + "$id": "1575", + "kind": "dict", + "keyType": { + "$id": "1576", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1577", + "kind": "model", + "name": "InstanceFeature", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceFeature", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The features of the AIO Instance.", + "decorators": [], + "properties": [ + { + "$id": "1578", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "The state of the feature.", + "type": { + "$ref": "300" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceFeature.mode", + "serializationOptions": { + "$id": "1579", + "json": { + "$id": "1580", + "name": "mode" + } + } + }, + { + "$id": "1581", + "kind": "property", + "name": "settings", + "serializedName": "settings", + "doc": "The settings of the feature.", + "type": { + "$id": "1582", + "kind": "dict", + "keyType": { + "$id": "1583", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$ref": "62" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceFeature.settings", + "serializationOptions": { + "$id": "1584", + "json": { + "$id": "1585", + "name": "settings" + } + } + } + ] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceProperties.features", + "serializationOptions": { + "$id": "1586", + "json": { + "$id": "1587", + "name": "features" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceResource.properties", + "serializationOptions": { + "$id": "1588", + "json": { + "$id": "1589", + "name": "properties" + } + } + }, + { + "$id": "1590", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "doc": "Edge location of the resource.", + "type": { + "$ref": "679" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceResource.extendedLocation", + "serializationOptions": { + "$id": "1591", + "json": { + "$id": "1592", + "name": "extendedLocation" + } + } + }, + { + "$id": "1593", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "1594", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [], + "properties": [ + { + "$id": "1595", + "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": "1596", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", + "serializationOptions": { + "$id": "1598", + "json": { + "$id": "1599", + "name": "principalId" + } + } + }, + { + "$id": "1600", + "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": "1601", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", + "serializationOptions": { + "$id": "1603", + "json": { + "$id": "1604", + "name": "tenantId" + } + } + }, + { + "$id": "1605", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "308" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", + "serializationOptions": { + "$id": "1606", + "json": { + "$id": "1607", + "name": "type" + } + } + }, + { + "$id": "1608", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "1609", + "kind": "dict", + "keyType": { + "$id": "1610", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1611", + "kind": "nullable", + "type": { + "$id": "1612", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "User assigned identity properties", + "decorators": [], + "properties": [ + { + "$id": "1613", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "1614", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", + "serializationOptions": { + "$id": "1616", + "json": { + "$id": "1617", + "name": "clientId" + } + } + }, + { + "$id": "1618", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "1619", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", + "serializationOptions": { + "$id": "1621", + "json": { + "$id": "1622", + "name": "principalId" + } + } + } + ] + }, + "namespace": "Azure.ResourceManager.IotOperations" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "$id": "1623", + "json": { + "$id": "1624", + "name": "userAssignedIdentities" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstanceResource.identity", + "serializationOptions": { + "$id": "1625", + "json": { + "$id": "1626", + "name": "identity" + } + } + } + ] + }, + { + "$ref": "1552" + }, + { + "$ref": "1565" + }, + { + "$ref": "1577" + }, + { + "$ref": "1594" + }, + { + "$ref": "1612" + }, + { + "$ref": "1540" + }, + { + "$id": "1627", + "kind": "model", + "name": "InstancePatchModel", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstancePatchModel", + "usage": "Input,Json", + "doc": "The Instance update model.", + "decorators": [], + "properties": [ + { + "$id": "1628", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "1629", + "kind": "dict", + "keyType": { + "$id": "1630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstancePatchModel.tags", + "serializationOptions": { + "$id": "1632", + "json": { + "$id": "1633", + "name": "tags" + } + } + }, + { + "$id": "1634", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$ref": "1594" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.InstancePatchModel.identity", + "serializationOptions": { + "$id": "1635", + "json": { + "$id": "1636", + "name": "identity" + } + } + } + ] + }, + { + "$id": "1637", + "kind": "model", + "name": "InstanceResourceListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a InstanceResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "1638", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The InstanceResource items on this page", + "type": { + "$id": "1639", + "kind": "array", + "name": "ArrayInstanceResource", + "valueType": { + "$ref": "1539" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1640", + "json": { + "$id": "1641", + "name": "value" + } + } + }, + { + "$id": "1642", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1643", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1644", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1645", + "json": { + "$id": "1646", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1647", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", + "usage": "Output,Json", + "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "decorators": [], + "properties": [ + { + "$id": "1648", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "1649", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "1650", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "decorators": [], + "properties": [ + { + "$id": "1651", + "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": "1652", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "$id": "1653", + "json": { + "$id": "1654", + "name": "name" + } + } + }, + { + "$id": "1655", + "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": "1656", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "$id": "1657", + "json": { + "$id": "1658", + "name": "isDataAction" + } + } + }, + { + "$id": "1659", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "1660", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.IotOperations", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "1661", + "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": "1662", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "$id": "1663", + "json": { + "$id": "1664", + "name": "provider" + } + } + }, + { + "$id": "1665", + "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": "1666", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "$id": "1667", + "json": { + "$id": "1668", + "name": "resource" + } + } + }, + { + "$id": "1669", + "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": "1670", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "$id": "1671", + "json": { + "$id": "1672", + "name": "operation" + } + } + }, + { + "$id": "1673", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "1674", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "$id": "1675", + "json": { + "$id": "1676", + "name": "description" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "$id": "1677", + "json": { + "$id": "1678", + "name": "display" + } + } + }, + { + "$id": "1679", + "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": "318" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "$id": "1680", + "json": { + "$id": "1681", + "name": "origin" + } + } + }, + { + "$id": "1682", + "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": "326" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "$id": "1683", + "json": { + "$id": "1684", + "name": "actionType" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "$id": "1685", + "json": { + "$id": "1686", + "name": "value" + } + } + }, + { + "$id": "1687", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1688", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1689", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { + "$id": "1690", + "json": { + "$id": "1691", + "name": "nextLink" + } + } + } + ] + }, + { + "$ref": "1650" + }, + { + "$ref": "1660" + } + ], + "clients": [ + { + "$id": "1692", + "name": "IoTOperationsClient", + "namespace": "Azure.ResourceManager.IotOperations", + "doc": "Microsoft.IoTOperations Resource Provider management API.", + "operations": [], + "parameters": [ + { + "$id": "1693", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1694", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1695", + "type": { + "$id": "1696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations" + }, + { + "$id": "1697", + "name": "Operations", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "1698", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "1699", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1700", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1701", + "type": { + "$id": "1702", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1703", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1704", + "kind": "constant", + "valueType": { + "$id": "1705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1706", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1647" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.IoTOperations/operations", + "bufferResponse": true, + "paging": { + "$id": "1707", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1708", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "1709", + "kind": "http", + "name": "Operations_List", + "description": "Operations_List", + "filePath": "2025-04-01/Operations_List_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "1710", + "parameter": { + "$ref": "1699" + }, + "value": { + "$id": "1711", + "kind": "string", + "type": { + "$ref": "1700" + }, + "value": "2025-04-01" + } + } + ], + "responses": [ + { + "$id": "1712", + "response": { + "$ref": "1706" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1713", + "kind": "model", + "type": { + "$ref": "1647" + }, + "value": { + "$id": "1714", + "value": { + "$id": "1715", + "kind": "array", + "type": { + "$ref": "1649" + }, + "value": [ + { + "$id": "1716", + "kind": "model", + "type": { + "$ref": "1650" + }, + "value": { + "$id": "1717", + "name": { + "$id": "1718", + "kind": "string", + "type": { + "$ref": "1652" + }, + "value": "xzxqfusky" + }, + "isDataAction": { + "$id": "1719", + "kind": "boolean", + "type": { + "$ref": "1656" + }, + "value": true + }, + "display": { + "$id": "1720", + "kind": "model", + "type": { + "$ref": "1660" + }, + "value": { + "$id": "1721", + "provider": { + "$id": "1722", + "kind": "string", + "type": { + "$ref": "1662" + }, + "value": "lrveskajtuwf" + }, + "resource": { + "$id": "1723", + "kind": "string", + "type": { + "$ref": "1666" + }, + "value": "d" + }, + "operation": { + "$id": "1724", + "kind": "string", + "type": { + "$ref": "1670" + }, + "value": "icuckgobartrrgmirax" + }, + "description": { + "$id": "1725", + "kind": "string", + "type": { + "$ref": "1674" + }, + "value": "dsbfnxzvnoqdm" + } + } + }, + "origin": { + "$id": "1726", + "kind": "string", + "type": { + "$ref": "318" + }, + "value": "user" + }, + "actionType": { + "$id": "1727", + "kind": "string", + "type": { + "$ref": "326" + }, + "value": "Internal" + } + } + } + ] + }, + "nextLink": { + "$id": "1728", + "kind": "string", + "type": { + "$ref": "1688" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "1729", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1730", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1731", + "type": { + "$id": "1732", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Operations" + }, + { + "$id": "1733", + "name": "Instance", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "1734", + "name": "get", + "resourceName": "InstanceResource", + "doc": "Get a InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1735", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1736", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1737", + "type": { + "$id": "1738", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1739", + "name": "subscriptionId", + "nameInRequest": "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": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1742", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1743", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1744", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "1745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1746", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1747", + "kind": "constant", + "valueType": { + "$id": "1748", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1749", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1539" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.get", + "decorators": [], + "examples": [ + { + "$id": "1750", + "kind": "http", + "name": "Instance_Get", + "description": "Instance_Get", + "filePath": "2025-04-01/Instance_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "1751", + "parameter": { + "$ref": "1735" + }, + "value": { + "$id": "1752", + "kind": "string", + "type": { + "$ref": "1736" + }, + "value": "2025-04-01" + } + }, + { + "$id": "1753", + "parameter": { + "$ref": "1739" + }, + "value": { + "$id": "1754", + "kind": "string", + "type": { + "$ref": "1740" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "1755", + "parameter": { + "$ref": "1742" + }, + "value": { + "$id": "1756", + "kind": "string", + "type": { + "$ref": "1743" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "1757", + "parameter": { + "$ref": "1744" + }, + "value": { + "$id": "1758", + "kind": "string", + "type": { + "$ref": "1745" + }, + "value": "aio-instance" + } + } + ], + "responses": [ + { + "$id": "1759", + "response": { + "$ref": "1749" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1760", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "1761", + "properties": { + "$id": "1762", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "1763", + "schemaRegistryRef": { + "$id": "1764", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "1765", + "resourceId": { + "$id": "1766", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "1767", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "rlfvvnnhcypp" + }, + "provisioningState": { + "$id": "1768", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "1769", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "features": { + "$id": "1770", + "kind": "dict", + "type": { + "$ref": "1575" + }, + "value": { + "$id": "1771", + "dataFlows": { + "$id": "1772", + "kind": "model", + "type": { + "$ref": "1577" + }, + "value": { + "$id": "1773", + "mode": { + "$id": "1774", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Disabled" + } + } + }, + "akri": { + "$id": "1775", + "kind": "model", + "type": { + "$ref": "1577" + }, + "value": { + "$id": "1776", + "mode": { + "$id": "1777", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Preview" + } + } + }, + "mqttBroker": { + "$id": "1778", + "kind": "model", + "type": { + "$ref": "1577" + }, + "value": { + "$id": "1779", + "settings": { + "$id": "1780", + "kind": "dict", + "type": { + "$ref": "1582" + }, + "value": { + "$id": "1781", + "preview": { + "$id": "1782", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + } + } + } + } + } + } + }, + "extendedLocation": { + "$id": "1783", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "1784", + "name": { + "$id": "1785", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "1786", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "1787", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1788", + "type": { + "$id": "1789", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1790", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1791" + } + }, + "principalId": { + "$id": "1792", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "1793", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "tags": { + "$id": "1794", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "1795" + } + }, + "location": { + "$id": "1796", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "1797", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "1798", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "1799", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "1800", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "1801", + "createdBy": { + "$id": "1802", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "1803", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "1804", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "1805", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "1806", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1807", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1808", + "name": "createOrUpdate", + "resourceName": "InstanceResource", + "doc": "Create a InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1809", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1810", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1811", + "type": { + "$id": "1812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1813", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1814", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1815", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1816", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1818", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "1819", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1820", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1821", + "kind": "constant", + "valueType": { + "$id": "1822", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1823", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1824", + "kind": "constant", + "valueType": { + "$id": "1825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1826", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1539" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1827", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1539" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1828", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1539" + }, + "headers": [ + { + "$id": "1829", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "1830", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1831", + "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": "1832", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "1833", + "finalStateVia": 0, + "finalResponse": { + "$id": "1834", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1539" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "1835", + "kind": "http", + "name": "Instance_CreateOrUpdate", + "description": "Instance_CreateOrUpdate", + "filePath": "2025-04-01/Instance_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "1836", + "parameter": { + "$ref": "1809" + }, + "value": { + "$id": "1837", + "kind": "string", + "type": { + "$ref": "1810" + }, + "value": "2025-04-01" + } + }, + { + "$id": "1838", + "parameter": { + "$ref": "1813" + }, + "value": { + "$id": "1839", + "kind": "string", + "type": { + "$ref": "1814" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "1840", + "parameter": { + "$ref": "1816" + }, + "value": { + "$id": "1841", + "kind": "string", + "type": { + "$ref": "1817" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "1842", + "parameter": { + "$ref": "1818" + }, + "value": { + "$id": "1843", + "kind": "string", + "type": { + "$ref": "1819" + }, + "value": "aio-instance" + } + }, + { + "$id": "1844", + "parameter": { + "$ref": "1826" + }, + "value": { + "$id": "1845", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "1846", + "properties": { + "$id": "1847", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "1848", + "schemaRegistryRef": { + "$id": "1849", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "1850", + "resourceId": { + "$id": "1851", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "1852", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "kpqtgocs" + } + } + }, + "extendedLocation": { + "$id": "1853", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "1854", + "name": { + "$id": "1855", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "1856", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "1857", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1858", + "type": { + "$id": "1859", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1860", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1861" + } + } + } + }, + "tags": { + "$id": "1862", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "1863" + } + }, + "location": { + "$id": "1864", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + } + } + } + } + ], + "responses": [ + { + "$id": "1865", + "response": { + "$ref": "1827" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1866", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "1867", + "properties": { + "$id": "1868", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "1869", + "schemaRegistryRef": { + "$id": "1870", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "1871", + "resourceId": { + "$id": "1872", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "1873", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "kpqtgocs" + }, + "provisioningState": { + "$id": "1874", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "1875", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + } + } + }, + "extendedLocation": { + "$id": "1876", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "1877", + "name": { + "$id": "1878", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "1879", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "1880", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1881", + "type": { + "$id": "1882", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1883", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1884" + } + }, + "principalId": { + "$id": "1885", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "1886", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "tags": { + "$id": "1887", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "1888" + } + }, + "location": { + "$id": "1889", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "1890", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "1891", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "1892", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "1893", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "1894", + "createdBy": { + "$id": "1895", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "1896", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "1897", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "1898", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "1899", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1900", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "1901", + "response": { + "$ref": "1828" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1902", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "1903", + "properties": { + "$id": "1904", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "1905", + "schemaRegistryRef": { + "$id": "1906", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "1907", + "resourceId": { + "$id": "1908", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "1909", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "kpqtgocs" + }, + "provisioningState": { + "$id": "1910", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "1911", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + } + } + }, + "extendedLocation": { + "$id": "1912", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "1913", + "name": { + "$id": "1914", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "1915", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "1916", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1917", + "type": { + "$id": "1918", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1919", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1920" + } + }, + "principalId": { + "$id": "1921", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "1922", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "tags": { + "$id": "1923", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "1924" + } + }, + "location": { + "$id": "1925", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "1926", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "1927", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "1928", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "1929", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "1930", + "createdBy": { + "$id": "1931", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "1932", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "1933", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "1934", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "1935", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "1936", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1937", + "name": "update", + "resourceName": "InstanceResource", + "doc": "Update a InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1938", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1939", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1940", + "type": { + "$id": "1941", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1942", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1943", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1944", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1945", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1946", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1947", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "1948", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1949", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1950", + "kind": "constant", + "valueType": { + "$id": "1951", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1952", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1953", + "kind": "constant", + "valueType": { + "$id": "1954", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1955", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1627" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1956", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1539" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.update", + "decorators": [], + "examples": [ + { + "$id": "1957", + "kind": "http", + "name": "Instance_Update", + "description": "Instance_Update", + "filePath": "2025-04-01/Instance_Update_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "1958", + "parameter": { + "$ref": "1938" + }, + "value": { + "$id": "1959", + "kind": "string", + "type": { + "$ref": "1939" + }, + "value": "2025-04-01" + } + }, + { + "$id": "1960", + "parameter": { + "$ref": "1942" + }, + "value": { + "$id": "1961", + "kind": "string", + "type": { + "$ref": "1943" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "1962", + "parameter": { + "$ref": "1945" + }, + "value": { + "$id": "1963", + "kind": "string", + "type": { + "$ref": "1946" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "1964", + "parameter": { + "$ref": "1947" + }, + "value": { + "$id": "1965", + "kind": "string", + "type": { + "$ref": "1948" + }, + "value": "aio-instance" + } + }, + { + "$id": "1966", + "parameter": { + "$ref": "1955" + }, + "value": { + "$id": "1967", + "kind": "model", + "type": { + "$ref": "1627" + }, + "value": { + "$id": "1968", + "tags": { + "$id": "1969", + "kind": "dict", + "type": { + "$ref": "1629" + }, + "value": { + "$id": "1970" + } + }, + "identity": { + "$id": "1971", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1972", + "type": { + "$id": "1973", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1974", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1975" + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1976", + "response": { + "$ref": "1956" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1977", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "1978", + "properties": { + "$id": "1979", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "1980", + "schemaRegistryRef": { + "$id": "1981", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "1982", + "resourceId": { + "$id": "1983", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "1984", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "wwihkapmgjbyrtyaj" + }, + "provisioningState": { + "$id": "1985", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "1986", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + } + } + }, + "extendedLocation": { + "$id": "1987", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "1988", + "name": { + "$id": "1989", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "1990", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "1991", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "1992", + "type": { + "$id": "1993", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "1994", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "1995" + } + }, + "principalId": { + "$id": "1996", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "1997", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "tags": { + "$id": "1998", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "1999" + } + }, + "location": { + "$id": "2000", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "2001", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "2002", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "2003", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "2004", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2005", + "createdBy": { + "$id": "2006", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2007", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2008", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2009", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2010", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2011", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "2012", + "name": "delete", + "resourceName": "InstanceResource", + "doc": "Delete a InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2013", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2014", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2015", + "type": { + "$id": "2016", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2017", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2018", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2019", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2020", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2021", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2022", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "2023", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2024", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2025", + "kind": "constant", + "valueType": { + "$id": "2026", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2027", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "2028", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "2029", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "2030", + "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": "2031", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "2032", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}", + "bufferResponse": true, + "longRunning": { + "$id": "2033", + "finalStateVia": 1, + "finalResponse": { + "$id": "2034", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.delete", + "decorators": [], + "examples": [ + { + "$id": "2035", + "kind": "http", + "name": "Instance_Delete", + "description": "Instance_Delete", + "filePath": "2025-04-01/Instance_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "2036", + "parameter": { + "$ref": "2013" + }, + "value": { + "$id": "2037", + "kind": "string", + "type": { + "$ref": "2014" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2038", + "parameter": { + "$ref": "2017" + }, + "value": { + "$id": "2039", + "kind": "string", + "type": { + "$ref": "2018" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2040", + "parameter": { + "$ref": "2020" + }, + "value": { + "$id": "2041", + "kind": "string", + "type": { + "$ref": "2021" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "2042", + "parameter": { + "$ref": "2022" + }, + "value": { + "$id": "2043", + "kind": "string", + "type": { + "$ref": "2023" + }, + "value": "aio-instance" + } + } + ], + "responses": [ + { + "$id": "2044", + "response": { + "$ref": "2027" + }, + "statusCode": 202 + }, + { + "$id": "2045", + "response": { + "$ref": "2032" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "2046", + "name": "listByResourceGroup", + "resourceName": "InstanceResource", + "doc": "List InstanceResource resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "2047", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2048", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2049", + "type": { + "$id": "2050", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2051", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2052", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2053", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2054", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2055", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2056", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2057", + "kind": "constant", + "valueType": { + "$id": "2058", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2059", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1637" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances", + "bufferResponse": true, + "paging": { + "$id": "2060", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2061", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "2062", + "kind": "http", + "name": "Instance_ListByResourceGroup", + "description": "Instance_ListByResourceGroup", + "filePath": "2025-04-01/Instance_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "2063", + "parameter": { + "$ref": "2047" + }, + "value": { + "$id": "2064", + "kind": "string", + "type": { + "$ref": "2048" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2065", + "parameter": { + "$ref": "2051" + }, + "value": { + "$id": "2066", + "kind": "string", + "type": { + "$ref": "2052" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2067", + "parameter": { + "$ref": "2054" + }, + "value": { + "$id": "2068", + "kind": "string", + "type": { + "$ref": "2055" + }, + "value": "rgiotoperations" + } + } + ], + "responses": [ + { + "$id": "2069", + "response": { + "$ref": "2059" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2070", + "kind": "model", + "type": { + "$ref": "1637" + }, + "value": { + "$id": "2071", + "value": { + "$id": "2072", + "kind": "array", + "type": { + "$ref": "1639" + }, + "value": [ + { + "$id": "2073", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "2074", + "properties": { + "$id": "2075", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "2076", + "provisioningState": { + "$id": "2077", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "2078", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "schemaRegistryRef": { + "$id": "2079", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "2080", + "resourceId": { + "$id": "2081", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "2082", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "vmujggxdvxk" + } + } + }, + "extendedLocation": { + "$id": "2083", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2084", + "name": { + "$id": "2085", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2086", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "2087", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "2088", + "principalId": { + "$id": "2089", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "2090", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "type": { + "$id": "2091", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "2092", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "2093" + } + } + } + }, + "tags": { + "$id": "2094", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "2095" + } + }, + "location": { + "$id": "2096", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "2097", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "2098", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "2099", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "2100", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2101", + "createdBy": { + "$id": "2102", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2103", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2104", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2105", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2106", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2107", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2108", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "2109", + "name": "listBySubscription", + "resourceName": "InstanceResource", + "doc": "List InstanceResource resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "2110", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2112", + "type": { + "$id": "2113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2114", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2115", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2116", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2117", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2118", + "kind": "constant", + "valueType": { + "$id": "2119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2120", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1637" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTOperations/instances", + "bufferResponse": true, + "paging": { + "$id": "2121", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "2122", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance.listBySubscription", + "decorators": [], + "examples": [ + { + "$id": "2123", + "kind": "http", + "name": "Instance_ListBySubscription", + "description": "Instance_ListBySubscription", + "filePath": "2025-04-01/Instance_ListBySubscription_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "2124", + "parameter": { + "$ref": "2110" + }, + "value": { + "$id": "2125", + "kind": "string", + "type": { + "$ref": "2111" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2126", + "parameter": { + "$ref": "2114" + }, + "value": { + "$id": "2127", + "kind": "string", + "type": { + "$ref": "2115" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + } + ], + "responses": [ + { + "$id": "2128", + "response": { + "$ref": "2120" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2129", + "kind": "model", + "type": { + "$ref": "1637" + }, + "value": { + "$id": "2130", + "value": { + "$id": "2131", + "kind": "array", + "type": { + "$ref": "1639" + }, + "value": [ + { + "$id": "2132", + "kind": "model", + "type": { + "$ref": "1539" + }, + "value": { + "$id": "2133", + "properties": { + "$id": "2134", + "kind": "model", + "type": { + "$ref": "1552" + }, + "value": { + "$id": "2135", + "provisioningState": { + "$id": "2136", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + }, + "version": { + "$id": "2137", + "kind": "string", + "type": { + "$ref": "1561" + }, + "value": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "schemaRegistryRef": { + "$id": "2138", + "kind": "model", + "type": { + "$ref": "1565" + }, + "value": { + "$id": "2139", + "resourceId": { + "$id": "2140", + "kind": "string", + "type": { + "$ref": "1567" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + } + } + }, + "description": { + "$id": "2141", + "kind": "string", + "type": { + "$ref": "1554" + }, + "value": "empgqmbhvklcqlyahmdsjemlep" + } + } + }, + "extendedLocation": { + "$id": "2142", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2143", + "name": { + "$id": "2144", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2145", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "identity": { + "$id": "2146", + "kind": "model", + "type": { + "$ref": "1594" + }, + "value": { + "$id": "2147", + "principalId": { + "$id": "2148", + "kind": "string", + "type": { + "$ref": "1596" + }, + "value": "4a6e4195-75b8-4685-aa0c-0b5704779327" + }, + "tenantId": { + "$id": "2149", + "kind": "string", + "type": { + "$ref": "1601" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "type": { + "$id": "2150", + "kind": "string", + "type": { + "$ref": "308" + }, + "value": "None" + }, + "userAssignedIdentities": { + "$id": "2151", + "kind": "dict", + "type": { + "$ref": "1609" + }, + "value": { + "$id": "2152" + } + } + } + }, + "tags": { + "$id": "2153", + "kind": "dict", + "type": { + "$ref": "1542" + }, + "value": { + "$id": "2154" + } + }, + "location": { + "$id": "2155", + "kind": "string", + "type": { + "$ref": "1548" + }, + "value": "xvewadyhycrjpu" + }, + "id": { + "$id": "2156", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" + }, + "name": { + "$id": "2157", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "2158", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "2159", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2160", + "createdBy": { + "$id": "2161", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2162", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2163", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2164", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2165", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2166", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "2167", + "kind": "string", + "type": { + "$ref": "1643" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "2168", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "2169", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "2170", + "type": { + "$id": "2171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Instance" + }, + { + "$id": "2172", + "name": "Broker", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "2173", + "name": "get", + "resourceName": "BrokerResource", + "doc": "Get a BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2174", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2176", + "type": { + "$id": "2177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2178", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2179", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2181", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2183", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "2184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2185", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "2186", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2187", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2188", + "kind": "constant", + "valueType": { + "$id": "2189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2190", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1257" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Broker.get", + "decorators": [], + "examples": [ + { + "$id": "2191", + "kind": "http", + "name": "Broker_Get", + "description": "Broker_Get", + "filePath": "2025-04-01/Broker_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "2192", + "parameter": { + "$ref": "2174" + }, + "value": { + "$id": "2193", + "kind": "string", + "type": { + "$ref": "2175" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2194", + "parameter": { + "$ref": "2178" + }, + "value": { + "$id": "2195", + "kind": "string", + "type": { + "$ref": "2179" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2196", + "parameter": { + "$ref": "2181" + }, + "value": { + "$id": "2197", + "kind": "string", + "type": { + "$ref": "2182" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "2198", + "parameter": { + "$ref": "2183" + }, + "value": { + "$id": "2199", + "kind": "string", + "type": { + "$ref": "2184" + }, + "value": "resource-name123" + } + }, + { + "$id": "2200", + "parameter": { + "$ref": "2185" + }, + "value": { + "$id": "2201", + "kind": "string", + "type": { + "$ref": "2186" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "2202", + "response": { + "$ref": "2190" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2203", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2204", + "properties": { + "$id": "2205", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2206", + "advanced": { + "$id": "2207", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "2208", + "clients": { + "$id": "2209", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "2210", + "maxSessionExpirySeconds": { + "$id": "2211", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "2212", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "2213", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "2214", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "2215", + "length": { + "$id": "2216", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "2217", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "2218", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "2219", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "2220", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "2221", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "2222", + "duration": { + "$id": "2223", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "2224", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "2225", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "2226", + "algorithm": { + "$id": "2227", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "2228", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "2229", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2230", + "backendChain": { + "$id": "2231", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2232", + "partitions": { + "$id": "2233", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "2234", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "2235", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "2236", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2237", + "replicas": { + "$id": "2238", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2239", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "2240", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "2241", + "logs": { + "$id": "2242", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2243", + "level": { + "$id": "2244", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "2245", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "2246", + "prometheusPort": { + "$id": "2247", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "2248", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "2249", + "mode": { + "$id": "2250", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2251", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "2252", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "2253", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "2254", + "mode": { + "$id": "2255", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "2256", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "2257", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "2258", + "mode": { + "$id": "2259", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2260", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "2261", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2262", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2263", + "maxSize": { + "$id": "2264", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "2265", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2266", + "volumeName": { + "$id": "2267", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2268", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2269", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2270", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2271", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2272", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2273", + "apiGroup": { + "$id": "2274", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2275", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2276", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2277", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2278", + "apiGroup": { + "$id": "2279", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2280", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2281", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2282", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2283", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2284", + "limits": { + "$id": "2285", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2286", + "key2719": { + "$id": "2287", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2288", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2289", + "key2909": { + "$id": "2290", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2291", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2292", + "matchExpressions": { + "$id": "2293", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2294", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2295", + "key": { + "$id": "2296", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2297", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2298", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2299", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2300", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2301", + "key6673": { + "$id": "2302", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "2303", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2304", + "volumeName": { + "$id": "2305", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2306", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2307", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2308", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2309", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2310", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2311", + "apiGroup": { + "$id": "2312", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2313", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2314", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2315", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2316", + "apiGroup": { + "$id": "2317", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2318", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2319", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2320", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2321", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2322", + "limits": { + "$id": "2323", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2324", + "key2719": { + "$id": "2325", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2326", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2327", + "key2909": { + "$id": "2328", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2329", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2330", + "matchExpressions": { + "$id": "2331", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2332", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2333", + "key": { + "$id": "2334", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2335", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2336", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2337", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2338", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2339", + "key6673": { + "$id": "2340", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "2341", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2342", + "cpu": { + "$id": "2343", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2344", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "2345", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "2346", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2347", + "name": { + "$id": "2348", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2349", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "2350", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "2351", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "2352", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "2353", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2354", + "createdBy": { + "$id": "2355", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2356", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2357", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2358", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2359", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2360", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "2361", + "name": "createOrUpdate", + "resourceName": "BrokerResource", + "doc": "Create a BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "2362", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2363", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2364", + "type": { + "$id": "2365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2366", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2367", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2369", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2371", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "2372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2373", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "2374", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2375", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "2376", + "kind": "constant", + "valueType": { + "$id": "2377", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2378", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2379", + "kind": "constant", + "valueType": { + "$id": "2380", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2381", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1257" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2382", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1257" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "2383", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1257" + }, + "headers": [ + { + "$id": "2384", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "2385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "2386", + "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": "2387", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "2388", + "finalStateVia": 0, + "finalResponse": { + "$id": "2389", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1257" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Broker.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "2390", + "kind": "http", + "name": "Broker_CreateOrUpdate_Complex", + "description": "Broker_CreateOrUpdate_Complex", + "filePath": "2025-04-01/Broker_CreateOrUpdate_Complex.json", + "parameters": [ + { + "$id": "2391", + "parameter": { + "$ref": "2362" + }, + "value": { + "$id": "2392", + "kind": "string", + "type": { + "$ref": "2363" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2393", + "parameter": { + "$ref": "2366" + }, + "value": { + "$id": "2394", + "kind": "string", + "type": { + "$ref": "2367" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2395", + "parameter": { + "$ref": "2369" + }, + "value": { + "$id": "2396", + "kind": "string", + "type": { + "$ref": "2370" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "2397", + "parameter": { + "$ref": "2371" + }, + "value": { + "$id": "2398", + "kind": "string", + "type": { + "$ref": "2372" + }, + "value": "resource-name123" + } + }, + { + "$id": "2399", + "parameter": { + "$ref": "2373" + }, + "value": { + "$id": "2400", + "kind": "string", + "type": { + "$ref": "2374" + }, + "value": "resource-name123" + } + }, + { + "$id": "2401", + "parameter": { + "$ref": "2381" + }, + "value": { + "$id": "2402", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2403", + "properties": { + "$id": "2404", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2405", + "cardinality": { + "$id": "2406", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2407", + "backendChain": { + "$id": "2408", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2409", + "partitions": { + "$id": "2410", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 2 + }, + "redundancyFactor": { + "$id": "2411", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 2 + }, + "workers": { + "$id": "2412", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 2 + } + } + }, + "frontend": { + "$id": "2413", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2414", + "replicas": { + "$id": "2415", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2416", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 2 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2417", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2418", + "maxSize": { + "$id": "2419", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "50M" + } + } + }, + "generateResourceLimits": { + "$id": "2420", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2421", + "cpu": { + "$id": "2422", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2423", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Medium" + } + } + }, + "extendedLocation": { + "$id": "2424", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2425", + "name": { + "$id": "2426", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2427", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "2428", + "response": { + "$ref": "2382" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2429", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2430", + "properties": { + "$id": "2431", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2432", + "cardinality": { + "$id": "2433", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2434", + "backendChain": { + "$id": "2435", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2436", + "partitions": { + "$id": "2437", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 2 + }, + "redundancyFactor": { + "$id": "2438", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 2 + }, + "workers": { + "$id": "2439", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 2 + } + } + }, + "frontend": { + "$id": "2440", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2441", + "replicas": { + "$id": "2442", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2443", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 2 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2444", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2445", + "maxSize": { + "$id": "2446", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "50M" + } + } + }, + "generateResourceLimits": { + "$id": "2447", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2448", + "cpu": { + "$id": "2449", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2450", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Medium" + }, + "provisioningState": { + "$id": "2451", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "2452", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2453", + "name": { + "$id": "2454", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2455", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "2456", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "2457", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "2458", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "2459", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2460", + "createdBy": { + "$id": "2461", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2462", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2463", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2464", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2465", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2466", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "2467", + "response": { + "$ref": "2383" + }, + "statusCode": 201, + "bodyValue": { + "$id": "2468", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2469", + "properties": { + "$id": "2470", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2471", + "cardinality": { + "$id": "2472", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2473", + "backendChain": { + "$id": "2474", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2475", + "partitions": { + "$id": "2476", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 2 + }, + "redundancyFactor": { + "$id": "2477", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 2 + }, + "workers": { + "$id": "2478", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 2 + } + } + }, + "frontend": { + "$id": "2479", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2480", + "replicas": { + "$id": "2481", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2482", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 2 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2483", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2484", + "maxSize": { + "$id": "2485", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "50M" + } + } + }, + "generateResourceLimits": { + "$id": "2486", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2487", + "cpu": { + "$id": "2488", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2489", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Medium" + }, + "provisioningState": { + "$id": "2490", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Accepted" + } + } + }, + "extendedLocation": { + "$id": "2491", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2492", + "name": { + "$id": "2493", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2494", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "2495", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "2496", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "llptmlifnqqwairx" + }, + "type": { + "$id": "2497", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "qwrfzxjfxvismlqvigot" + }, + "systemData": { + "$id": "2498", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2499", + "createdBy": { + "$id": "2500", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2501", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2502", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2503", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2504", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2505", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "2506", + "kind": "http", + "name": "Broker_CreateOrUpdate", + "description": "Broker_CreateOrUpdate", + "filePath": "2025-04-01/Broker_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "2507", + "parameter": { + "$ref": "2362" + }, + "value": { + "$id": "2508", + "kind": "string", + "type": { + "$ref": "2363" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2509", + "parameter": { + "$ref": "2366" + }, + "value": { + "$id": "2510", + "kind": "string", + "type": { + "$ref": "2367" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2511", + "parameter": { + "$ref": "2369" + }, + "value": { + "$id": "2512", + "kind": "string", + "type": { + "$ref": "2370" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "2513", + "parameter": { + "$ref": "2371" + }, + "value": { + "$id": "2514", + "kind": "string", + "type": { + "$ref": "2372" + }, + "value": "resource-name123" + } + }, + { + "$id": "2515", + "parameter": { + "$ref": "2373" + }, + "value": { + "$id": "2516", + "kind": "string", + "type": { + "$ref": "2374" + }, + "value": "resource-name123" + } + }, + { + "$id": "2517", + "parameter": { + "$ref": "2381" + }, + "value": { + "$id": "2518", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2519", + "properties": { + "$id": "2520", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2521", + "advanced": { + "$id": "2522", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "2523", + "clients": { + "$id": "2524", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "2525", + "maxSessionExpirySeconds": { + "$id": "2526", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "2527", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "2528", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "2529", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "2530", + "length": { + "$id": "2531", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "2532", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "2533", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "2534", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "2535", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "2536", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "2537", + "duration": { + "$id": "2538", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "2539", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "2540", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "2541", + "algorithm": { + "$id": "2542", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "2543", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "2544", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2545", + "backendChain": { + "$id": "2546", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2547", + "partitions": { + "$id": "2548", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "2549", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "2550", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "2551", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2552", + "replicas": { + "$id": "2553", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2554", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "2555", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "2556", + "logs": { + "$id": "2557", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2558", + "level": { + "$id": "2559", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "2560", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "2561", + "prometheusPort": { + "$id": "2562", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "2563", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "2564", + "mode": { + "$id": "2565", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2566", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "2567", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "2568", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "2569", + "mode": { + "$id": "2570", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "2571", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "2572", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "2573", + "mode": { + "$id": "2574", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2575", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "2576", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2577", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2578", + "maxSize": { + "$id": "2579", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "2580", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2581", + "volumeName": { + "$id": "2582", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2583", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2584", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2585", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2586", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2587", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2588", + "apiGroup": { + "$id": "2589", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2590", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2591", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2592", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2593", + "apiGroup": { + "$id": "2594", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2595", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2596", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2597", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2598", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2599", + "limits": { + "$id": "2600", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2601", + "key2719": { + "$id": "2602", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2603", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2604", + "key2909": { + "$id": "2605", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2606", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2607", + "matchExpressions": { + "$id": "2608", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2609", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2610", + "key": { + "$id": "2611", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2612", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2613", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2614", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2615", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2616", + "key6673": { + "$id": "2617", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "2618", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2619", + "volumeName": { + "$id": "2620", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2621", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2622", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2623", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2624", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2625", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2626", + "apiGroup": { + "$id": "2627", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2628", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2629", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2630", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2631", + "apiGroup": { + "$id": "2632", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2633", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2634", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2635", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2636", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2637", + "limits": { + "$id": "2638", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2639", + "key2719": { + "$id": "2640", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2641", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2642", + "key2909": { + "$id": "2643", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2644", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2645", + "matchExpressions": { + "$id": "2646", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2647", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2648", + "key": { + "$id": "2649", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2650", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2651", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2652", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2653", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2654", + "key6673": { + "$id": "2655", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "2656", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2657", + "cpu": { + "$id": "2658", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2659", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + } + } + }, + "extendedLocation": { + "$id": "2660", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2661", + "name": { + "$id": "2662", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2663", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "2664", + "response": { + "$ref": "2382" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2665", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2666", + "properties": { + "$id": "2667", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2668", + "advanced": { + "$id": "2669", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "2670", + "clients": { + "$id": "2671", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "2672", + "maxSessionExpirySeconds": { + "$id": "2673", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "2674", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "2675", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "2676", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "2677", + "length": { + "$id": "2678", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "2679", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "2680", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "2681", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "2682", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "2683", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "2684", + "duration": { + "$id": "2685", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "2686", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "2687", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "2688", + "algorithm": { + "$id": "2689", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "2690", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "2691", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2692", + "backendChain": { + "$id": "2693", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2694", + "partitions": { + "$id": "2695", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "2696", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "2697", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "2698", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2699", + "replicas": { + "$id": "2700", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2701", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "2702", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "2703", + "logs": { + "$id": "2704", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2705", + "level": { + "$id": "2706", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "2707", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "2708", + "prometheusPort": { + "$id": "2709", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "2710", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "2711", + "mode": { + "$id": "2712", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2713", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "2714", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "2715", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "2716", + "mode": { + "$id": "2717", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "2718", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "2719", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "2720", + "mode": { + "$id": "2721", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2722", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "2723", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2724", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2725", + "maxSize": { + "$id": "2726", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "2727", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2728", + "volumeName": { + "$id": "2729", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2730", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2731", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2732", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2733", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2734", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2735", + "apiGroup": { + "$id": "2736", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2737", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2738", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2739", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2740", + "apiGroup": { + "$id": "2741", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2742", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2743", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2744", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2745", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2746", + "limits": { + "$id": "2747", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2748", + "key2719": { + "$id": "2749", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2750", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2751", + "key2909": { + "$id": "2752", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2753", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2754", + "matchExpressions": { + "$id": "2755", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2756", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2757", + "key": { + "$id": "2758", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2759", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2760", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2761", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2762", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2763", + "key6673": { + "$id": "2764", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "2765", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2766", + "volumeName": { + "$id": "2767", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2768", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2769", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2770", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2771", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2772", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2773", + "apiGroup": { + "$id": "2774", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2775", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2776", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2777", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2778", + "apiGroup": { + "$id": "2779", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2780", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2781", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2782", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2783", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2784", + "limits": { + "$id": "2785", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2786", + "key2719": { + "$id": "2787", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2788", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2789", + "key2909": { + "$id": "2790", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2791", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2792", + "matchExpressions": { + "$id": "2793", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2794", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2795", + "key": { + "$id": "2796", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2797", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2798", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2799", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2800", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2801", + "key6673": { + "$id": "2802", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "2803", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2804", + "cpu": { + "$id": "2805", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2806", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "2807", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "2808", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2809", + "name": { + "$id": "2810", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2811", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "2812", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "2813", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "2814", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "2815", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2816", + "createdBy": { + "$id": "2817", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2818", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2819", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2820", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2821", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2822", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "2823", + "response": { + "$ref": "2383" + }, + "statusCode": 201, + "bodyValue": { + "$id": "2824", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2825", + "properties": { + "$id": "2826", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2827", + "advanced": { + "$id": "2828", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "2829", + "clients": { + "$id": "2830", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "2831", + "maxSessionExpirySeconds": { + "$id": "2832", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "2833", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "2834", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "2835", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "2836", + "length": { + "$id": "2837", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "2838", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "2839", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "2840", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "2841", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "2842", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "2843", + "duration": { + "$id": "2844", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "2845", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "2846", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "2847", + "algorithm": { + "$id": "2848", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "2849", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "2850", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "2851", + "backendChain": { + "$id": "2852", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "2853", + "partitions": { + "$id": "2854", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "2855", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "2856", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "2857", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "2858", + "replicas": { + "$id": "2859", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "2860", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "2861", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "2862", + "logs": { + "$id": "2863", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2864", + "level": { + "$id": "2865", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "2866", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "2867", + "prometheusPort": { + "$id": "2868", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "2869", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "2870", + "mode": { + "$id": "2871", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2872", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "2873", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "2874", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "2875", + "mode": { + "$id": "2876", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "2877", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "2878", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "2879", + "mode": { + "$id": "2880", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "2881", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "2882", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "2883", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "2884", + "maxSize": { + "$id": "2885", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "2886", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2887", + "volumeName": { + "$id": "2888", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2889", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2890", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2891", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2892", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2893", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2894", + "apiGroup": { + "$id": "2895", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2896", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2897", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2898", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2899", + "apiGroup": { + "$id": "2900", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2901", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2902", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2903", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2904", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2905", + "limits": { + "$id": "2906", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2907", + "key2719": { + "$id": "2908", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2909", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2910", + "key2909": { + "$id": "2911", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2912", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2913", + "matchExpressions": { + "$id": "2914", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2915", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2916", + "key": { + "$id": "2917", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2918", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2919", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2920", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2921", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2922", + "key6673": { + "$id": "2923", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "2924", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "2925", + "volumeName": { + "$id": "2926", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "2927", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "2928", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "2929", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "2930", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "2931", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "2932", + "apiGroup": { + "$id": "2933", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "2934", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "2935", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "2936", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "2937", + "apiGroup": { + "$id": "2938", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "2939", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "2940", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "2941", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "2942", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "2943", + "limits": { + "$id": "2944", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "2945", + "key2719": { + "$id": "2946", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "2947", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "2948", + "key2909": { + "$id": "2949", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "2950", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "2951", + "matchExpressions": { + "$id": "2952", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "2953", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "2954", + "key": { + "$id": "2955", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "2956", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "2957", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "2958", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "2959", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "2960", + "key6673": { + "$id": "2961", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "2962", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "2963", + "cpu": { + "$id": "2964", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "2965", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "2966", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "2967", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "2968", + "name": { + "$id": "2969", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "2970", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "2971", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "2972", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "2973", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "2974", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "2975", + "createdBy": { + "$id": "2976", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "2977", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "2978", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "2979", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "2980", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2981", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "2982", + "kind": "http", + "name": "Broker_CreateOrUpdate_Minimal", + "description": "Broker_CreateOrUpdate_Minimal", + "filePath": "2025-04-01/Broker_CreateOrUpdate_Minimal.json", + "parameters": [ + { + "$id": "2983", + "parameter": { + "$ref": "2362" + }, + "value": { + "$id": "2984", + "kind": "string", + "type": { + "$ref": "2363" + }, + "value": "2025-04-01" + } + }, + { + "$id": "2985", + "parameter": { + "$ref": "2366" + }, + "value": { + "$id": "2986", + "kind": "string", + "type": { + "$ref": "2367" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "2987", + "parameter": { + "$ref": "2369" + }, + "value": { + "$id": "2988", + "kind": "string", + "type": { + "$ref": "2370" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "2989", + "parameter": { + "$ref": "2371" + }, + "value": { + "$id": "2990", + "kind": "string", + "type": { + "$ref": "2372" + }, + "value": "resource-name123" + } + }, + { + "$id": "2991", + "parameter": { + "$ref": "2373" + }, + "value": { + "$id": "2992", + "kind": "string", + "type": { + "$ref": "2374" + }, + "value": "resource-name123" + } + }, + { + "$id": "2993", + "parameter": { + "$ref": "2381" + }, + "value": { + "$id": "2994", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "2995", + "properties": { + "$id": "2996", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "2997", + "memoryProfile": { + "$id": "2998", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + } + } + }, + "extendedLocation": { + "$id": "2999", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3000", + "name": { + "$id": "3001", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3002", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "3003", + "response": { + "$ref": "2382" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3004", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3005", + "properties": { + "$id": "3006", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3007", + "advanced": { + "$id": "3008", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "3009", + "clients": { + "$id": "3010", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "3011", + "maxSessionExpirySeconds": { + "$id": "3012", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "3013", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "3014", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "3015", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "3016", + "length": { + "$id": "3017", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "3018", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "3019", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "3020", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "3021", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "3022", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "3023", + "duration": { + "$id": "3024", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "3025", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "3026", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3027", + "algorithm": { + "$id": "3028", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3029", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "3030", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3031", + "backendChain": { + "$id": "3032", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3033", + "partitions": { + "$id": "3034", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "3035", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "3036", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "3037", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3038", + "replicas": { + "$id": "3039", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3040", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "3041", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "3042", + "logs": { + "$id": "3043", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3044", + "level": { + "$id": "3045", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "3046", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "3047", + "prometheusPort": { + "$id": "3048", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "3049", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "3050", + "mode": { + "$id": "3051", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3052", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "3053", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "3054", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "3055", + "mode": { + "$id": "3056", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "3057", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "3058", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "3059", + "mode": { + "$id": "3060", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3061", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "3062", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "3063", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "3064", + "maxSize": { + "$id": "3065", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "3066", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3067", + "volumeName": { + "$id": "3068", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3069", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3070", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3071", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3072", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3073", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3074", + "apiGroup": { + "$id": "3075", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3076", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3077", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3078", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3079", + "apiGroup": { + "$id": "3080", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3081", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3082", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3083", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3084", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3085", + "limits": { + "$id": "3086", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3087", + "key2719": { + "$id": "3088", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3089", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3090", + "key2909": { + "$id": "3091", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3092", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3093", + "matchExpressions": { + "$id": "3094", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3095", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3096", + "key": { + "$id": "3097", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3098", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3099", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3100", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3101", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3102", + "key6673": { + "$id": "3103", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "3104", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3105", + "volumeName": { + "$id": "3106", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3107", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3108", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3109", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3110", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3111", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3112", + "apiGroup": { + "$id": "3113", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3114", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3115", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3116", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3117", + "apiGroup": { + "$id": "3118", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3119", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3120", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3121", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3122", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3123", + "limits": { + "$id": "3124", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3125", + "key2719": { + "$id": "3126", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3127", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3128", + "key2909": { + "$id": "3129", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3130", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3131", + "matchExpressions": { + "$id": "3132", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3133", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3134", + "key": { + "$id": "3135", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3136", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3137", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3138", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3139", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3140", + "key6673": { + "$id": "3141", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3142", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3143", + "cpu": { + "$id": "3144", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3145", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "3146", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3147", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3148", + "name": { + "$id": "3149", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3150", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3151", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "3152", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "3153", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "3154", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3155", + "createdBy": { + "$id": "3156", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3157", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3158", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3159", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3160", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3161", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "3162", + "response": { + "$ref": "2383" + }, + "statusCode": 201, + "bodyValue": { + "$id": "3163", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3164", + "properties": { + "$id": "3165", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3166", + "advanced": { + "$id": "3167", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "3168", + "clients": { + "$id": "3169", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "3170", + "maxSessionExpirySeconds": { + "$id": "3171", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "3172", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "3173", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "3174", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "3175", + "length": { + "$id": "3176", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "3177", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "3178", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "3179", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "3180", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "3181", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "3182", + "duration": { + "$id": "3183", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "3184", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "3185", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3186", + "algorithm": { + "$id": "3187", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3188", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "3189", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3190", + "backendChain": { + "$id": "3191", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3192", + "partitions": { + "$id": "3193", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "3194", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "3195", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "3196", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3197", + "replicas": { + "$id": "3198", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3199", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "3200", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "3201", + "logs": { + "$id": "3202", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3203", + "level": { + "$id": "3204", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "3205", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "3206", + "prometheusPort": { + "$id": "3207", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "3208", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "3209", + "mode": { + "$id": "3210", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3211", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "3212", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "3213", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "3214", + "mode": { + "$id": "3215", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "3216", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "3217", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "3218", + "mode": { + "$id": "3219", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3220", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "3221", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "3222", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "3223", + "maxSize": { + "$id": "3224", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "3225", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3226", + "volumeName": { + "$id": "3227", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3228", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3229", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3230", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3231", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3232", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3233", + "apiGroup": { + "$id": "3234", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3235", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3236", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3237", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3238", + "apiGroup": { + "$id": "3239", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3240", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3241", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3242", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3243", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3244", + "limits": { + "$id": "3245", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3246", + "key2719": { + "$id": "3247", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3248", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3249", + "key2909": { + "$id": "3250", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3251", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3252", + "matchExpressions": { + "$id": "3253", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3254", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3255", + "key": { + "$id": "3256", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3257", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3258", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3259", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3260", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3261", + "key6673": { + "$id": "3262", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "3263", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3264", + "volumeName": { + "$id": "3265", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3266", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3267", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3268", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3269", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3270", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3271", + "apiGroup": { + "$id": "3272", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3273", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3274", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3275", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3276", + "apiGroup": { + "$id": "3277", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3278", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3279", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3280", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3281", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3282", + "limits": { + "$id": "3283", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3284", + "key2719": { + "$id": "3285", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3286", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3287", + "key2909": { + "$id": "3288", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3289", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3290", + "matchExpressions": { + "$id": "3291", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3292", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3293", + "key": { + "$id": "3294", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3295", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3296", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3297", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3298", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3299", + "key6673": { + "$id": "3300", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3301", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3302", + "cpu": { + "$id": "3303", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3304", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "3305", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3306", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3307", + "name": { + "$id": "3308", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3309", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3310", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "3311", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "3312", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "3313", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3314", + "createdBy": { + "$id": "3315", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3316", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3317", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3318", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3319", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3320", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "3321", + "kind": "http", + "name": "Broker_CreateOrUpdate_Simple", + "description": "Broker_CreateOrUpdate_Simple", + "filePath": "2025-04-01/Broker_CreateOrUpdate_Simple.json", + "parameters": [ + { + "$id": "3322", + "parameter": { + "$ref": "2362" + }, + "value": { + "$id": "3323", + "kind": "string", + "type": { + "$ref": "2363" + }, + "value": "2025-04-01" + } + }, + { + "$id": "3324", + "parameter": { + "$ref": "2366" + }, + "value": { + "$id": "3325", + "kind": "string", + "type": { + "$ref": "2367" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "3326", + "parameter": { + "$ref": "2369" + }, + "value": { + "$id": "3327", + "kind": "string", + "type": { + "$ref": "2370" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "3328", + "parameter": { + "$ref": "2371" + }, + "value": { + "$id": "3329", + "kind": "string", + "type": { + "$ref": "2372" + }, + "value": "resource-name123" + } + }, + { + "$id": "3330", + "parameter": { + "$ref": "2373" + }, + "value": { + "$id": "3331", + "kind": "string", + "type": { + "$ref": "2374" + }, + "value": "resource-name123" + } + }, + { + "$id": "3332", + "parameter": { + "$ref": "2381" + }, + "value": { + "$id": "3333", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3334", + "properties": { + "$id": "3335", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3336", + "cardinality": { + "$id": "3337", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3338", + "backendChain": { + "$id": "3339", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3340", + "partitions": { + "$id": "3341", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 2 + }, + "redundancyFactor": { + "$id": "3342", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 2 + }, + "workers": { + "$id": "3343", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 2 + } + } + }, + "frontend": { + "$id": "3344", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3345", + "replicas": { + "$id": "3346", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3347", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 2 + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3348", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3349", + "cpu": { + "$id": "3350", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3351", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Low" + } + } + }, + "extendedLocation": { + "$id": "3352", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3353", + "name": { + "$id": "3354", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3355", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "3356", + "response": { + "$ref": "2382" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3357", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3358", + "properties": { + "$id": "3359", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3360", + "advanced": { + "$id": "3361", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "3362", + "clients": { + "$id": "3363", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "3364", + "maxSessionExpirySeconds": { + "$id": "3365", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "3366", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "3367", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "3368", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "3369", + "length": { + "$id": "3370", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "3371", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "3372", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "3373", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "3374", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "3375", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "3376", + "duration": { + "$id": "3377", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "3378", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "3379", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3380", + "algorithm": { + "$id": "3381", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3382", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "3383", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3384", + "backendChain": { + "$id": "3385", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3386", + "partitions": { + "$id": "3387", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "3388", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "3389", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "3390", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3391", + "replicas": { + "$id": "3392", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3393", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "3394", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "3395", + "logs": { + "$id": "3396", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3397", + "level": { + "$id": "3398", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "3399", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "3400", + "prometheusPort": { + "$id": "3401", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "3402", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "3403", + "mode": { + "$id": "3404", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3405", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "3406", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "3407", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "3408", + "mode": { + "$id": "3409", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "3410", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "3411", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "3412", + "mode": { + "$id": "3413", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3414", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "3415", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "3416", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "3417", + "maxSize": { + "$id": "3418", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "3419", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3420", + "volumeName": { + "$id": "3421", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3422", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3423", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3424", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3425", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3426", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3427", + "apiGroup": { + "$id": "3428", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3429", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3430", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3431", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3432", + "apiGroup": { + "$id": "3433", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3434", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3435", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3436", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3437", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3438", + "limits": { + "$id": "3439", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3440", + "key2719": { + "$id": "3441", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3442", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3443", + "key2909": { + "$id": "3444", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3445", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3446", + "matchExpressions": { + "$id": "3447", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3448", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3449", + "key": { + "$id": "3450", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3451", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3452", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3453", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3454", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3455", + "key6673": { + "$id": "3456", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "3457", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3458", + "volumeName": { + "$id": "3459", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3460", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3461", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3462", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3463", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3464", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3465", + "apiGroup": { + "$id": "3466", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3467", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3468", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3469", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3470", + "apiGroup": { + "$id": "3471", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3472", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3473", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3474", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3475", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3476", + "limits": { + "$id": "3477", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3478", + "key2719": { + "$id": "3479", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3480", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3481", + "key2909": { + "$id": "3482", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3483", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3484", + "matchExpressions": { + "$id": "3485", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3486", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3487", + "key": { + "$id": "3488", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3489", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3490", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3491", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3492", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3493", + "key6673": { + "$id": "3494", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3495", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3496", + "cpu": { + "$id": "3497", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3498", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "3499", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3500", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3501", + "name": { + "$id": "3502", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3503", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3504", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "3505", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "3506", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "3507", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3508", + "createdBy": { + "$id": "3509", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3510", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3511", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3512", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3513", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3514", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "3515", + "response": { + "$ref": "2383" + }, + "statusCode": 201, + "bodyValue": { + "$id": "3516", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3517", + "properties": { + "$id": "3518", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3519", + "advanced": { + "$id": "3520", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "3521", + "clients": { + "$id": "3522", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "3523", + "maxSessionExpirySeconds": { + "$id": "3524", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "3525", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "3526", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "3527", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "3528", + "length": { + "$id": "3529", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "3530", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "3531", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "3532", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "3533", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "3534", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "3535", + "duration": { + "$id": "3536", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "3537", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "3538", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3539", + "algorithm": { + "$id": "3540", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3541", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "3542", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3543", + "backendChain": { + "$id": "3544", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3545", + "partitions": { + "$id": "3546", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "3547", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "3548", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "3549", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3550", + "replicas": { + "$id": "3551", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3552", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "3553", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "3554", + "logs": { + "$id": "3555", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3556", + "level": { + "$id": "3557", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "3558", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "3559", + "prometheusPort": { + "$id": "3560", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "3561", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "3562", + "mode": { + "$id": "3563", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3564", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "3565", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "3566", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "3567", + "mode": { + "$id": "3568", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "3569", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "3570", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "3571", + "mode": { + "$id": "3572", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3573", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "3574", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "3575", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "3576", + "maxSize": { + "$id": "3577", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "3578", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3579", + "volumeName": { + "$id": "3580", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3581", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3582", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3583", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3584", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3585", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3586", + "apiGroup": { + "$id": "3587", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3588", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3589", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3590", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3591", + "apiGroup": { + "$id": "3592", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3593", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3594", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3595", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3596", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3597", + "limits": { + "$id": "3598", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3599", + "key2719": { + "$id": "3600", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3601", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3602", + "key2909": { + "$id": "3603", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3604", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3605", + "matchExpressions": { + "$id": "3606", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3607", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3608", + "key": { + "$id": "3609", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3610", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3611", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3612", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3613", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3614", + "key6673": { + "$id": "3615", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "3616", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3617", + "volumeName": { + "$id": "3618", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3619", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3620", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3621", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3622", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3623", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3624", + "apiGroup": { + "$id": "3625", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3626", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3627", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3628", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3629", + "apiGroup": { + "$id": "3630", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3631", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3632", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3633", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3634", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3635", + "limits": { + "$id": "3636", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3637", + "key2719": { + "$id": "3638", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3639", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3640", + "key2909": { + "$id": "3641", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3642", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3643", + "matchExpressions": { + "$id": "3644", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3645", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3646", + "key": { + "$id": "3647", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3648", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3649", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3650", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3651", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3652", + "key6673": { + "$id": "3653", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3654", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3655", + "cpu": { + "$id": "3656", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3657", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "3658", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3659", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3660", + "name": { + "$id": "3661", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3662", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3663", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "3664", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "3665", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "3666", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3667", + "createdBy": { + "$id": "3668", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3669", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3670", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3671", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3672", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3673", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "3674", + "name": "delete", + "resourceName": "BrokerResource", + "doc": "Delete a BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "3675", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "3677", + "type": { + "$id": "3678", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3679", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3680", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3682", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3683", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3684", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "3685", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3686", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "3687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3688", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "3689", + "kind": "constant", + "valueType": { + "$id": "3690", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "3691", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "3692", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "3694", + "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": "3695", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "3696", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}", + "bufferResponse": true, + "longRunning": { + "$id": "3697", + "finalStateVia": 1, + "finalResponse": { + "$id": "3698", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Broker.delete", + "decorators": [], + "examples": [ + { + "$id": "3699", + "kind": "http", + "name": "Broker_Delete", + "description": "Broker_Delete", + "filePath": "2025-04-01/Broker_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "3700", + "parameter": { + "$ref": "3675" + }, + "value": { + "$id": "3701", + "kind": "string", + "type": { + "$ref": "3676" + }, + "value": "2025-04-01" + } + }, + { + "$id": "3702", + "parameter": { + "$ref": "3679" + }, + "value": { + "$id": "3703", + "kind": "string", + "type": { + "$ref": "3680" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "3704", + "parameter": { + "$ref": "3682" + }, + "value": { + "$id": "3705", + "kind": "string", + "type": { + "$ref": "3683" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "3706", + "parameter": { + "$ref": "3684" + }, + "value": { + "$id": "3707", + "kind": "string", + "type": { + "$ref": "3685" + }, + "value": "resource-name123" + } + }, + { + "$id": "3708", + "parameter": { + "$ref": "3686" + }, + "value": { + "$id": "3709", + "kind": "string", + "type": { + "$ref": "3687" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "3710", + "response": { + "$ref": "3691" + }, + "statusCode": 202 + }, + { + "$id": "3711", + "response": { + "$ref": "3696" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "3712", + "name": "listByResourceGroup", + "resourceName": "BrokerResource", + "doc": "List BrokerResource resources by InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "3713", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3714", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "3715", + "type": { + "$id": "3716", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3717", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3718", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3719", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3720", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3722", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "3723", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3724", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "3725", + "kind": "constant", + "valueType": { + "$id": "3726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "3727", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1529" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers", + "bufferResponse": true, + "paging": { + "$id": "3728", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "3729", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Broker.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "3730", + "kind": "http", + "name": "Broker_ListByResourceGroup", + "description": "Broker_ListByResourceGroup", + "filePath": "2025-04-01/Broker_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "3731", + "parameter": { + "$ref": "3713" + }, + "value": { + "$id": "3732", + "kind": "string", + "type": { + "$ref": "3714" + }, + "value": "2025-04-01" + } + }, + { + "$id": "3733", + "parameter": { + "$ref": "3717" + }, + "value": { + "$id": "3734", + "kind": "string", + "type": { + "$ref": "3718" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "3735", + "parameter": { + "$ref": "3720" + }, + "value": { + "$id": "3736", + "kind": "string", + "type": { + "$ref": "3721" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "3737", + "parameter": { + "$ref": "3722" + }, + "value": { + "$id": "3738", + "kind": "string", + "type": { + "$ref": "3723" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "3739", + "response": { + "$ref": "3727" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3740", + "kind": "model", + "type": { + "$ref": "1529" + }, + "value": { + "$id": "3741", + "value": { + "$id": "3742", + "kind": "array", + "type": { + "$ref": "1531" + }, + "value": [ + { + "$id": "3743", + "kind": "model", + "type": { + "$ref": "1257" + }, + "value": { + "$id": "3744", + "properties": { + "$id": "3745", + "kind": "model", + "type": { + "$ref": "1259" + }, + "value": { + "$id": "3746", + "advanced": { + "$id": "3747", + "kind": "model", + "type": { + "$ref": "1261" + }, + "value": { + "$id": "3748", + "clients": { + "$id": "3749", + "kind": "model", + "type": { + "$ref": "1263" + }, + "value": { + "$id": "3750", + "maxSessionExpirySeconds": { + "$id": "3751", + "kind": "number", + "type": { + "$ref": "1265" + }, + "value": 3859 + }, + "maxMessageExpirySeconds": { + "$id": "3752", + "kind": "number", + "type": { + "$ref": "1269" + }, + "value": 3263 + }, + "maxPacketSizeBytes": { + "$id": "3753", + "kind": "number", + "type": { + "$ref": "1273" + }, + "value": 3029 + }, + "subscriberQueueLimit": { + "$id": "3754", + "kind": "model", + "type": { + "$ref": "1277" + }, + "value": { + "$id": "3755", + "length": { + "$id": "3756", + "kind": "number", + "type": { + "$ref": "1279" + }, + "value": 6 + }, + "strategy": { + "$id": "3757", + "kind": "string", + "type": { + "$ref": "274" + }, + "value": "None" + } + } + }, + "maxReceiveMaximum": { + "$id": "3758", + "kind": "number", + "type": { + "$ref": "1288" + }, + "value": 2365 + }, + "maxKeepAliveSeconds": { + "$id": "3759", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 3744 + } + } + }, + "encryptInternalTraffic": { + "$id": "3760", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "internalCerts": { + "$id": "3761", + "kind": "model", + "type": { + "$ref": "1301" + }, + "value": { + "$id": "3762", + "duration": { + "$id": "3763", + "kind": "string", + "type": { + "$ref": "1303" + }, + "value": "bchrc" + }, + "renewBefore": { + "$id": "3764", + "kind": "string", + "type": { + "$ref": "1307" + }, + "value": "xkafmpgjfifkwwrhkswtopdnne" + }, + "privateKey": { + "$id": "3765", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3766", + "algorithm": { + "$id": "3767", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3768", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + } + } + } + } + }, + "cardinality": { + "$id": "3769", + "kind": "model", + "type": { + "$ref": "1318" + }, + "value": { + "$id": "3770", + "backendChain": { + "$id": "3771", + "kind": "model", + "type": { + "$ref": "1320" + }, + "value": { + "$id": "3772", + "partitions": { + "$id": "3773", + "kind": "number", + "type": { + "$ref": "1322" + }, + "value": 11 + }, + "redundancyFactor": { + "$id": "3774", + "kind": "number", + "type": { + "$ref": "1326" + }, + "value": 5 + }, + "workers": { + "$id": "3775", + "kind": "number", + "type": { + "$ref": "1330" + }, + "value": 15 + } + } + }, + "frontend": { + "$id": "3776", + "kind": "model", + "type": { + "$ref": "1336" + }, + "value": { + "$id": "3777", + "replicas": { + "$id": "3778", + "kind": "number", + "type": { + "$ref": "1338" + }, + "value": 2 + }, + "workers": { + "$id": "3779", + "kind": "number", + "type": { + "$ref": "1342" + }, + "value": 6 + } + } + } + } + }, + "diagnostics": { + "$id": "3780", + "kind": "model", + "type": { + "$ref": "1350" + }, + "value": { + "$id": "3781", + "logs": { + "$id": "3782", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3783", + "level": { + "$id": "3784", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "3785", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "3786", + "prometheusPort": { + "$id": "3787", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + }, + "selfCheck": { + "$id": "3788", + "kind": "model", + "type": { + "$ref": "1358" + }, + "value": { + "$id": "3789", + "mode": { + "$id": "3790", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3791", + "kind": "number", + "type": { + "$ref": "1363" + }, + "value": 158 + }, + "timeoutSeconds": { + "$id": "3792", + "kind": "number", + "type": { + "$ref": "1367" + }, + "value": 14 + } + } + }, + "traces": { + "$id": "3793", + "kind": "model", + "type": { + "$ref": "1373" + }, + "value": { + "$id": "3794", + "mode": { + "$id": "3795", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cacheSizeMegabytes": { + "$id": "3796", + "kind": "number", + "type": { + "$ref": "1378" + }, + "value": 28 + }, + "selfTracing": { + "$id": "3797", + "kind": "model", + "type": { + "$ref": "1382" + }, + "value": { + "$id": "3798", + "mode": { + "$id": "3799", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "intervalSeconds": { + "$id": "3800", + "kind": "number", + "type": { + "$ref": "1387" + }, + "value": 22 + } + } + }, + "spanChannelCapacity": { + "$id": "3801", + "kind": "number", + "type": { + "$ref": "1393" + }, + "value": 1000 + } + } + } + } + }, + "diskBackedMessageBuffer": { + "$id": "3802", + "kind": "model", + "type": { + "$ref": "1401" + }, + "value": { + "$id": "3803", + "maxSize": { + "$id": "3804", + "kind": "string", + "type": { + "$ref": "1403" + }, + "value": "500M" + }, + "ephemeralVolumeClaimSpec": { + "$id": "3805", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3806", + "volumeName": { + "$id": "3807", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3808", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3809", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3810", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3811", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3812", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3813", + "apiGroup": { + "$id": "3814", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3815", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3816", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3817", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3818", + "apiGroup": { + "$id": "3819", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3820", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3821", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3822", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3823", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3824", + "limits": { + "$id": "3825", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3826", + "key2719": { + "$id": "3827", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3828", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3829", + "key2909": { + "$id": "3830", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3831", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3832", + "matchExpressions": { + "$id": "3833", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3834", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3835", + "key": { + "$id": "3836", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3837", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3838", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3839", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3840", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3841", + "key6673": { + "$id": "3842", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + }, + "persistentVolumeClaimSpec": { + "$id": "3843", + "kind": "model", + "type": { + "$ref": "1407" + }, + "value": { + "$id": "3844", + "volumeName": { + "$id": "3845", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "c" + }, + "volumeMode": { + "$id": "3846", + "kind": "string", + "type": { + "$ref": "1413" + }, + "value": "rxvpksjuuugqnqzeiprocknbn" + }, + "storageClassName": { + "$id": "3847", + "kind": "string", + "type": { + "$ref": "1417" + }, + "value": "sseyhrjptkhrqvpdpjmornkqvon" + }, + "accessModes": { + "$id": "3848", + "kind": "array", + "type": { + "$ref": "1421" + }, + "value": [ + { + "$id": "3849", + "kind": "string", + "type": { + "$ref": "1422" + }, + "value": "nuluhigrbb" + } + ] + }, + "dataSource": { + "$id": "3850", + "kind": "model", + "type": { + "$ref": "1426" + }, + "value": { + "$id": "3851", + "apiGroup": { + "$id": "3852", + "kind": "string", + "type": { + "$ref": "1428" + }, + "value": "npqapyksvvpkohujx" + }, + "kind": { + "$id": "3853", + "kind": "string", + "type": { + "$ref": "1432" + }, + "value": "wazgyb" + }, + "name": { + "$id": "3854", + "kind": "string", + "type": { + "$ref": "1436" + }, + "value": "cwhsgxxcxsyppoefm" + } + } + }, + "dataSourceRef": { + "$id": "3855", + "kind": "model", + "type": { + "$ref": "1442" + }, + "value": { + "$id": "3856", + "apiGroup": { + "$id": "3857", + "kind": "string", + "type": { + "$ref": "1444" + }, + "value": "mnfnykznjjsoqpfsgdqioupt" + }, + "kind": { + "$id": "3858", + "kind": "string", + "type": { + "$ref": "1448" + }, + "value": "odynqzekfzsnawrctaxg" + }, + "name": { + "$id": "3859", + "kind": "string", + "type": { + "$ref": "1452" + }, + "value": "envszivbbmixbyddzg" + }, + "namespace": { + "$id": "3860", + "kind": "string", + "type": { + "$ref": "1456" + }, + "value": "etcfzvxqd" + } + } + }, + "resources": { + "$id": "3861", + "kind": "model", + "type": { + "$ref": "1462" + }, + "value": { + "$id": "3862", + "limits": { + "$id": "3863", + "kind": "dict", + "type": { + "$ref": "1464" + }, + "value": { + "$id": "3864", + "key2719": { + "$id": "3865", + "kind": "string", + "type": { + "$ref": "1466" + }, + "value": "hmphcrgctu" + } + } + }, + "requests": { + "$id": "3866", + "kind": "dict", + "type": { + "$ref": "1470" + }, + "value": { + "$id": "3867", + "key2909": { + "$id": "3868", + "kind": "string", + "type": { + "$ref": "1472" + }, + "value": "txocprnyrsgvhfrg" + } + } + } + } + }, + "selector": { + "$id": "3869", + "kind": "model", + "type": { + "$ref": "1478" + }, + "value": { + "$id": "3870", + "matchExpressions": { + "$id": "3871", + "kind": "array", + "type": { + "$ref": "1480" + }, + "value": [ + { + "$id": "3872", + "kind": "model", + "type": { + "$ref": "1481" + }, + "value": { + "$id": "3873", + "key": { + "$id": "3874", + "kind": "string", + "type": { + "$ref": "1483" + }, + "value": "e" + }, + "operator": { + "$id": "3875", + "kind": "string", + "type": { + "$ref": "280" + }, + "value": "In" + }, + "values": { + "$id": "3876", + "kind": "array", + "type": { + "$ref": "1490" + }, + "value": [ + { + "$id": "3877", + "kind": "string", + "type": { + "$ref": "1491" + }, + "value": "slmpajlywqvuyknipgztsonqyybt" + } + ] + } + } + } + ] + }, + "matchLabels": { + "$id": "3878", + "kind": "dict", + "type": { + "$ref": "1497" + }, + "value": { + "$id": "3879", + "key6673": { + "$id": "3880", + "kind": "string", + "type": { + "$ref": "1499" + }, + "value": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + } + } + } + } + } + }, + "generateResourceLimits": { + "$id": "3881", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3882", + "cpu": { + "$id": "3883", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "memoryProfile": { + "$id": "3884", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "Tiny" + }, + "provisioningState": { + "$id": "3885", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3886", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3887", + "name": { + "$id": "3888", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3889", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3890", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" + }, + "name": { + "$id": "3891", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "dowrkel" + }, + "type": { + "$id": "3892", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "xshjnsdgadygb" + }, + "systemData": { + "$id": "3893", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3894", + "createdBy": { + "$id": "3895", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3896", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3897", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3898", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3899", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3900", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "3901", + "kind": "string", + "type": { + "$ref": "1535" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "3902", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "3903", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "3904", + "type": { + "$id": "3905", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Broker" + }, + { + "$id": "3906", + "name": "BrokerListener", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "3907", + "name": "get", + "resourceName": "BrokerListenerResource", + "doc": "Get a BrokerListenerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "3908", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3909", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "3910", + "type": { + "$id": "3911", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3912", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3913", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3914", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3915", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3916", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3917", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "3918", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3919", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "3920", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3921", + "name": "listenerName", + "nameInRequest": "listenerName", + "doc": "Name of Instance broker listener resource", + "type": { + "$id": "3922", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3923", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "3924", + "kind": "constant", + "valueType": { + "$id": "3925", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "3926", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1140" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListener.get", + "decorators": [], + "examples": [ + { + "$id": "3927", + "kind": "http", + "name": "BrokerListener_Get", + "description": "BrokerListener_Get", + "filePath": "2025-04-01/BrokerListener_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "3928", + "parameter": { + "$ref": "3908" + }, + "value": { + "$id": "3929", + "kind": "string", + "type": { + "$ref": "3909" + }, + "value": "2025-04-01" + } + }, + { + "$id": "3930", + "parameter": { + "$ref": "3912" + }, + "value": { + "$id": "3931", + "kind": "string", + "type": { + "$ref": "3913" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "3932", + "parameter": { + "$ref": "3915" + }, + "value": { + "$id": "3933", + "kind": "string", + "type": { + "$ref": "3916" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "3934", + "parameter": { + "$ref": "3917" + }, + "value": { + "$id": "3935", + "kind": "string", + "type": { + "$ref": "3918" + }, + "value": "resource-name123" + } + }, + { + "$id": "3936", + "parameter": { + "$ref": "3919" + }, + "value": { + "$id": "3937", + "kind": "string", + "type": { + "$ref": "3920" + }, + "value": "resource-name123" + } + }, + { + "$id": "3938", + "parameter": { + "$ref": "3921" + }, + "value": { + "$id": "3939", + "kind": "string", + "type": { + "$ref": "3922" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "3940", + "response": { + "$ref": "3926" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3941", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "3942", + "properties": { + "$id": "3943", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "3944", + "serviceName": { + "$id": "3945", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "ports": { + "$id": "3946", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "3947", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "3948", + "authenticationRef": { + "$id": "3949", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "tjvdroaqqy" + }, + "authorizationRef": { + "$id": "3950", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "inxhvxnwswyrvt" + }, + "nodePort": { + "$id": "3951", + "kind": "number", + "type": { + "$ref": "1159" + }, + "value": 7281 + }, + "port": { + "$id": "3952", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1268 + }, + "protocol": { + "$id": "3953", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "tls": { + "$id": "3954", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "3955", + "mode": { + "$id": "3956", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "3957", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "3958", + "duration": { + "$id": "3959", + "kind": "string", + "type": { + "$ref": "1177" + }, + "value": "qmpeffoksron" + }, + "secretName": { + "$id": "3960", + "kind": "string", + "type": { + "$ref": "1181" + }, + "value": "oagi" + }, + "renewBefore": { + "$id": "3961", + "kind": "string", + "type": { + "$ref": "1185" + }, + "value": "hutno" + }, + "issuerRef": { + "$id": "3962", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "3963", + "group": { + "$id": "3964", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "kind": { + "$id": "3965", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + }, + "name": { + "$id": "3966", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "ocwoqpgucvjrsuudtjhb" + } + } + }, + "privateKey": { + "$id": "3967", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "3968", + "algorithm": { + "$id": "3969", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "3970", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + }, + "san": { + "$id": "3971", + "kind": "model", + "type": { + "$ref": "1214" + }, + "value": { + "$id": "3972", + "dns": { + "$id": "3973", + "kind": "array", + "type": { + "$ref": "1216" + }, + "value": [ + { + "$id": "3974", + "kind": "string", + "type": { + "$ref": "1217" + }, + "value": "xhvmhrrhgfsapocjeebqtnzarlj" + } + ] + }, + "ip": { + "$id": "3975", + "kind": "array", + "type": { + "$ref": "1221" + }, + "value": [ + { + "$id": "3976", + "kind": "string", + "type": { + "$ref": "1222" + }, + "value": "zbgugfzcgsmegevzktsnibyuyp" + } + ] + } + } + } + } + }, + "manual": { + "$id": "3977", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "3978", + "secretRef": { + "$id": "3979", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + } + } + } + ] + }, + "serviceType": { + "$id": "3980", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "ClusterIp" + }, + "provisioningState": { + "$id": "3981", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "3982", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "3983", + "name": { + "$id": "3984", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "3985", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "3986", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "3987", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "3988", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "3989", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "3990", + "createdBy": { + "$id": "3991", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "3992", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "3993", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "3994", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "3995", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3996", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "3997", + "name": "createOrUpdate", + "resourceName": "BrokerListenerResource", + "doc": "Create a BrokerListenerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "3998", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3999", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4000", + "type": { + "$id": "4001", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4002", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4003", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4004", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4005", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4006", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4007", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "4008", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4009", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "4010", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4011", + "name": "listenerName", + "nameInRequest": "listenerName", + "doc": "Name of Instance broker listener resource", + "type": { + "$id": "4012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4013", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "4014", + "kind": "constant", + "valueType": { + "$id": "4015", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4016", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4017", + "kind": "constant", + "valueType": { + "$id": "4018", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4019", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1140" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "4020", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1140" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "4021", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1140" + }, + "headers": [ + { + "$id": "4022", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4023", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "4024", + "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": "4025", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "4026", + "finalStateVia": 0, + "finalResponse": { + "$id": "4027", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1140" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListener.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "4028", + "kind": "http", + "name": "BrokerListener_CreateOrUpdate_Complex", + "description": "BrokerListener_CreateOrUpdate_Complex", + "filePath": "2025-04-01/BrokerListener_CreateOrUpdate_Complex.json", + "parameters": [ + { + "$id": "4029", + "parameter": { + "$ref": "3998" + }, + "value": { + "$id": "4030", + "kind": "string", + "type": { + "$ref": "3999" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4031", + "parameter": { + "$ref": "4002" + }, + "value": { + "$id": "4032", + "kind": "string", + "type": { + "$ref": "4003" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4033", + "parameter": { + "$ref": "4005" + }, + "value": { + "$id": "4034", + "kind": "string", + "type": { + "$ref": "4006" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4035", + "parameter": { + "$ref": "4007" + }, + "value": { + "$id": "4036", + "kind": "string", + "type": { + "$ref": "4008" + }, + "value": "resource-name123" + } + }, + { + "$id": "4037", + "parameter": { + "$ref": "4009" + }, + "value": { + "$id": "4038", + "kind": "string", + "type": { + "$ref": "4010" + }, + "value": "resource-name123" + } + }, + { + "$id": "4039", + "parameter": { + "$ref": "4011" + }, + "value": { + "$id": "4040", + "kind": "string", + "type": { + "$ref": "4012" + }, + "value": "resource-name123" + } + }, + { + "$id": "4041", + "parameter": { + "$ref": "4019" + }, + "value": { + "$id": "4042", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4043", + "properties": { + "$id": "4044", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4045", + "serviceType": { + "$id": "4046", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "LoadBalancer" + }, + "ports": { + "$id": "4047", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4048", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4049", + "port": { + "$id": "4050", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8080 + }, + "authenticationRef": { + "$id": "4051", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4052", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + } + } + }, + { + "$id": "4053", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4054", + "port": { + "$id": "4055", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8443 + }, + "authenticationRef": { + "$id": "4056", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4057", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "tls": { + "$id": "4058", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4059", + "mode": { + "$id": "4060", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4061", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4062", + "issuerRef": { + "$id": "4063", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4064", + "group": { + "$id": "4065", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "name": { + "$id": "4066", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "example-issuer" + }, + "kind": { + "$id": "4067", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + } + } + } + } + } + } + } + } + }, + { + "$id": "4068", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4069", + "port": { + "$id": "4070", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + }, + "authenticationRef": { + "$id": "4071", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + } + } + }, + { + "$id": "4072", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4073", + "port": { + "$id": "4074", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8883 + }, + "authenticationRef": { + "$id": "4075", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "tls": { + "$id": "4076", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4077", + "mode": { + "$id": "4078", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Manual" + }, + "manual": { + "$id": "4079", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4080", + "secretRef": { + "$id": "4081", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "example-secret" + } + } + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "4082", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4083", + "name": { + "$id": "4084", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4085", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "4086", + "response": { + "$ref": "4020" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4087", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4088", + "properties": { + "$id": "4089", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4090", + "serviceName": { + "$id": "4091", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "serviceType": { + "$id": "4092", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "LoadBalancer" + }, + "ports": { + "$id": "4093", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4094", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4095", + "port": { + "$id": "4096", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8080 + }, + "authenticationRef": { + "$id": "4097", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4098", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + } + } + }, + { + "$id": "4099", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4100", + "port": { + "$id": "4101", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8443 + }, + "authenticationRef": { + "$id": "4102", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4103", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "tls": { + "$id": "4104", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4105", + "mode": { + "$id": "4106", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4107", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4108", + "issuerRef": { + "$id": "4109", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4110", + "group": { + "$id": "4111", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "name": { + "$id": "4112", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "example-issuer" + }, + "kind": { + "$id": "4113", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + } + } + } + } + } + } + } + } + }, + { + "$id": "4114", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4115", + "port": { + "$id": "4116", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + }, + "authenticationRef": { + "$id": "4117", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + } + } + }, + { + "$id": "4118", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4119", + "port": { + "$id": "4120", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8883 + }, + "authenticationRef": { + "$id": "4121", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "tls": { + "$id": "4122", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4123", + "mode": { + "$id": "4124", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Manual" + }, + "manual": { + "$id": "4125", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4126", + "secretRef": { + "$id": "4127", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "example-secret" + } + } + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4128", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4129", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4130", + "name": { + "$id": "4131", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4132", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4133", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4134", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4135", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4136", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4137", + "createdBy": { + "$id": "4138", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4139", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4140", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4141", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4142", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4143", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "4144", + "response": { + "$ref": "4021" + }, + "statusCode": 201, + "bodyValue": { + "$id": "4145", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4146", + "properties": { + "$id": "4147", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4148", + "serviceName": { + "$id": "4149", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "serviceType": { + "$id": "4150", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "LoadBalancer" + }, + "ports": { + "$id": "4151", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4152", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4153", + "port": { + "$id": "4154", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8080 + }, + "authenticationRef": { + "$id": "4155", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4156", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + } + } + }, + { + "$id": "4157", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4158", + "port": { + "$id": "4159", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8443 + }, + "authenticationRef": { + "$id": "4160", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "protocol": { + "$id": "4161", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "tls": { + "$id": "4162", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4163", + "mode": { + "$id": "4164", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4165", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4166", + "issuerRef": { + "$id": "4167", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4168", + "group": { + "$id": "4169", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "name": { + "$id": "4170", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "example-issuer" + }, + "kind": { + "$id": "4171", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + } + } + } + } + } + } + } + } + }, + { + "$id": "4172", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4173", + "port": { + "$id": "4174", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + }, + "authenticationRef": { + "$id": "4175", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + } + } + }, + { + "$id": "4176", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4177", + "port": { + "$id": "4178", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 8883 + }, + "authenticationRef": { + "$id": "4179", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "example-authentication" + }, + "tls": { + "$id": "4180", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4181", + "mode": { + "$id": "4182", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Manual" + }, + "manual": { + "$id": "4183", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4184", + "secretRef": { + "$id": "4185", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "example-secret" + } + } + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4186", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4187", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4188", + "name": { + "$id": "4189", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4190", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4191", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4192", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4193", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4194", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4195", + "createdBy": { + "$id": "4196", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4197", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4198", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4199", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4200", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4201", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "4202", + "kind": "http", + "name": "BrokerListener_CreateOrUpdate", + "description": "BrokerListener_CreateOrUpdate", + "filePath": "2025-04-01/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "4203", + "parameter": { + "$ref": "3998" + }, + "value": { + "$id": "4204", + "kind": "string", + "type": { + "$ref": "3999" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4205", + "parameter": { + "$ref": "4002" + }, + "value": { + "$id": "4206", + "kind": "string", + "type": { + "$ref": "4003" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4207", + "parameter": { + "$ref": "4005" + }, + "value": { + "$id": "4208", + "kind": "string", + "type": { + "$ref": "4006" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4209", + "parameter": { + "$ref": "4007" + }, + "value": { + "$id": "4210", + "kind": "string", + "type": { + "$ref": "4008" + }, + "value": "resource-name123" + } + }, + { + "$id": "4211", + "parameter": { + "$ref": "4009" + }, + "value": { + "$id": "4212", + "kind": "string", + "type": { + "$ref": "4010" + }, + "value": "resource-name123" + } + }, + { + "$id": "4213", + "parameter": { + "$ref": "4011" + }, + "value": { + "$id": "4214", + "kind": "string", + "type": { + "$ref": "4012" + }, + "value": "resource-name123" + } + }, + { + "$id": "4215", + "parameter": { + "$ref": "4019" + }, + "value": { + "$id": "4216", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4217", + "properties": { + "$id": "4218", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4219", + "serviceName": { + "$id": "4220", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "ports": { + "$id": "4221", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4222", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4223", + "authenticationRef": { + "$id": "4224", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "tjvdroaqqy" + }, + "authorizationRef": { + "$id": "4225", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "inxhvxnwswyrvt" + }, + "nodePort": { + "$id": "4226", + "kind": "number", + "type": { + "$ref": "1159" + }, + "value": 7281 + }, + "port": { + "$id": "4227", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1268 + }, + "protocol": { + "$id": "4228", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "tls": { + "$id": "4229", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4230", + "mode": { + "$id": "4231", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4232", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4233", + "duration": { + "$id": "4234", + "kind": "string", + "type": { + "$ref": "1177" + }, + "value": "qmpeffoksron" + }, + "secretName": { + "$id": "4235", + "kind": "string", + "type": { + "$ref": "1181" + }, + "value": "oagi" + }, + "renewBefore": { + "$id": "4236", + "kind": "string", + "type": { + "$ref": "1185" + }, + "value": "hutno" + }, + "issuerRef": { + "$id": "4237", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4238", + "group": { + "$id": "4239", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "kind": { + "$id": "4240", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + }, + "name": { + "$id": "4241", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "ocwoqpgucvjrsuudtjhb" + } + } + }, + "privateKey": { + "$id": "4242", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "4243", + "algorithm": { + "$id": "4244", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "4245", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + }, + "san": { + "$id": "4246", + "kind": "model", + "type": { + "$ref": "1214" + }, + "value": { + "$id": "4247", + "dns": { + "$id": "4248", + "kind": "array", + "type": { + "$ref": "1216" + }, + "value": [ + { + "$id": "4249", + "kind": "string", + "type": { + "$ref": "1217" + }, + "value": "xhvmhrrhgfsapocjeebqtnzarlj" + } + ] + }, + "ip": { + "$id": "4250", + "kind": "array", + "type": { + "$ref": "1221" + }, + "value": [ + { + "$id": "4251", + "kind": "string", + "type": { + "$ref": "1222" + }, + "value": "zbgugfzcgsmegevzktsnibyuyp" + } + ] + } + } + } + } + }, + "manual": { + "$id": "4252", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4253", + "secretRef": { + "$id": "4254", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + } + } + } + ] + }, + "serviceType": { + "$id": "4255", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "ClusterIp" + } + } + }, + "extendedLocation": { + "$id": "4256", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4257", + "name": { + "$id": "4258", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4259", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "4260", + "response": { + "$ref": "4020" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4261", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4262", + "properties": { + "$id": "4263", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4264", + "serviceName": { + "$id": "4265", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "ports": { + "$id": "4266", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4267", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4268", + "authenticationRef": { + "$id": "4269", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "tjvdroaqqy" + }, + "authorizationRef": { + "$id": "4270", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "inxhvxnwswyrvt" + }, + "nodePort": { + "$id": "4271", + "kind": "number", + "type": { + "$ref": "1159" + }, + "value": 7281 + }, + "port": { + "$id": "4272", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1268 + }, + "protocol": { + "$id": "4273", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "tls": { + "$id": "4274", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4275", + "mode": { + "$id": "4276", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4277", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4278", + "duration": { + "$id": "4279", + "kind": "string", + "type": { + "$ref": "1177" + }, + "value": "qmpeffoksron" + }, + "secretName": { + "$id": "4280", + "kind": "string", + "type": { + "$ref": "1181" + }, + "value": "oagi" + }, + "renewBefore": { + "$id": "4281", + "kind": "string", + "type": { + "$ref": "1185" + }, + "value": "hutno" + }, + "issuerRef": { + "$id": "4282", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4283", + "group": { + "$id": "4284", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "kind": { + "$id": "4285", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + }, + "name": { + "$id": "4286", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "ocwoqpgucvjrsuudtjhb" + } + } + }, + "privateKey": { + "$id": "4287", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "4288", + "algorithm": { + "$id": "4289", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "4290", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + }, + "san": { + "$id": "4291", + "kind": "model", + "type": { + "$ref": "1214" + }, + "value": { + "$id": "4292", + "dns": { + "$id": "4293", + "kind": "array", + "type": { + "$ref": "1216" + }, + "value": [ + { + "$id": "4294", + "kind": "string", + "type": { + "$ref": "1217" + }, + "value": "xhvmhrrhgfsapocjeebqtnzarlj" + } + ] + }, + "ip": { + "$id": "4295", + "kind": "array", + "type": { + "$ref": "1221" + }, + "value": [ + { + "$id": "4296", + "kind": "string", + "type": { + "$ref": "1222" + }, + "value": "zbgugfzcgsmegevzktsnibyuyp" + } + ] + } + } + } + } + }, + "manual": { + "$id": "4297", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4298", + "secretRef": { + "$id": "4299", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + } + } + } + ] + }, + "serviceType": { + "$id": "4300", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "ClusterIp" + }, + "provisioningState": { + "$id": "4301", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4302", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4303", + "name": { + "$id": "4304", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4305", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4306", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4307", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4308", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4309", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4310", + "createdBy": { + "$id": "4311", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4312", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4313", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4314", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4315", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4316", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "4317", + "response": { + "$ref": "4021" + }, + "statusCode": 201, + "bodyValue": { + "$id": "4318", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4319", + "properties": { + "$id": "4320", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4321", + "serviceName": { + "$id": "4322", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "ports": { + "$id": "4323", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4324", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4325", + "authenticationRef": { + "$id": "4326", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "tjvdroaqqy" + }, + "authorizationRef": { + "$id": "4327", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "inxhvxnwswyrvt" + }, + "nodePort": { + "$id": "4328", + "kind": "number", + "type": { + "$ref": "1159" + }, + "value": 7281 + }, + "port": { + "$id": "4329", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1268 + }, + "protocol": { + "$id": "4330", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "tls": { + "$id": "4331", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4332", + "mode": { + "$id": "4333", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4334", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4335", + "duration": { + "$id": "4336", + "kind": "string", + "type": { + "$ref": "1177" + }, + "value": "qmpeffoksron" + }, + "secretName": { + "$id": "4337", + "kind": "string", + "type": { + "$ref": "1181" + }, + "value": "oagi" + }, + "renewBefore": { + "$id": "4338", + "kind": "string", + "type": { + "$ref": "1185" + }, + "value": "hutno" + }, + "issuerRef": { + "$id": "4339", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4340", + "group": { + "$id": "4341", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "kind": { + "$id": "4342", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + }, + "name": { + "$id": "4343", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "ocwoqpgucvjrsuudtjhb" + } + } + }, + "privateKey": { + "$id": "4344", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "4345", + "algorithm": { + "$id": "4346", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "4347", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + }, + "san": { + "$id": "4348", + "kind": "model", + "type": { + "$ref": "1214" + }, + "value": { + "$id": "4349", + "dns": { + "$id": "4350", + "kind": "array", + "type": { + "$ref": "1216" + }, + "value": [ + { + "$id": "4351", + "kind": "string", + "type": { + "$ref": "1217" + }, + "value": "xhvmhrrhgfsapocjeebqtnzarlj" + } + ] + }, + "ip": { + "$id": "4352", + "kind": "array", + "type": { + "$ref": "1221" + }, + "value": [ + { + "$id": "4353", + "kind": "string", + "type": { + "$ref": "1222" + }, + "value": "zbgugfzcgsmegevzktsnibyuyp" + } + ] + } + } + } + } + }, + "manual": { + "$id": "4354", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4355", + "secretRef": { + "$id": "4356", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + } + } + } + ] + }, + "serviceType": { + "$id": "4357", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "ClusterIp" + }, + "provisioningState": { + "$id": "4358", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4359", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4360", + "name": { + "$id": "4361", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4362", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4363", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4364", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4365", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4366", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4367", + "createdBy": { + "$id": "4368", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4369", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4370", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4371", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4372", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4373", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "4374", + "kind": "http", + "name": "BrokerListener_CreateOrUpdate_Simple", + "description": "BrokerListener_CreateOrUpdate_Simple", + "filePath": "2025-04-01/BrokerListener_CreateOrUpdate_Simple.json", + "parameters": [ + { + "$id": "4375", + "parameter": { + "$ref": "3998" + }, + "value": { + "$id": "4376", + "kind": "string", + "type": { + "$ref": "3999" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4377", + "parameter": { + "$ref": "4002" + }, + "value": { + "$id": "4378", + "kind": "string", + "type": { + "$ref": "4003" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4379", + "parameter": { + "$ref": "4005" + }, + "value": { + "$id": "4380", + "kind": "string", + "type": { + "$ref": "4006" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4381", + "parameter": { + "$ref": "4007" + }, + "value": { + "$id": "4382", + "kind": "string", + "type": { + "$ref": "4008" + }, + "value": "resource-name123" + } + }, + { + "$id": "4383", + "parameter": { + "$ref": "4009" + }, + "value": { + "$id": "4384", + "kind": "string", + "type": { + "$ref": "4010" + }, + "value": "resource-name123" + } + }, + { + "$id": "4385", + "parameter": { + "$ref": "4011" + }, + "value": { + "$id": "4386", + "kind": "string", + "type": { + "$ref": "4012" + }, + "value": "resource-name123" + } + }, + { + "$id": "4387", + "parameter": { + "$ref": "4019" + }, + "value": { + "$id": "4388", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4389", + "properties": { + "$id": "4390", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4391", + "ports": { + "$id": "4392", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4393", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4394", + "port": { + "$id": "4395", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "4396", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4397", + "name": { + "$id": "4398", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4399", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "4400", + "response": { + "$ref": "4020" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4401", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4402", + "properties": { + "$id": "4403", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4404", + "serviceName": { + "$id": "4405", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "serviceType": { + "$id": "4406", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "LoadBalancer" + }, + "ports": { + "$id": "4407", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4408", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4409", + "port": { + "$id": "4410", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + } + } + } + ] + }, + "provisioningState": { + "$id": "4411", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4412", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4413", + "name": { + "$id": "4414", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4415", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4416", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4417", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4418", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4419", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4420", + "createdBy": { + "$id": "4421", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4422", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4423", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4424", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4425", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4426", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "4427", + "response": { + "$ref": "4021" + }, + "statusCode": 201, + "bodyValue": { + "$id": "4428", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4429", + "properties": { + "$id": "4430", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4431", + "serviceName": { + "$id": "4432", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "serviceType": { + "$id": "4433", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "LoadBalancer" + }, + "ports": { + "$id": "4434", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4435", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4436", + "port": { + "$id": "4437", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1883 + } + } + } + ] + }, + "provisioningState": { + "$id": "4438", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4439", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4440", + "name": { + "$id": "4441", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4442", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4443", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4444", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4445", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4446", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4447", + "createdBy": { + "$id": "4448", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4449", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4450", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4451", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4452", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4453", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "4454", + "name": "delete", + "resourceName": "BrokerListenerResource", + "doc": "Delete a BrokerListenerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "4455", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4456", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4457", + "type": { + "$id": "4458", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4459", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4460", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4462", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4463", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4464", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "4465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4466", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "4467", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4468", + "name": "listenerName", + "nameInRequest": "listenerName", + "doc": "Name of Instance broker listener resource", + "type": { + "$id": "4469", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4470", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4471", + "kind": "constant", + "valueType": { + "$id": "4472", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "4473", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "4474", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "4476", + "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": "4477", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "4478", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}", + "bufferResponse": true, + "longRunning": { + "$id": "4479", + "finalStateVia": 1, + "finalResponse": { + "$id": "4480", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListener.delete", + "decorators": [], + "examples": [ + { + "$id": "4481", + "kind": "http", + "name": "BrokerListener_Delete", + "description": "BrokerListener_Delete", + "filePath": "2025-04-01/BrokerListener_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "4482", + "parameter": { + "$ref": "4455" + }, + "value": { + "$id": "4483", + "kind": "string", + "type": { + "$ref": "4456" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4484", + "parameter": { + "$ref": "4459" + }, + "value": { + "$id": "4485", + "kind": "string", + "type": { + "$ref": "4460" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4486", + "parameter": { + "$ref": "4462" + }, + "value": { + "$id": "4487", + "kind": "string", + "type": { + "$ref": "4463" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4488", + "parameter": { + "$ref": "4464" + }, + "value": { + "$id": "4489", + "kind": "string", + "type": { + "$ref": "4465" + }, + "value": "resource-name123" + } + }, + { + "$id": "4490", + "parameter": { + "$ref": "4466" + }, + "value": { + "$id": "4491", + "kind": "string", + "type": { + "$ref": "4467" + }, + "value": "resource-name123" + } + }, + { + "$id": "4492", + "parameter": { + "$ref": "4468" + }, + "value": { + "$id": "4493", + "kind": "string", + "type": { + "$ref": "4469" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "4494", + "response": { + "$ref": "4473" + }, + "statusCode": 202 + }, + { + "$id": "4495", + "response": { + "$ref": "4478" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "4496", + "name": "listByResourceGroup", + "resourceName": "BrokerListenerResource", + "doc": "List BrokerListenerResource resources by BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "4497", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4498", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4499", + "type": { + "$id": "4500", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4501", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4502", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4503", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4504", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4506", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "4507", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4508", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "4509", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4510", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4511", + "kind": "constant", + "valueType": { + "$id": "4512", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "4513", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1247" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners", + "bufferResponse": true, + "paging": { + "$id": "4514", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "4515", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListener.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "4516", + "kind": "http", + "name": "BrokerListener_ListByResourceGroup", + "description": "BrokerListener_ListByResourceGroup", + "filePath": "2025-04-01/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "4517", + "parameter": { + "$ref": "4497" + }, + "value": { + "$id": "4518", + "kind": "string", + "type": { + "$ref": "4498" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4519", + "parameter": { + "$ref": "4501" + }, + "value": { + "$id": "4520", + "kind": "string", + "type": { + "$ref": "4502" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4521", + "parameter": { + "$ref": "4504" + }, + "value": { + "$id": "4522", + "kind": "string", + "type": { + "$ref": "4505" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4523", + "parameter": { + "$ref": "4506" + }, + "value": { + "$id": "4524", + "kind": "string", + "type": { + "$ref": "4507" + }, + "value": "resource-name123" + } + }, + { + "$id": "4525", + "parameter": { + "$ref": "4508" + }, + "value": { + "$id": "4526", + "kind": "string", + "type": { + "$ref": "4509" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "4527", + "response": { + "$ref": "4513" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4528", + "kind": "model", + "type": { + "$ref": "1247" + }, + "value": { + "$id": "4529", + "value": { + "$id": "4530", + "kind": "array", + "type": { + "$ref": "1249" + }, + "value": [ + { + "$id": "4531", + "kind": "model", + "type": { + "$ref": "1140" + }, + "value": { + "$id": "4532", + "properties": { + "$id": "4533", + "kind": "model", + "type": { + "$ref": "1142" + }, + "value": { + "$id": "4534", + "serviceName": { + "$id": "4535", + "kind": "string", + "type": { + "$ref": "1144" + }, + "value": "tpfiszlapdpxktx" + }, + "ports": { + "$id": "4536", + "kind": "array", + "type": { + "$ref": "1148" + }, + "value": [ + { + "$id": "4537", + "kind": "model", + "type": { + "$ref": "1149" + }, + "value": { + "$id": "4538", + "authenticationRef": { + "$id": "4539", + "kind": "string", + "type": { + "$ref": "1151" + }, + "value": "tjvdroaqqy" + }, + "authorizationRef": { + "$id": "4540", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "inxhvxnwswyrvt" + }, + "nodePort": { + "$id": "4541", + "kind": "number", + "type": { + "$ref": "1159" + }, + "value": 7281 + }, + "port": { + "$id": "4542", + "kind": "number", + "type": { + "$ref": "1163" + }, + "value": 1268 + }, + "protocol": { + "$id": "4543", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "tls": { + "$id": "4544", + "kind": "model", + "type": { + "$ref": "1170" + }, + "value": { + "$id": "4545", + "mode": { + "$id": "4546", + "kind": "string", + "type": { + "$ref": "232" + }, + "value": "Automatic" + }, + "certManagerCertificateSpec": { + "$id": "4547", + "kind": "model", + "type": { + "$ref": "1175" + }, + "value": { + "$id": "4548", + "duration": { + "$id": "4549", + "kind": "string", + "type": { + "$ref": "1177" + }, + "value": "qmpeffoksron" + }, + "secretName": { + "$id": "4550", + "kind": "string", + "type": { + "$ref": "1181" + }, + "value": "oagi" + }, + "renewBefore": { + "$id": "4551", + "kind": "string", + "type": { + "$ref": "1185" + }, + "value": "hutno" + }, + "issuerRef": { + "$id": "4552", + "kind": "model", + "type": { + "$ref": "1189" + }, + "value": { + "$id": "4553", + "group": { + "$id": "4554", + "kind": "string", + "type": { + "$ref": "1191" + }, + "value": "jtmuladdkpasfpoyvewekmiy" + }, + "kind": { + "$id": "4555", + "kind": "string", + "type": { + "$ref": "238" + }, + "value": "Issuer" + }, + "name": { + "$id": "4556", + "kind": "string", + "type": { + "$ref": "1198" + }, + "value": "ocwoqpgucvjrsuudtjhb" + } + } + }, + "privateKey": { + "$id": "4557", + "kind": "model", + "type": { + "$ref": "1204" + }, + "value": { + "$id": "4558", + "algorithm": { + "$id": "4559", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "Ec256" + }, + "rotationPolicy": { + "$id": "4560", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "Always" + } + } + }, + "san": { + "$id": "4561", + "kind": "model", + "type": { + "$ref": "1214" + }, + "value": { + "$id": "4562", + "dns": { + "$id": "4563", + "kind": "array", + "type": { + "$ref": "1216" + }, + "value": [ + { + "$id": "4564", + "kind": "string", + "type": { + "$ref": "1217" + }, + "value": "xhvmhrrhgfsapocjeebqtnzarlj" + } + ] + }, + "ip": { + "$id": "4565", + "kind": "array", + "type": { + "$ref": "1221" + }, + "value": [ + { + "$id": "4566", + "kind": "string", + "type": { + "$ref": "1222" + }, + "value": "zbgugfzcgsmegevzktsnibyuyp" + } + ] + } + } + } + } + }, + "manual": { + "$id": "4567", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4568", + "secretRef": { + "$id": "4569", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + } + } + } + ] + }, + "serviceType": { + "$id": "4570", + "kind": "string", + "type": { + "$ref": "266" + }, + "value": "ClusterIp" + }, + "provisioningState": { + "$id": "4571", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4572", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4573", + "name": { + "$id": "4574", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4575", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4576", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" + }, + "name": { + "$id": "4577", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "hoqjaachratt" + }, + "type": { + "$id": "4578", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "hizbknwegcdaeh" + }, + "systemData": { + "$id": "4579", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4580", + "createdBy": { + "$id": "4581", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4582", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4583", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4584", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4585", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4586", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "4587", + "kind": "string", + "type": { + "$ref": "1253" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "4588", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "4589", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "4590", + "type": { + "$id": "4591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerListener" + }, + { + "$id": "4592", + "name": "BrokerAuthentication", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "4593", + "name": "get", + "resourceName": "BrokerAuthenticationResource", + "doc": "Get a BrokerAuthenticationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "4594", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4596", + "type": { + "$id": "4597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4598", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4599", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4600", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4601", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4602", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4603", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "4604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4605", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "4606", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4607", + "name": "authenticationName", + "nameInRequest": "authenticationName", + "doc": "Name of Instance broker authentication resource", + "type": { + "$id": "4608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4609", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4610", + "kind": "constant", + "valueType": { + "$id": "4611", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "4612", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1048" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthentication.get", + "decorators": [], + "examples": [ + { + "$id": "4613", + "kind": "http", + "name": "BrokerAuthentication_Get", + "description": "BrokerAuthentication_Get", + "filePath": "2025-04-01/BrokerAuthentication_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "4614", + "parameter": { + "$ref": "4594" + }, + "value": { + "$id": "4615", + "kind": "string", + "type": { + "$ref": "4595" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4616", + "parameter": { + "$ref": "4598" + }, + "value": { + "$id": "4617", + "kind": "string", + "type": { + "$ref": "4599" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4618", + "parameter": { + "$ref": "4601" + }, + "value": { + "$id": "4619", + "kind": "string", + "type": { + "$ref": "4602" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4620", + "parameter": { + "$ref": "4603" + }, + "value": { + "$id": "4621", + "kind": "string", + "type": { + "$ref": "4604" + }, + "value": "resource-name123" + } + }, + { + "$id": "4622", + "parameter": { + "$ref": "4605" + }, + "value": { + "$id": "4623", + "kind": "string", + "type": { + "$ref": "4606" + }, + "value": "resource-name123" + } + }, + { + "$id": "4624", + "parameter": { + "$ref": "4607" + }, + "value": { + "$id": "4625", + "kind": "string", + "type": { + "$ref": "4608" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "4626", + "response": { + "$ref": "4612" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4627", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4628", + "properties": { + "$id": "4629", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4630", + "authenticationMethods": { + "$id": "4631", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4632", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4633", + "method": { + "$id": "4634", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Custom" + }, + "customSettings": { + "$id": "4635", + "kind": "model", + "type": { + "$ref": "1058" + }, + "value": { + "$id": "4636", + "auth": { + "$id": "4637", + "kind": "model", + "type": { + "$ref": "1060" + }, + "value": { + "$id": "4638", + "x509": { + "$id": "4639", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4640", + "secretRef": { + "$id": "4641", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + }, + "caCertConfigMap": { + "$id": "4642", + "kind": "string", + "type": { + "$ref": "1072" + }, + "value": "pdecudefqyolvncbus" + }, + "endpoint": { + "$id": "4643", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "https://www.example.com" + }, + "headers": { + "$id": "4644", + "kind": "dict", + "type": { + "$ref": "1080" + }, + "value": { + "$id": "4645", + "key8518": { + "$id": "4646", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "bwityjy" + } + } + } + } + }, + "serviceAccountTokenSettings": { + "$id": "4647", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4648", + "audiences": { + "$id": "4649", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4650", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "jqyhyqatuydg" + } + ] + } + } + }, + "x509Settings": { + "$id": "4651", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4652", + "authorizationAttributes": { + "$id": "4653", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4654", + "key3384": { + "$id": "4655", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4656", + "attributes": { + "$id": "4657", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4658", + "key186": { + "$id": "4659", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "ucpajramsz" + } + } + }, + "subject": { + "$id": "4660", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "jpgwctfeixitptfgfnqhua" + } + } + } + } + }, + "trustedClientCaCert": { + "$id": "4661", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "vlctsqddl" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4662", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4663", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4664", + "name": { + "$id": "4665", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4666", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4667", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "4668", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "4669", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "4670", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4671", + "createdBy": { + "$id": "4672", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4673", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4674", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4675", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4676", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4677", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "4678", + "name": "createOrUpdate", + "resourceName": "BrokerAuthenticationResource", + "doc": "Create a BrokerAuthenticationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "4679", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4680", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4681", + "type": { + "$id": "4682", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4683", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4684", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4685", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4686", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4688", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "4689", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4690", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "4691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4692", + "name": "authenticationName", + "nameInRequest": "authenticationName", + "doc": "Name of Instance broker authentication resource", + "type": { + "$id": "4693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4694", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "4695", + "kind": "constant", + "valueType": { + "$id": "4696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4697", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4698", + "kind": "constant", + "valueType": { + "$id": "4699", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4700", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "1048" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "4701", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1048" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "4702", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "1048" + }, + "headers": [ + { + "$id": "4703", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "4704", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "4705", + "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": "4706", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "4707", + "finalStateVia": 0, + "finalResponse": { + "$id": "4708", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1048" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthentication.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "4709", + "kind": "http", + "name": "BrokerAuthentication_CreateOrUpdate_Complex", + "description": "BrokerAuthentication_CreateOrUpdate_Complex", + "filePath": "2025-04-01/BrokerAuthentication_CreateOrUpdate_Complex.json", + "parameters": [ + { + "$id": "4710", + "parameter": { + "$ref": "4679" + }, + "value": { + "$id": "4711", + "kind": "string", + "type": { + "$ref": "4680" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4712", + "parameter": { + "$ref": "4683" + }, + "value": { + "$id": "4713", + "kind": "string", + "type": { + "$ref": "4684" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4714", + "parameter": { + "$ref": "4686" + }, + "value": { + "$id": "4715", + "kind": "string", + "type": { + "$ref": "4687" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4716", + "parameter": { + "$ref": "4688" + }, + "value": { + "$id": "4717", + "kind": "string", + "type": { + "$ref": "4689" + }, + "value": "resource-name123" + } + }, + { + "$id": "4718", + "parameter": { + "$ref": "4690" + }, + "value": { + "$id": "4719", + "kind": "string", + "type": { + "$ref": "4691" + }, + "value": "resource-name123" + } + }, + { + "$id": "4720", + "parameter": { + "$ref": "4692" + }, + "value": { + "$id": "4721", + "kind": "string", + "type": { + "$ref": "4693" + }, + "value": "resource-name123" + } + }, + { + "$id": "4722", + "parameter": { + "$ref": "4700" + }, + "value": { + "$id": "4723", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4724", + "properties": { + "$id": "4725", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4726", + "authenticationMethods": { + "$id": "4727", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4728", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4729", + "method": { + "$id": "4730", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "ServiceAccountToken" + }, + "serviceAccountTokenSettings": { + "$id": "4731", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4732", + "audiences": { + "$id": "4733", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4734", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "aio-internal" + } + ] + } + } + } + } + }, + { + "$id": "4735", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4736", + "method": { + "$id": "4737", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "X509" + }, + "x509Settings": { + "$id": "4738", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4739", + "trustedClientCaCert": { + "$id": "4740", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "my-ca" + }, + "authorizationAttributes": { + "$id": "4741", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4742", + "root": { + "$id": "4743", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4744", + "subject": { + "$id": "4745", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Root CA Cert, OU = Engineering, C = US" + }, + "attributes": { + "$id": "4746", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4747", + "organization": { + "$id": "4748", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "contoso" + } + } + } + } + }, + "intermediate": { + "$id": "4749", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4750", + "subject": { + "$id": "4751", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Intermediate CA" + }, + "attributes": { + "$id": "4752", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4753", + "city": { + "$id": "4754", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "seattle" + }, + "foo": { + "$id": "4755", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "bar" + } + } + } + } + }, + "smart-fan": { + "$id": "4756", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4757", + "subject": { + "$id": "4758", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = smart-fan" + }, + "attributes": { + "$id": "4759", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4760", + "building": { + "$id": "4761", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "17" + } + } + } + } + } + } + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "4762", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4763", + "name": { + "$id": "4764", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4765", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "4766", + "response": { + "$ref": "4701" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4767", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4768", + "properties": { + "$id": "4769", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4770", + "authenticationMethods": { + "$id": "4771", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4772", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4773", + "method": { + "$id": "4774", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "ServiceAccountToken" + }, + "serviceAccountTokenSettings": { + "$id": "4775", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4776", + "audiences": { + "$id": "4777", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4778", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "aio-internal" + } + ] + } + } + } + } + }, + { + "$id": "4779", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4780", + "method": { + "$id": "4781", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "X509" + }, + "x509Settings": { + "$id": "4782", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4783", + "trustedClientCaCert": { + "$id": "4784", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "my-ca" + }, + "authorizationAttributes": { + "$id": "4785", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4786", + "root": { + "$id": "4787", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4788", + "subject": { + "$id": "4789", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Root CA Cert, OU = Engineering, C = US" + }, + "attributes": { + "$id": "4790", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4791", + "organization": { + "$id": "4792", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "contoso" + } + } + } + } + }, + "intermediate": { + "$id": "4793", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4794", + "subject": { + "$id": "4795", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Intermediate CA" + }, + "attributes": { + "$id": "4796", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4797", + "city": { + "$id": "4798", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "seattle" + }, + "foo": { + "$id": "4799", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "bar" + } + } + } + } + }, + "smart-fan": { + "$id": "4800", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4801", + "subject": { + "$id": "4802", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = smart-fan" + }, + "attributes": { + "$id": "4803", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4804", + "building": { + "$id": "4805", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "17" + } + } + } + } + } + } + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4806", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4807", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4808", + "name": { + "$id": "4809", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4810", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4811", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "4812", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "4813", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "4814", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4815", + "createdBy": { + "$id": "4816", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4817", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4818", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4819", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4820", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4821", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "4822", + "response": { + "$ref": "4702" + }, + "statusCode": 201, + "bodyValue": { + "$id": "4823", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4824", + "properties": { + "$id": "4825", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4826", + "authenticationMethods": { + "$id": "4827", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4828", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4829", + "method": { + "$id": "4830", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "ServiceAccountToken" + }, + "serviceAccountTokenSettings": { + "$id": "4831", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4832", + "audiences": { + "$id": "4833", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4834", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "aio-internal" + } + ] + } + } + } + } + }, + { + "$id": "4835", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4836", + "method": { + "$id": "4837", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "X509" + }, + "x509Settings": { + "$id": "4838", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4839", + "trustedClientCaCert": { + "$id": "4840", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "my-ca" + }, + "authorizationAttributes": { + "$id": "4841", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4842", + "root": { + "$id": "4843", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4844", + "subject": { + "$id": "4845", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Root CA Cert, OU = Engineering, C = US" + }, + "attributes": { + "$id": "4846", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4847", + "organization": { + "$id": "4848", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "contoso" + } + } + } + } + }, + "intermediate": { + "$id": "4849", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4850", + "subject": { + "$id": "4851", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = Contoso Intermediate CA" + }, + "attributes": { + "$id": "4852", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4853", + "city": { + "$id": "4854", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "seattle" + }, + "foo": { + "$id": "4855", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "bar" + } + } + } + } + }, + "smart-fan": { + "$id": "4856", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4857", + "subject": { + "$id": "4858", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "CN = smart-fan" + }, + "attributes": { + "$id": "4859", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4860", + "building": { + "$id": "4861", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "17" + } + } + } + } + } + } + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4862", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4863", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4864", + "name": { + "$id": "4865", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4866", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4867", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "4868", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "4869", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "4870", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4871", + "createdBy": { + "$id": "4872", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4873", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4874", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4875", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4876", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4877", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "4878", + "kind": "http", + "name": "BrokerAuthentication_CreateOrUpdate", + "description": "BrokerAuthentication_CreateOrUpdate", + "filePath": "2025-04-01/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "4879", + "parameter": { + "$ref": "4679" + }, + "value": { + "$id": "4880", + "kind": "string", + "type": { + "$ref": "4680" + }, + "value": "2025-04-01" + } + }, + { + "$id": "4881", + "parameter": { + "$ref": "4683" + }, + "value": { + "$id": "4882", + "kind": "string", + "type": { + "$ref": "4684" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "4883", + "parameter": { + "$ref": "4686" + }, + "value": { + "$id": "4884", + "kind": "string", + "type": { + "$ref": "4687" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "4885", + "parameter": { + "$ref": "4688" + }, + "value": { + "$id": "4886", + "kind": "string", + "type": { + "$ref": "4689" + }, + "value": "resource-name123" + } + }, + { + "$id": "4887", + "parameter": { + "$ref": "4690" + }, + "value": { + "$id": "4888", + "kind": "string", + "type": { + "$ref": "4691" + }, + "value": "resource-name123" + } + }, + { + "$id": "4889", + "parameter": { + "$ref": "4692" + }, + "value": { + "$id": "4890", + "kind": "string", + "type": { + "$ref": "4693" + }, + "value": "resource-name123" + } + }, + { + "$id": "4891", + "parameter": { + "$ref": "4700" + }, + "value": { + "$id": "4892", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4893", + "properties": { + "$id": "4894", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4895", + "authenticationMethods": { + "$id": "4896", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4897", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4898", + "method": { + "$id": "4899", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Custom" + }, + "customSettings": { + "$id": "4900", + "kind": "model", + "type": { + "$ref": "1058" + }, + "value": { + "$id": "4901", + "auth": { + "$id": "4902", + "kind": "model", + "type": { + "$ref": "1060" + }, + "value": { + "$id": "4903", + "x509": { + "$id": "4904", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4905", + "secretRef": { + "$id": "4906", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + }, + "caCertConfigMap": { + "$id": "4907", + "kind": "string", + "type": { + "$ref": "1072" + }, + "value": "pdecudefqyolvncbus" + }, + "endpoint": { + "$id": "4908", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "https://www.example.com" + }, + "headers": { + "$id": "4909", + "kind": "dict", + "type": { + "$ref": "1080" + }, + "value": { + "$id": "4910", + "key8518": { + "$id": "4911", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "bwityjy" + } + } + } + } + }, + "serviceAccountTokenSettings": { + "$id": "4912", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4913", + "audiences": { + "$id": "4914", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4915", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "jqyhyqatuydg" + } + ] + } + } + }, + "x509Settings": { + "$id": "4916", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4917", + "authorizationAttributes": { + "$id": "4918", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4919", + "key3384": { + "$id": "4920", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4921", + "attributes": { + "$id": "4922", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4923", + "key186": { + "$id": "4924", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "ucpajramsz" + } + } + }, + "subject": { + "$id": "4925", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "jpgwctfeixitptfgfnqhua" + } + } + } + } + }, + "trustedClientCaCert": { + "$id": "4926", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "vlctsqddl" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "4927", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4928", + "name": { + "$id": "4929", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4930", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "4931", + "response": { + "$ref": "4701" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4932", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4933", + "properties": { + "$id": "4934", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4935", + "authenticationMethods": { + "$id": "4936", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4937", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4938", + "method": { + "$id": "4939", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Custom" + }, + "customSettings": { + "$id": "4940", + "kind": "model", + "type": { + "$ref": "1058" + }, + "value": { + "$id": "4941", + "auth": { + "$id": "4942", + "kind": "model", + "type": { + "$ref": "1060" + }, + "value": { + "$id": "4943", + "x509": { + "$id": "4944", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4945", + "secretRef": { + "$id": "4946", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + }, + "caCertConfigMap": { + "$id": "4947", + "kind": "string", + "type": { + "$ref": "1072" + }, + "value": "pdecudefqyolvncbus" + }, + "endpoint": { + "$id": "4948", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "https://www.example.com" + }, + "headers": { + "$id": "4949", + "kind": "dict", + "type": { + "$ref": "1080" + }, + "value": { + "$id": "4950", + "key8518": { + "$id": "4951", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "bwityjy" + } + } + } + } + }, + "serviceAccountTokenSettings": { + "$id": "4952", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "4953", + "audiences": { + "$id": "4954", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "4955", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "jqyhyqatuydg" + } + ] + } + } + }, + "x509Settings": { + "$id": "4956", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "4957", + "authorizationAttributes": { + "$id": "4958", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "4959", + "key3384": { + "$id": "4960", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "4961", + "attributes": { + "$id": "4962", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "4963", + "key186": { + "$id": "4964", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "ucpajramsz" + } + } + }, + "subject": { + "$id": "4965", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "jpgwctfeixitptfgfnqhua" + } + } + } + } + }, + "trustedClientCaCert": { + "$id": "4966", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "vlctsqddl" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "4967", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "4968", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "4969", + "name": { + "$id": "4970", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "4971", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "4972", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "4973", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "4974", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "4975", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "4976", + "createdBy": { + "$id": "4977", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "4978", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "4979", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "4980", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "4981", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4982", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "4983", + "response": { + "$ref": "4702" + }, + "statusCode": 201, + "bodyValue": { + "$id": "4984", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "4985", + "properties": { + "$id": "4986", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "4987", + "authenticationMethods": { + "$id": "4988", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "4989", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "4990", + "method": { + "$id": "4991", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Custom" + }, + "customSettings": { + "$id": "4992", + "kind": "model", + "type": { + "$ref": "1058" + }, + "value": { + "$id": "4993", + "auth": { + "$id": "4994", + "kind": "model", + "type": { + "$ref": "1060" + }, + "value": { + "$id": "4995", + "x509": { + "$id": "4996", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "4997", + "secretRef": { + "$id": "4998", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + }, + "caCertConfigMap": { + "$id": "4999", + "kind": "string", + "type": { + "$ref": "1072" + }, + "value": "pdecudefqyolvncbus" + }, + "endpoint": { + "$id": "5000", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "https://www.example.com" + }, + "headers": { + "$id": "5001", + "kind": "dict", + "type": { + "$ref": "1080" + }, + "value": { + "$id": "5002", + "key8518": { + "$id": "5003", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "bwityjy" + } + } + } + } + }, + "serviceAccountTokenSettings": { + "$id": "5004", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "5005", + "audiences": { + "$id": "5006", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "5007", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "jqyhyqatuydg" + } + ] + } + } + }, + "x509Settings": { + "$id": "5008", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "5009", + "authorizationAttributes": { + "$id": "5010", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "5011", + "key3384": { + "$id": "5012", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "5013", + "attributes": { + "$id": "5014", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "5015", + "key186": { + "$id": "5016", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "ucpajramsz" + } + } + }, + "subject": { + "$id": "5017", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "jpgwctfeixitptfgfnqhua" + } + } + } + } + }, + "trustedClientCaCert": { + "$id": "5018", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "vlctsqddl" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "5019", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5020", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5021", + "name": { + "$id": "5022", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5023", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5024", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "5025", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "5026", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "5027", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5028", + "createdBy": { + "$id": "5029", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5030", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5031", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5032", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5033", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5034", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "5035", + "name": "delete", + "resourceName": "BrokerAuthenticationResource", + "doc": "Delete a BrokerAuthenticationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5036", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5037", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5038", + "type": { + "$id": "5039", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5040", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5041", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5042", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5043", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5044", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5045", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5046", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5047", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5048", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5049", + "name": "authenticationName", + "nameInRequest": "authenticationName", + "doc": "Name of Instance broker authentication resource", + "type": { + "$id": "5050", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5051", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5052", + "kind": "constant", + "valueType": { + "$id": "5053", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5054", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "5055", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "5056", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "5057", + "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": "5058", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "5059", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}", + "bufferResponse": true, + "longRunning": { + "$id": "5060", + "finalStateVia": 1, + "finalResponse": { + "$id": "5061", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthentication.delete", + "decorators": [], + "examples": [ + { + "$id": "5062", + "kind": "http", + "name": "BrokerAuthentication_Delete", + "description": "BrokerAuthentication_Delete", + "filePath": "2025-04-01/BrokerAuthentication_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5063", + "parameter": { + "$ref": "5036" + }, + "value": { + "$id": "5064", + "kind": "string", + "type": { + "$ref": "5037" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5065", + "parameter": { + "$ref": "5040" + }, + "value": { + "$id": "5066", + "kind": "string", + "type": { + "$ref": "5041" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5067", + "parameter": { + "$ref": "5043" + }, + "value": { + "$id": "5068", + "kind": "string", + "type": { + "$ref": "5044" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5069", + "parameter": { + "$ref": "5045" + }, + "value": { + "$id": "5070", + "kind": "string", + "type": { + "$ref": "5046" + }, + "value": "resource-name123" + } + }, + { + "$id": "5071", + "parameter": { + "$ref": "5047" + }, + "value": { + "$id": "5072", + "kind": "string", + "type": { + "$ref": "5048" + }, + "value": "resource-name123" + } + }, + { + "$id": "5073", + "parameter": { + "$ref": "5049" + }, + "value": { + "$id": "5074", + "kind": "string", + "type": { + "$ref": "5050" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5075", + "response": { + "$ref": "5054" + }, + "statusCode": 202 + }, + { + "$id": "5076", + "response": { + "$ref": "5059" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "5077", + "name": "listByResourceGroup", + "resourceName": "BrokerAuthenticationResource", + "doc": "List BrokerAuthenticationResource resources by BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5078", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5079", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5080", + "type": { + "$id": "5081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5082", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5083", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5084", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5085", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5086", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5087", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5088", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5089", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5090", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5091", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5092", + "kind": "constant", + "valueType": { + "$id": "5093", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5094", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1130" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications", + "bufferResponse": true, + "paging": { + "$id": "5095", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "5096", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthentication.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "5097", + "kind": "http", + "name": "BrokerAuthentication_ListByResourceGroup", + "description": "BrokerAuthentication_ListByResourceGroup", + "filePath": "2025-04-01/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5098", + "parameter": { + "$ref": "5078" + }, + "value": { + "$id": "5099", + "kind": "string", + "type": { + "$ref": "5079" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5100", + "parameter": { + "$ref": "5082" + }, + "value": { + "$id": "5101", + "kind": "string", + "type": { + "$ref": "5083" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5102", + "parameter": { + "$ref": "5085" + }, + "value": { + "$id": "5103", + "kind": "string", + "type": { + "$ref": "5086" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5104", + "parameter": { + "$ref": "5087" + }, + "value": { + "$id": "5105", + "kind": "string", + "type": { + "$ref": "5088" + }, + "value": "resource-name123" + } + }, + { + "$id": "5106", + "parameter": { + "$ref": "5089" + }, + "value": { + "$id": "5107", + "kind": "string", + "type": { + "$ref": "5090" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5108", + "response": { + "$ref": "5094" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5109", + "kind": "model", + "type": { + "$ref": "1130" + }, + "value": { + "$id": "5110", + "value": { + "$id": "5111", + "kind": "array", + "type": { + "$ref": "1132" + }, + "value": [ + { + "$id": "5112", + "kind": "model", + "type": { + "$ref": "1048" + }, + "value": { + "$id": "5113", + "properties": { + "$id": "5114", + "kind": "model", + "type": { + "$ref": "1050" + }, + "value": { + "$id": "5115", + "authenticationMethods": { + "$id": "5116", + "kind": "array", + "type": { + "$ref": "1052" + }, + "value": [ + { + "$id": "5117", + "kind": "model", + "type": { + "$ref": "1053" + }, + "value": { + "$id": "5118", + "method": { + "$id": "5119", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Custom" + }, + "customSettings": { + "$id": "5120", + "kind": "model", + "type": { + "$ref": "1058" + }, + "value": { + "$id": "5121", + "auth": { + "$id": "5122", + "kind": "model", + "type": { + "$ref": "1060" + }, + "value": { + "$id": "5123", + "x509": { + "$id": "5124", + "kind": "model", + "type": { + "$ref": "1062" + }, + "value": { + "$id": "5125", + "secretRef": { + "$id": "5126", + "kind": "string", + "type": { + "$ref": "1064" + }, + "value": "secret-name" + } + } + } + } + }, + "caCertConfigMap": { + "$id": "5127", + "kind": "string", + "type": { + "$ref": "1072" + }, + "value": "pdecudefqyolvncbus" + }, + "endpoint": { + "$id": "5128", + "kind": "string", + "type": { + "$ref": "1076" + }, + "value": "https://www.example.com" + }, + "headers": { + "$id": "5129", + "kind": "dict", + "type": { + "$ref": "1080" + }, + "value": { + "$id": "5130", + "key8518": { + "$id": "5131", + "kind": "string", + "type": { + "$ref": "1082" + }, + "value": "bwityjy" + } + } + } + } + }, + "serviceAccountTokenSettings": { + "$id": "5132", + "kind": "model", + "type": { + "$ref": "1088" + }, + "value": { + "$id": "5133", + "audiences": { + "$id": "5134", + "kind": "array", + "type": { + "$ref": "1090" + }, + "value": [ + { + "$id": "5135", + "kind": "string", + "type": { + "$ref": "1091" + }, + "value": "jqyhyqatuydg" + } + ] + } + } + }, + "x509Settings": { + "$id": "5136", + "kind": "model", + "type": { + "$ref": "1097" + }, + "value": { + "$id": "5137", + "authorizationAttributes": { + "$id": "5138", + "kind": "dict", + "type": { + "$ref": "1099" + }, + "value": { + "$id": "5139", + "key3384": { + "$id": "5140", + "kind": "model", + "type": { + "$ref": "1101" + }, + "value": { + "$id": "5141", + "attributes": { + "$id": "5142", + "kind": "dict", + "type": { + "$ref": "1103" + }, + "value": { + "$id": "5143", + "key186": { + "$id": "5144", + "kind": "string", + "type": { + "$ref": "1105" + }, + "value": "ucpajramsz" + } + } + }, + "subject": { + "$id": "5145", + "kind": "string", + "type": { + "$ref": "1109" + }, + "value": "jpgwctfeixitptfgfnqhua" + } + } + } + } + }, + "trustedClientCaCert": { + "$id": "5146", + "kind": "string", + "type": { + "$ref": "1115" + }, + "value": "vlctsqddl" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "5147", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5148", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5149", + "name": { + "$id": "5150", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5151", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5152", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" + }, + "name": { + "$id": "5153", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "lwucizfvtsdpx" + }, + "type": { + "$id": "5154", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "kvtilkgcxanlfozrd" + }, + "systemData": { + "$id": "5155", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5156", + "createdBy": { + "$id": "5157", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5158", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5159", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5160", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5161", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5162", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "5163", + "kind": "string", + "type": { + "$ref": "1136" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "5164", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "5165", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "5166", + "type": { + "$id": "5167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthentication" + }, + { + "$id": "5168", + "name": "BrokerAuthorization", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "5169", + "name": "get", + "resourceName": "BrokerAuthorizationResource", + "doc": "Get a BrokerAuthorizationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5170", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5172", + "type": { + "$id": "5173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5174", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5175", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5177", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5179", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5181", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5183", + "name": "authorizationName", + "nameInRequest": "authorizationName", + "doc": "Name of Instance broker authorization resource", + "type": { + "$id": "5184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5185", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5186", + "kind": "constant", + "valueType": { + "$id": "5187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5188", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "960" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorization.get", + "decorators": [], + "examples": [ + { + "$id": "5189", + "kind": "http", + "name": "BrokerAuthorization_Get", + "description": "BrokerAuthorization_Get", + "filePath": "2025-04-01/BrokerAuthorization_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5190", + "parameter": { + "$ref": "5170" + }, + "value": { + "$id": "5191", + "kind": "string", + "type": { + "$ref": "5171" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5192", + "parameter": { + "$ref": "5174" + }, + "value": { + "$id": "5193", + "kind": "string", + "type": { + "$ref": "5175" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5194", + "parameter": { + "$ref": "5177" + }, + "value": { + "$id": "5195", + "kind": "string", + "type": { + "$ref": "5178" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5196", + "parameter": { + "$ref": "5179" + }, + "value": { + "$id": "5197", + "kind": "string", + "type": { + "$ref": "5180" + }, + "value": "resource-name123" + } + }, + { + "$id": "5198", + "parameter": { + "$ref": "5181" + }, + "value": { + "$id": "5199", + "kind": "string", + "type": { + "$ref": "5182" + }, + "value": "resource-name123" + } + }, + { + "$id": "5200", + "parameter": { + "$ref": "5183" + }, + "value": { + "$id": "5201", + "kind": "string", + "type": { + "$ref": "5184" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5202", + "response": { + "$ref": "5188" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5203", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5204", + "properties": { + "$id": "5205", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5206", + "authorizationPolicies": { + "$id": "5207", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5208", + "cache": { + "$id": "5209", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5210", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5211", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5212", + "brokerResources": { + "$id": "5213", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5214", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5215", + "method": { + "$id": "5216", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5217", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5218", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "nlc" + } + ] + }, + "topics": { + "$id": "5219", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5220", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "wvuca" + } + ] + } + } + } + ] + }, + "principals": { + "$id": "5221", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5222", + "attributes": { + "$id": "5223", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5224", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5225", + "key5526": { + "$id": "5226", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "nydhzdhbldygqcn" + } + } + } + ] + }, + "clientIds": { + "$id": "5227", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5228", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "smopeaeddsygz" + } + ] + }, + "usernames": { + "$id": "5229", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5230", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "iozngyqndrteikszkbasinzdjtm" + } + ] + } + } + }, + "stateStoreResources": { + "$id": "5231", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5232", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5233", + "keyType": { + "$id": "5234", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5235", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5236", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "tkounsqtwvzyaklxjqoerpu" + } + ] + }, + "method": { + "$id": "5237", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5238", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5239", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5240", + "name": { + "$id": "5241", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5242", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5243", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5244", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5245", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5246", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5247", + "createdBy": { + "$id": "5248", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5249", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5250", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5251", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5252", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5253", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "5254", + "name": "createOrUpdate", + "resourceName": "BrokerAuthorizationResource", + "doc": "Create a BrokerAuthorizationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5255", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5257", + "type": { + "$id": "5258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5259", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5260", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5262", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5264", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5266", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5268", + "name": "authorizationName", + "nameInRequest": "authorizationName", + "doc": "Name of Instance broker authorization resource", + "type": { + "$id": "5269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5270", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "5271", + "kind": "constant", + "valueType": { + "$id": "5272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5273", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5274", + "kind": "constant", + "valueType": { + "$id": "5275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5276", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "960" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5277", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "960" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "5278", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "960" + }, + "headers": [ + { + "$id": "5279", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "5280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "5281", + "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": "5282", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "5283", + "finalStateVia": 0, + "finalResponse": { + "$id": "5284", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "960" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorization.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "5285", + "kind": "http", + "name": "BrokerAuthorization_CreateOrUpdate_Complex", + "description": "BrokerAuthorization_CreateOrUpdate_Complex", + "filePath": "2025-04-01/BrokerAuthorization_CreateOrUpdate_Complex.json", + "parameters": [ + { + "$id": "5286", + "parameter": { + "$ref": "5255" + }, + "value": { + "$id": "5287", + "kind": "string", + "type": { + "$ref": "5256" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5288", + "parameter": { + "$ref": "5259" + }, + "value": { + "$id": "5289", + "kind": "string", + "type": { + "$ref": "5260" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5290", + "parameter": { + "$ref": "5262" + }, + "value": { + "$id": "5291", + "kind": "string", + "type": { + "$ref": "5263" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5292", + "parameter": { + "$ref": "5264" + }, + "value": { + "$id": "5293", + "kind": "string", + "type": { + "$ref": "5265" + }, + "value": "resource-name123" + } + }, + { + "$id": "5294", + "parameter": { + "$ref": "5266" + }, + "value": { + "$id": "5295", + "kind": "string", + "type": { + "$ref": "5267" + }, + "value": "resource-name123" + } + }, + { + "$id": "5296", + "parameter": { + "$ref": "5268" + }, + "value": { + "$id": "5297", + "kind": "string", + "type": { + "$ref": "5269" + }, + "value": "resource-name123" + } + }, + { + "$id": "5298", + "parameter": { + "$ref": "5276" + }, + "value": { + "$id": "5299", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5300", + "properties": { + "$id": "5301", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5302", + "authorizationPolicies": { + "$id": "5303", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5304", + "cache": { + "$id": "5305", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5306", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5307", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5308", + "principals": { + "$id": "5309", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5310", + "usernames": { + "$id": "5311", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5312", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "temperature-sensor" + }, + { + "$id": "5313", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "humidity-sensor" + } + ] + }, + "attributes": { + "$id": "5314", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5315", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5316", + "building": { + "$id": "5317", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "17" + }, + "organization": { + "$id": "5318", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "contoso" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5319", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5320", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5321", + "method": { + "$id": "5322", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5323", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5324", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "{principal.attributes.building}*" + } + ] + } + } + }, + { + "$id": "5325", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5326", + "method": { + "$id": "5327", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Publish" + }, + "topics": { + "$id": "5328", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5329", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + } + ] + } + } + }, + { + "$id": "5330", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5331", + "method": { + "$id": "5332", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5333", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5334", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "commands/{principal.attributes.organization}" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5335", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5336", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5337", + "method": { + "$id": "5338", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + }, + "keyType": { + "$id": "5339", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5340", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5341", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myreadkey" + }, + { + "$id": "5342", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myotherkey?" + }, + { + "$id": "5343", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "mynumerickeysuffix[0-9]" + }, + { + "$id": "5344", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "clients:{principal.clientId}:*" + } + ] + } + } + }, + { + "$id": "5345", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5346", + "method": { + "$id": "5347", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5348", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Binary" + }, + "keys": { + "$id": "5349", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5350", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "MTE2IDEwMSAxMTUgMTE2" + } + ] + } + } + } + ] + } + } + } + ] + } + } + } + } + }, + "extendedLocation": { + "$id": "5351", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5352", + "name": { + "$id": "5353", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5354", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "5355", + "response": { + "$ref": "5277" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5356", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5357", + "properties": { + "$id": "5358", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5359", + "authorizationPolicies": { + "$id": "5360", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5361", + "cache": { + "$id": "5362", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5363", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5364", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5365", + "principals": { + "$id": "5366", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5367", + "usernames": { + "$id": "5368", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5369", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "temperature-sensor" + }, + { + "$id": "5370", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "humidity-sensor" + } + ] + }, + "attributes": { + "$id": "5371", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5372", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5373", + "building": { + "$id": "5374", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "17" + }, + "organization": { + "$id": "5375", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "contoso" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5376", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5377", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5378", + "method": { + "$id": "5379", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5380", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5381", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "{principal.attributes.building}*" + } + ] + } + } + }, + { + "$id": "5382", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5383", + "method": { + "$id": "5384", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Publish" + }, + "topics": { + "$id": "5385", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5386", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + } + ] + } + } + }, + { + "$id": "5387", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5388", + "method": { + "$id": "5389", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5390", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5391", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "commands/{principal.attributes.organization}" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5392", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5393", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5394", + "method": { + "$id": "5395", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + }, + "keyType": { + "$id": "5396", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5397", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5398", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myreadkey" + }, + { + "$id": "5399", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myotherkey?" + }, + { + "$id": "5400", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "mynumerickeysuffix[0-9]" + }, + { + "$id": "5401", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "clients:{principal.clientId}:*" + } + ] + } + } + }, + { + "$id": "5402", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5403", + "method": { + "$id": "5404", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5405", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Binary" + }, + "keys": { + "$id": "5406", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5407", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "MTE2IDEwMSAxMTUgMTE2" + } + ] + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5408", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5409", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5410", + "name": { + "$id": "5411", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5412", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5413", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5414", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5415", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5416", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5417", + "createdBy": { + "$id": "5418", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5419", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5420", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5421", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5422", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5423", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "5424", + "response": { + "$ref": "5278" + }, + "statusCode": 201, + "bodyValue": { + "$id": "5425", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5426", + "properties": { + "$id": "5427", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5428", + "authorizationPolicies": { + "$id": "5429", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5430", + "cache": { + "$id": "5431", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5432", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5433", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5434", + "principals": { + "$id": "5435", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5436", + "usernames": { + "$id": "5437", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5438", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "temperature-sensor" + }, + { + "$id": "5439", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "humidity-sensor" + } + ] + }, + "attributes": { + "$id": "5440", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5441", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5442", + "building": { + "$id": "5443", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "17" + }, + "organization": { + "$id": "5444", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "contoso" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5445", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5446", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5447", + "method": { + "$id": "5448", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5449", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5450", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "{principal.attributes.building}*" + } + ] + } + } + }, + { + "$id": "5451", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5452", + "method": { + "$id": "5453", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Publish" + }, + "topics": { + "$id": "5454", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5455", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + } + ] + } + } + }, + { + "$id": "5456", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5457", + "method": { + "$id": "5458", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5459", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5460", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "commands/{principal.attributes.organization}" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5461", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5462", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5463", + "method": { + "$id": "5464", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + }, + "keyType": { + "$id": "5465", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5466", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5467", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myreadkey" + }, + { + "$id": "5468", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "myotherkey?" + }, + { + "$id": "5469", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "mynumerickeysuffix[0-9]" + }, + { + "$id": "5470", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "clients:{principal.clientId}:*" + } + ] + } + } + }, + { + "$id": "5471", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5472", + "method": { + "$id": "5473", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5474", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Binary" + }, + "keys": { + "$id": "5475", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5476", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "MTE2IDEwMSAxMTUgMTE2" + } + ] + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5477", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5478", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5479", + "name": { + "$id": "5480", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5481", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5482", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5483", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5484", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5485", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5486", + "createdBy": { + "$id": "5487", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5488", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5489", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5490", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5491", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5492", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "5493", + "kind": "http", + "name": "BrokerAuthorization_CreateOrUpdate", + "description": "BrokerAuthorization_CreateOrUpdate", + "filePath": "2025-04-01/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5494", + "parameter": { + "$ref": "5255" + }, + "value": { + "$id": "5495", + "kind": "string", + "type": { + "$ref": "5256" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5496", + "parameter": { + "$ref": "5259" + }, + "value": { + "$id": "5497", + "kind": "string", + "type": { + "$ref": "5260" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5498", + "parameter": { + "$ref": "5262" + }, + "value": { + "$id": "5499", + "kind": "string", + "type": { + "$ref": "5263" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5500", + "parameter": { + "$ref": "5264" + }, + "value": { + "$id": "5501", + "kind": "string", + "type": { + "$ref": "5265" + }, + "value": "resource-name123" + } + }, + { + "$id": "5502", + "parameter": { + "$ref": "5266" + }, + "value": { + "$id": "5503", + "kind": "string", + "type": { + "$ref": "5267" + }, + "value": "resource-name123" + } + }, + { + "$id": "5504", + "parameter": { + "$ref": "5268" + }, + "value": { + "$id": "5505", + "kind": "string", + "type": { + "$ref": "5269" + }, + "value": "resource-name123" + } + }, + { + "$id": "5506", + "parameter": { + "$ref": "5276" + }, + "value": { + "$id": "5507", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5508", + "properties": { + "$id": "5509", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5510", + "authorizationPolicies": { + "$id": "5511", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5512", + "cache": { + "$id": "5513", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5514", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5515", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5516", + "brokerResources": { + "$id": "5517", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5518", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5519", + "method": { + "$id": "5520", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5521", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5522", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "nlc" + } + ] + }, + "topics": { + "$id": "5523", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5524", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "wvuca" + } + ] + } + } + } + ] + }, + "principals": { + "$id": "5525", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5526", + "attributes": { + "$id": "5527", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5528", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5529", + "key5526": { + "$id": "5530", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "nydhzdhbldygqcn" + } + } + } + ] + }, + "clientIds": { + "$id": "5531", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5532", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "smopeaeddsygz" + } + ] + }, + "usernames": { + "$id": "5533", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5534", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "iozngyqndrteikszkbasinzdjtm" + } + ] + } + } + }, + "stateStoreResources": { + "$id": "5535", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5536", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5537", + "keyType": { + "$id": "5538", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5539", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5540", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "tkounsqtwvzyaklxjqoerpu" + } + ] + }, + "method": { + "$id": "5541", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + } + } + } + ] + } + } + } + ] + } + } + } + } + }, + "extendedLocation": { + "$id": "5542", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5543", + "name": { + "$id": "5544", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5545", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "5546", + "response": { + "$ref": "5277" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5547", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5548", + "properties": { + "$id": "5549", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5550", + "authorizationPolicies": { + "$id": "5551", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5552", + "cache": { + "$id": "5553", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5554", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5555", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5556", + "brokerResources": { + "$id": "5557", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5558", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5559", + "method": { + "$id": "5560", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5561", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5562", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "nlc" + } + ] + }, + "topics": { + "$id": "5563", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5564", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "wvuca" + } + ] + } + } + } + ] + }, + "principals": { + "$id": "5565", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5566", + "attributes": { + "$id": "5567", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5568", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5569", + "key5526": { + "$id": "5570", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "nydhzdhbldygqcn" + } + } + } + ] + }, + "clientIds": { + "$id": "5571", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5572", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "smopeaeddsygz" + } + ] + }, + "usernames": { + "$id": "5573", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5574", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "iozngyqndrteikszkbasinzdjtm" + } + ] + } + } + }, + "stateStoreResources": { + "$id": "5575", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5576", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5577", + "keyType": { + "$id": "5578", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5579", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5580", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "tkounsqtwvzyaklxjqoerpu" + } + ] + }, + "method": { + "$id": "5581", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5582", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5583", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5584", + "name": { + "$id": "5585", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5586", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5587", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5588", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5589", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5590", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5591", + "createdBy": { + "$id": "5592", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5593", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5594", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5595", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5596", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5597", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "5598", + "response": { + "$ref": "5278" + }, + "statusCode": 201, + "bodyValue": { + "$id": "5599", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5600", + "properties": { + "$id": "5601", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5602", + "authorizationPolicies": { + "$id": "5603", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5604", + "cache": { + "$id": "5605", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5606", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5607", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5608", + "brokerResources": { + "$id": "5609", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5610", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5611", + "method": { + "$id": "5612", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5613", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5614", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "nlc" + } + ] + }, + "topics": { + "$id": "5615", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5616", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "wvuca" + } + ] + } + } + } + ] + }, + "principals": { + "$id": "5617", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5618", + "attributes": { + "$id": "5619", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5620", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5621", + "key5526": { + "$id": "5622", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "nydhzdhbldygqcn" + } + } + } + ] + }, + "clientIds": { + "$id": "5623", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5624", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "smopeaeddsygz" + } + ] + }, + "usernames": { + "$id": "5625", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5626", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "iozngyqndrteikszkbasinzdjtm" + } + ] + } + } + }, + "stateStoreResources": { + "$id": "5627", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5628", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5629", + "keyType": { + "$id": "5630", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5631", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5632", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "tkounsqtwvzyaklxjqoerpu" + } + ] + }, + "method": { + "$id": "5633", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5634", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5635", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5636", + "name": { + "$id": "5637", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5638", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5639", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5640", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5641", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5642", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5643", + "createdBy": { + "$id": "5644", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5645", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5646", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5647", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5648", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5649", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "5650", + "kind": "http", + "name": "BrokerAuthorization_CreateOrUpdate_Simple", + "description": "BrokerAuthorization_CreateOrUpdate_Simple", + "filePath": "2025-04-01/BrokerAuthorization_CreateOrUpdate_Simple.json", + "parameters": [ + { + "$id": "5651", + "parameter": { + "$ref": "5255" + }, + "value": { + "$id": "5652", + "kind": "string", + "type": { + "$ref": "5256" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5653", + "parameter": { + "$ref": "5259" + }, + "value": { + "$id": "5654", + "kind": "string", + "type": { + "$ref": "5260" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5655", + "parameter": { + "$ref": "5262" + }, + "value": { + "$id": "5656", + "kind": "string", + "type": { + "$ref": "5263" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5657", + "parameter": { + "$ref": "5264" + }, + "value": { + "$id": "5658", + "kind": "string", + "type": { + "$ref": "5265" + }, + "value": "resource-name123" + } + }, + { + "$id": "5659", + "parameter": { + "$ref": "5266" + }, + "value": { + "$id": "5660", + "kind": "string", + "type": { + "$ref": "5267" + }, + "value": "resource-name123" + } + }, + { + "$id": "5661", + "parameter": { + "$ref": "5268" + }, + "value": { + "$id": "5662", + "kind": "string", + "type": { + "$ref": "5269" + }, + "value": "resource-name123" + } + }, + { + "$id": "5663", + "parameter": { + "$ref": "5276" + }, + "value": { + "$id": "5664", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5665", + "properties": { + "$id": "5666", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5667", + "authorizationPolicies": { + "$id": "5668", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5669", + "cache": { + "$id": "5670", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5671", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5672", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5673", + "principals": { + "$id": "5674", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5675", + "clientIds": { + "$id": "5676", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5677", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "my-client-id" + } + ] + }, + "attributes": { + "$id": "5678", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5679", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5680", + "floor": { + "$id": "5681", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "floor1" + }, + "site": { + "$id": "5682", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "site1" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5683", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5684", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5685", + "method": { + "$id": "5686", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + } + } + }, + { + "$id": "5687", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5688", + "method": { + "$id": "5689", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5690", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5691", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic" + }, + { + "$id": "5692", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic/with/wildcard/#" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5693", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5694", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5695", + "method": { + "$id": "5696", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5697", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5698", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5699", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "*" + } + ] + } + } + } + ] + } + } + } + ] + } + } + } + } + }, + "extendedLocation": { + "$id": "5700", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5701", + "name": { + "$id": "5702", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5703", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "5704", + "response": { + "$ref": "5277" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5705", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5706", + "properties": { + "$id": "5707", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5708", + "authorizationPolicies": { + "$id": "5709", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5710", + "cache": { + "$id": "5711", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5712", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5713", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5714", + "principals": { + "$id": "5715", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5716", + "clientIds": { + "$id": "5717", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5718", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "my-client-id" + } + ] + }, + "attributes": { + "$id": "5719", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5720", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5721", + "floor": { + "$id": "5722", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "floor1" + }, + "site": { + "$id": "5723", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "site1" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5724", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5725", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5726", + "method": { + "$id": "5727", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + } + } + }, + { + "$id": "5728", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5729", + "method": { + "$id": "5730", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5731", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5732", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic" + }, + { + "$id": "5733", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic/with/wildcard/#" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5734", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5735", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5736", + "method": { + "$id": "5737", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5738", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5739", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5740", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "*" + } + ] + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5741", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5742", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5743", + "name": { + "$id": "5744", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5745", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5746", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5747", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5748", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5749", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5750", + "createdBy": { + "$id": "5751", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5752", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5753", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5754", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5755", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5756", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "5757", + "response": { + "$ref": "5278" + }, + "statusCode": 201, + "bodyValue": { + "$id": "5758", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5759", + "properties": { + "$id": "5760", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5761", + "authorizationPolicies": { + "$id": "5762", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5763", + "cache": { + "$id": "5764", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5765", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5766", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5767", + "principals": { + "$id": "5768", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5769", + "clientIds": { + "$id": "5770", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5771", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "my-client-id" + } + ] + }, + "attributes": { + "$id": "5772", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5773", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5774", + "floor": { + "$id": "5775", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "floor1" + }, + "site": { + "$id": "5776", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "site1" + } + } + } + ] + } + } + }, + "brokerResources": { + "$id": "5777", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5778", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5779", + "method": { + "$id": "5780", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + } + } + }, + { + "$id": "5781", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5782", + "method": { + "$id": "5783", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Subscribe" + }, + "topics": { + "$id": "5784", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5785", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic" + }, + { + "$id": "5786", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "topic/with/wildcard/#" + } + ] + } + } + } + ] + }, + "stateStoreResources": { + "$id": "5787", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5788", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5789", + "method": { + "$id": "5790", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "ReadWrite" + }, + "keyType": { + "$id": "5791", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5792", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5793", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "*" + } + ] + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5794", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5795", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5796", + "name": { + "$id": "5797", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5798", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5799", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5800", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5801", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5802", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5803", + "createdBy": { + "$id": "5804", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5805", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5806", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5807", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5808", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5809", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "5810", + "name": "delete", + "resourceName": "BrokerAuthorizationResource", + "doc": "Delete a BrokerAuthorizationResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5811", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5812", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5813", + "type": { + "$id": "5814", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5815", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5816", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5817", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5818", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5819", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5820", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5821", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5822", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5823", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5824", + "name": "authorizationName", + "nameInRequest": "authorizationName", + "doc": "Name of Instance broker authorization resource", + "type": { + "$id": "5825", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5826", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5827", + "kind": "constant", + "valueType": { + "$id": "5828", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5829", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "5830", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "5831", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "5832", + "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": "5833", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "5834", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}", + "bufferResponse": true, + "longRunning": { + "$id": "5835", + "finalStateVia": 1, + "finalResponse": { + "$id": "5836", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorization.delete", + "decorators": [], + "examples": [ + { + "$id": "5837", + "kind": "http", + "name": "BrokerAuthorization_Delete", + "description": "BrokerAuthorization_Delete", + "filePath": "2025-04-01/BrokerAuthorization_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5838", + "parameter": { + "$ref": "5811" + }, + "value": { + "$id": "5839", + "kind": "string", + "type": { + "$ref": "5812" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5840", + "parameter": { + "$ref": "5815" + }, + "value": { + "$id": "5841", + "kind": "string", + "type": { + "$ref": "5816" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5842", + "parameter": { + "$ref": "5818" + }, + "value": { + "$id": "5843", + "kind": "string", + "type": { + "$ref": "5819" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5844", + "parameter": { + "$ref": "5820" + }, + "value": { + "$id": "5845", + "kind": "string", + "type": { + "$ref": "5821" + }, + "value": "resource-name123" + } + }, + { + "$id": "5846", + "parameter": { + "$ref": "5822" + }, + "value": { + "$id": "5847", + "kind": "string", + "type": { + "$ref": "5823" + }, + "value": "resource-name123" + } + }, + { + "$id": "5848", + "parameter": { + "$ref": "5824" + }, + "value": { + "$id": "5849", + "kind": "string", + "type": { + "$ref": "5825" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5850", + "response": { + "$ref": "5829" + }, + "statusCode": 202 + }, + { + "$id": "5851", + "response": { + "$ref": "5834" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "5852", + "name": "listByResourceGroup", + "resourceName": "BrokerAuthorizationResource", + "doc": "List BrokerAuthorizationResource resources by BrokerResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5853", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5854", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5855", + "type": { + "$id": "5856", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5857", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5858", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5859", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5860", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5861", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5862", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5863", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5864", + "name": "brokerName", + "nameInRequest": "brokerName", + "doc": "Name of broker.", + "type": { + "$id": "5865", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5866", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5867", + "kind": "constant", + "valueType": { + "$id": "5868", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5869", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1038" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations", + "bufferResponse": true, + "paging": { + "$id": "5870", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "5871", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorization.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "5872", + "kind": "http", + "name": "BrokerAuthorization_ListByResourceGroup", + "description": "BrokerAuthorization_ListByResourceGroup", + "filePath": "2025-04-01/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5873", + "parameter": { + "$ref": "5853" + }, + "value": { + "$id": "5874", + "kind": "string", + "type": { + "$ref": "5854" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5875", + "parameter": { + "$ref": "5857" + }, + "value": { + "$id": "5876", + "kind": "string", + "type": { + "$ref": "5858" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5877", + "parameter": { + "$ref": "5860" + }, + "value": { + "$id": "5878", + "kind": "string", + "type": { + "$ref": "5861" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5879", + "parameter": { + "$ref": "5862" + }, + "value": { + "$id": "5880", + "kind": "string", + "type": { + "$ref": "5863" + }, + "value": "resource-name123" + } + }, + { + "$id": "5881", + "parameter": { + "$ref": "5864" + }, + "value": { + "$id": "5882", + "kind": "string", + "type": { + "$ref": "5865" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5883", + "response": { + "$ref": "5869" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5884", + "kind": "model", + "type": { + "$ref": "1038" + }, + "value": { + "$id": "5885", + "value": { + "$id": "5886", + "kind": "array", + "type": { + "$ref": "1040" + }, + "value": [ + { + "$id": "5887", + "kind": "model", + "type": { + "$ref": "960" + }, + "value": { + "$id": "5888", + "properties": { + "$id": "5889", + "kind": "model", + "type": { + "$ref": "962" + }, + "value": { + "$id": "5890", + "authorizationPolicies": { + "$id": "5891", + "kind": "model", + "type": { + "$ref": "964" + }, + "value": { + "$id": "5892", + "cache": { + "$id": "5893", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "rules": { + "$id": "5894", + "kind": "array", + "type": { + "$ref": "969" + }, + "value": [ + { + "$id": "5895", + "kind": "model", + "type": { + "$ref": "970" + }, + "value": { + "$id": "5896", + "brokerResources": { + "$id": "5897", + "kind": "array", + "type": { + "$ref": "972" + }, + "value": [ + { + "$id": "5898", + "kind": "model", + "type": { + "$ref": "973" + }, + "value": { + "$id": "5899", + "method": { + "$id": "5900", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Connect" + }, + "clientIds": { + "$id": "5901", + "kind": "array", + "type": { + "$ref": "978" + }, + "value": [ + { + "$id": "5902", + "kind": "string", + "type": { + "$ref": "979" + }, + "value": "nlc" + } + ] + }, + "topics": { + "$id": "5903", + "kind": "array", + "type": { + "$ref": "983" + }, + "value": [ + { + "$id": "5904", + "kind": "string", + "type": { + "$ref": "984" + }, + "value": "wvuca" + } + ] + } + } + } + ] + }, + "principals": { + "$id": "5905", + "kind": "model", + "type": { + "$ref": "990" + }, + "value": { + "$id": "5906", + "attributes": { + "$id": "5907", + "kind": "array", + "type": { + "$ref": "992" + }, + "value": [ + { + "$id": "5908", + "kind": "dict", + "type": { + "$ref": "993" + }, + "value": { + "$id": "5909", + "key5526": { + "$id": "5910", + "kind": "string", + "type": { + "$ref": "995" + }, + "value": "nydhzdhbldygqcn" + } + } + } + ] + }, + "clientIds": { + "$id": "5911", + "kind": "array", + "type": { + "$ref": "999" + }, + "value": [ + { + "$id": "5912", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "smopeaeddsygz" + } + ] + }, + "usernames": { + "$id": "5913", + "kind": "array", + "type": { + "$ref": "1004" + }, + "value": [ + { + "$id": "5914", + "kind": "string", + "type": { + "$ref": "1005" + }, + "value": "iozngyqndrteikszkbasinzdjtm" + } + ] + } + } + }, + "stateStoreResources": { + "$id": "5915", + "kind": "array", + "type": { + "$ref": "1011" + }, + "value": [ + { + "$id": "5916", + "kind": "model", + "type": { + "$ref": "1012" + }, + "value": { + "$id": "5917", + "keyType": { + "$id": "5918", + "kind": "string", + "type": { + "$ref": "208" + }, + "value": "Pattern" + }, + "keys": { + "$id": "5919", + "kind": "array", + "type": { + "$ref": "1017" + }, + "value": [ + { + "$id": "5920", + "kind": "string", + "type": { + "$ref": "1018" + }, + "value": "tkounsqtwvzyaklxjqoerpu" + } + ] + }, + "method": { + "$id": "5921", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "Read" + } + } + } + ] + } + } + } + ] + } + } + }, + "provisioningState": { + "$id": "5922", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5923", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5924", + "name": { + "$id": "5925", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5926", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5927", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" + }, + "name": { + "$id": "5928", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "anqrqsvrjmlvzkrbuav" + }, + "type": { + "$id": "5929", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "yjlsfarshqoxojvgmy" + }, + "systemData": { + "$id": "5930", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5931", + "createdBy": { + "$id": "5932", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5933", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5934", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "5935", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "5936", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5937", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "5938", + "kind": "string", + "type": { + "$ref": "1044" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "5939", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "5940", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "5941", + "type": { + "$id": "5942", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.BrokerAuthorization" + }, + { + "$id": "5943", + "name": "DataflowProfile", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "5944", + "name": "get", + "resourceName": "DataflowProfileResource", + "doc": "Get a DataflowProfileResource", + "accessibility": "public", + "parameters": [ + { + "$id": "5945", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5946", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5947", + "type": { + "$id": "5948", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5949", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5950", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5951", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5952", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5953", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5954", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "5955", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5956", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "5957", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5958", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5959", + "kind": "constant", + "valueType": { + "$id": "5960", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "5961", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "915" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfile.get", + "decorators": [], + "examples": [ + { + "$id": "5962", + "kind": "http", + "name": "DataflowProfile_Get", + "description": "DataflowProfile_Get", + "filePath": "2025-04-01/DataflowProfile_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "5963", + "parameter": { + "$ref": "5945" + }, + "value": { + "$id": "5964", + "kind": "string", + "type": { + "$ref": "5946" + }, + "value": "2025-04-01" + } + }, + { + "$id": "5965", + "parameter": { + "$ref": "5949" + }, + "value": { + "$id": "5966", + "kind": "string", + "type": { + "$ref": "5950" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "5967", + "parameter": { + "$ref": "5952" + }, + "value": { + "$id": "5968", + "kind": "string", + "type": { + "$ref": "5953" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "5969", + "parameter": { + "$ref": "5954" + }, + "value": { + "$id": "5970", + "kind": "string", + "type": { + "$ref": "5955" + }, + "value": "resource-name123" + } + }, + { + "$id": "5971", + "parameter": { + "$ref": "5956" + }, + "value": { + "$id": "5972", + "kind": "string", + "type": { + "$ref": "5957" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "5973", + "response": { + "$ref": "5961" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5974", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "5975", + "properties": { + "$id": "5976", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "5977", + "diagnostics": { + "$id": "5978", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "5979", + "logs": { + "$id": "5980", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "5981", + "level": { + "$id": "5982", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "5983", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "5984", + "prometheusPort": { + "$id": "5985", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + } + } + }, + "instanceCount": { + "$id": "5986", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 14 + }, + "provisioningState": { + "$id": "5987", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "5988", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "5989", + "name": { + "$id": "5990", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "5991", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "5992", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "5993", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "5994", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "5995", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "5996", + "createdBy": { + "$id": "5997", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "5998", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "5999", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6000", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6001", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6002", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "6003", + "name": "createOrUpdate", + "resourceName": "DataflowProfileResource", + "doc": "Create a DataflowProfileResource", + "accessibility": "public", + "parameters": [ + { + "$id": "6004", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "6006", + "type": { + "$id": "6007", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6008", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6009", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6010", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6011", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6012", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6013", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "6014", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6015", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "6016", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6017", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "6018", + "kind": "constant", + "valueType": { + "$id": "6019", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6020", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "6021", + "kind": "constant", + "valueType": { + "$id": "6022", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6023", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "915" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "6024", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "915" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "6025", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "915" + }, + "headers": [ + { + "$id": "6026", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "6027", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "6028", + "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": "6029", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "6030", + "finalStateVia": 0, + "finalResponse": { + "$id": "6031", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "915" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfile.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "6032", + "kind": "http", + "name": "DataflowProfile_CreateOrUpdate", + "description": "DataflowProfile_CreateOrUpdate", + "filePath": "2025-04-01/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "6033", + "parameter": { + "$ref": "6004" + }, + "value": { + "$id": "6034", + "kind": "string", + "type": { + "$ref": "6005" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6035", + "parameter": { + "$ref": "6008" + }, + "value": { + "$id": "6036", + "kind": "string", + "type": { + "$ref": "6009" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6037", + "parameter": { + "$ref": "6011" + }, + "value": { + "$id": "6038", + "kind": "string", + "type": { + "$ref": "6012" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6039", + "parameter": { + "$ref": "6013" + }, + "value": { + "$id": "6040", + "kind": "string", + "type": { + "$ref": "6014" + }, + "value": "resource-name123" + } + }, + { + "$id": "6041", + "parameter": { + "$ref": "6015" + }, + "value": { + "$id": "6042", + "kind": "string", + "type": { + "$ref": "6016" + }, + "value": "resource-name123" + } + }, + { + "$id": "6043", + "parameter": { + "$ref": "6023" + }, + "value": { + "$id": "6044", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6045", + "properties": { + "$id": "6046", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6047", + "diagnostics": { + "$id": "6048", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "6049", + "logs": { + "$id": "6050", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "6051", + "level": { + "$id": "6052", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "6053", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "6054", + "prometheusPort": { + "$id": "6055", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + } + } + }, + "instanceCount": { + "$id": "6056", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 14 + } + } + }, + "extendedLocation": { + "$id": "6057", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6058", + "name": { + "$id": "6059", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6060", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6061", + "response": { + "$ref": "6024" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6062", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6063", + "properties": { + "$id": "6064", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6065", + "diagnostics": { + "$id": "6066", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "6067", + "logs": { + "$id": "6068", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "6069", + "level": { + "$id": "6070", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "6071", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "6072", + "prometheusPort": { + "$id": "6073", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + } + } + }, + "instanceCount": { + "$id": "6074", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 14 + }, + "provisioningState": { + "$id": "6075", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6076", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6077", + "name": { + "$id": "6078", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6079", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6080", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6081", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6082", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6083", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6084", + "createdBy": { + "$id": "6085", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6086", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6087", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6088", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6089", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6090", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "6091", + "response": { + "$ref": "6025" + }, + "statusCode": 201, + "bodyValue": { + "$id": "6092", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6093", + "properties": { + "$id": "6094", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6095", + "diagnostics": { + "$id": "6096", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "6097", + "logs": { + "$id": "6098", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "6099", + "level": { + "$id": "6100", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "6101", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "6102", + "prometheusPort": { + "$id": "6103", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + } + } + }, + "instanceCount": { + "$id": "6104", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 14 + }, + "provisioningState": { + "$id": "6105", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6106", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6107", + "name": { + "$id": "6108", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6109", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6110", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6111", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6112", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6113", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6114", + "createdBy": { + "$id": "6115", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6116", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6117", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6118", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6119", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6120", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "6121", + "kind": "http", + "name": "DataflowProfile_CreateOrUpdate_Minimal", + "description": "DataflowProfile_CreateOrUpdate_Minimal", + "filePath": "2025-04-01/DataflowProfile_CreateOrUpdate_Minimal.json", + "parameters": [ + { + "$id": "6122", + "parameter": { + "$ref": "6004" + }, + "value": { + "$id": "6123", + "kind": "string", + "type": { + "$ref": "6005" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6124", + "parameter": { + "$ref": "6008" + }, + "value": { + "$id": "6125", + "kind": "string", + "type": { + "$ref": "6009" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6126", + "parameter": { + "$ref": "6011" + }, + "value": { + "$id": "6127", + "kind": "string", + "type": { + "$ref": "6012" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6128", + "parameter": { + "$ref": "6013" + }, + "value": { + "$id": "6129", + "kind": "string", + "type": { + "$ref": "6014" + }, + "value": "resource-name123" + } + }, + { + "$id": "6130", + "parameter": { + "$ref": "6015" + }, + "value": { + "$id": "6131", + "kind": "string", + "type": { + "$ref": "6016" + }, + "value": "aio-dataflowprofile" + } + }, + { + "$id": "6132", + "parameter": { + "$ref": "6023" + }, + "value": { + "$id": "6133", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6134", + "properties": { + "$id": "6135", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6136", + "instanceCount": { + "$id": "6137", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 1 + } + } + }, + "extendedLocation": { + "$id": "6138", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6139", + "name": { + "$id": "6140", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6141", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6142", + "response": { + "$ref": "6024" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6143", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6144", + "properties": { + "$id": "6145", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6146", + "instanceCount": { + "$id": "6147", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 1 + }, + "provisioningState": { + "$id": "6148", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6149", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6150", + "name": { + "$id": "6151", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6152", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6153", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6154", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6155", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6156", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6157", + "createdBy": { + "$id": "6158", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6159", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6160", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6161", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6162", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6163", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "6164", + "response": { + "$ref": "6025" + }, + "statusCode": 201, + "bodyValue": { + "$id": "6165", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6166", + "properties": { + "$id": "6167", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6168", + "instanceCount": { + "$id": "6169", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 1 + }, + "provisioningState": { + "$id": "6170", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6171", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6172", + "name": { + "$id": "6173", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6174", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6175", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6176", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6177", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6178", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6179", + "createdBy": { + "$id": "6180", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6181", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6182", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6183", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6184", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6185", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "6186", + "kind": "http", + "name": "DataflowProfile_CreateOrUpdate_Multi", + "description": "DataflowProfile_CreateOrUpdate_Multi", + "filePath": "2025-04-01/DataflowProfile_CreateOrUpdate_Multi.json", + "parameters": [ + { + "$id": "6187", + "parameter": { + "$ref": "6004" + }, + "value": { + "$id": "6188", + "kind": "string", + "type": { + "$ref": "6005" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6189", + "parameter": { + "$ref": "6008" + }, + "value": { + "$id": "6190", + "kind": "string", + "type": { + "$ref": "6009" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6191", + "parameter": { + "$ref": "6011" + }, + "value": { + "$id": "6192", + "kind": "string", + "type": { + "$ref": "6012" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6193", + "parameter": { + "$ref": "6013" + }, + "value": { + "$id": "6194", + "kind": "string", + "type": { + "$ref": "6014" + }, + "value": "resource-name123" + } + }, + { + "$id": "6195", + "parameter": { + "$ref": "6015" + }, + "value": { + "$id": "6196", + "kind": "string", + "type": { + "$ref": "6016" + }, + "value": "aio-dataflowprofile" + } + }, + { + "$id": "6197", + "parameter": { + "$ref": "6023" + }, + "value": { + "$id": "6198", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6199", + "properties": { + "$id": "6200", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6201", + "instanceCount": { + "$id": "6202", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 3 + } + } + }, + "extendedLocation": { + "$id": "6203", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6204", + "name": { + "$id": "6205", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6206", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6207", + "response": { + "$ref": "6024" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6208", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6209", + "properties": { + "$id": "6210", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6211", + "instanceCount": { + "$id": "6212", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 3 + }, + "provisioningState": { + "$id": "6213", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6214", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6215", + "name": { + "$id": "6216", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6217", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6218", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6219", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6220", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6221", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6222", + "createdBy": { + "$id": "6223", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6224", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6225", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6226", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6227", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6228", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "6229", + "response": { + "$ref": "6025" + }, + "statusCode": 201, + "bodyValue": { + "$id": "6230", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6231", + "properties": { + "$id": "6232", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6233", + "instanceCount": { + "$id": "6234", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 3 + }, + "provisioningState": { + "$id": "6235", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6236", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6237", + "name": { + "$id": "6238", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6239", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6240", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6241", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6242", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6243", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6244", + "createdBy": { + "$id": "6245", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6246", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6247", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6248", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6249", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6250", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "6251", + "name": "delete", + "resourceName": "DataflowProfileResource", + "doc": "Delete a DataflowProfileResource", + "accessibility": "public", + "parameters": [ + { + "$id": "6252", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "6254", + "type": { + "$id": "6255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6256", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6257", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6259", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6261", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "6262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6263", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "6264", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6265", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "6266", + "kind": "constant", + "valueType": { + "$id": "6267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "6268", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "6269", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "6270", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "6271", + "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": "6272", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "6273", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", + "bufferResponse": true, + "longRunning": { + "$id": "6274", + "finalStateVia": 1, + "finalResponse": { + "$id": "6275", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfile.delete", + "decorators": [], + "examples": [ + { + "$id": "6276", + "kind": "http", + "name": "DataflowProfile_Delete", + "description": "DataflowProfile_Delete", + "filePath": "2025-04-01/DataflowProfile_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "6277", + "parameter": { + "$ref": "6252" + }, + "value": { + "$id": "6278", + "kind": "string", + "type": { + "$ref": "6253" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6279", + "parameter": { + "$ref": "6256" + }, + "value": { + "$id": "6280", + "kind": "string", + "type": { + "$ref": "6257" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6281", + "parameter": { + "$ref": "6259" + }, + "value": { + "$id": "6282", + "kind": "string", + "type": { + "$ref": "6260" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6283", + "parameter": { + "$ref": "6261" + }, + "value": { + "$id": "6284", + "kind": "string", + "type": { + "$ref": "6262" + }, + "value": "resource-name123" + } + }, + { + "$id": "6285", + "parameter": { + "$ref": "6263" + }, + "value": { + "$id": "6286", + "kind": "string", + "type": { + "$ref": "6264" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "6287", + "response": { + "$ref": "6268" + }, + "statusCode": 202 + }, + { + "$id": "6288", + "response": { + "$ref": "6273" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "6289", + "name": "listByResourceGroup", + "resourceName": "DataflowProfileResource", + "doc": "List DataflowProfileResource resources by InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "6290", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "6292", + "type": { + "$id": "6293", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6294", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6295", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6297", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6299", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "6300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6301", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "6302", + "kind": "constant", + "valueType": { + "$id": "6303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "6304", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "950" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles", + "bufferResponse": true, + "paging": { + "$id": "6305", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "6306", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfile.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "6307", + "kind": "http", + "name": "DataflowProfile_ListByResourceGroup", + "description": "DataflowProfile_ListByResourceGroup", + "filePath": "2025-04-01/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "6308", + "parameter": { + "$ref": "6290" + }, + "value": { + "$id": "6309", + "kind": "string", + "type": { + "$ref": "6291" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6310", + "parameter": { + "$ref": "6294" + }, + "value": { + "$id": "6311", + "kind": "string", + "type": { + "$ref": "6295" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6312", + "parameter": { + "$ref": "6297" + }, + "value": { + "$id": "6313", + "kind": "string", + "type": { + "$ref": "6298" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6314", + "parameter": { + "$ref": "6299" + }, + "value": { + "$id": "6315", + "kind": "string", + "type": { + "$ref": "6300" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "6316", + "response": { + "$ref": "6304" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6317", + "kind": "model", + "type": { + "$ref": "950" + }, + "value": { + "$id": "6318", + "value": { + "$id": "6319", + "kind": "array", + "type": { + "$ref": "952" + }, + "value": [ + { + "$id": "6320", + "kind": "model", + "type": { + "$ref": "915" + }, + "value": { + "$id": "6321", + "properties": { + "$id": "6322", + "kind": "model", + "type": { + "$ref": "917" + }, + "value": { + "$id": "6323", + "diagnostics": { + "$id": "6324", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "6325", + "logs": { + "$id": "6326", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "6327", + "level": { + "$id": "6328", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "rnmwokumdmebpmfxxxzvvjfdywotav" + } + } + }, + "metrics": { + "$id": "6329", + "kind": "model", + "type": { + "$ref": "929" + }, + "value": { + "$id": "6330", + "prometheusPort": { + "$id": "6331", + "kind": "number", + "type": { + "$ref": "931" + }, + "value": 7581 + } + } + } + } + }, + "instanceCount": { + "$id": "6332", + "kind": "number", + "type": { + "$ref": "939" + }, + "value": 14 + }, + "provisioningState": { + "$id": "6333", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6334", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6335", + "name": { + "$id": "6336", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6337", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6338", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" + }, + "name": { + "$id": "6339", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "bwhcjsnnfnrmbixamyxjau" + }, + "type": { + "$id": "6340", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "ejvancsomtbapgztnerhlvx" + }, + "systemData": { + "$id": "6341", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6342", + "createdBy": { + "$id": "6343", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6344", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6345", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6346", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6347", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6348", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "6349", + "kind": "string", + "type": { + "$ref": "956" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "6350", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "6351", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "6352", + "type": { + "$id": "6353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowProfile" + }, + { + "$id": "6354", + "name": "Dataflow", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "6355", + "name": "get", + "resourceName": "DataflowResource", + "doc": "Get a DataflowResource", + "accessibility": "public", + "parameters": [ + { + "$id": "6356", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6357", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "6358", + "type": { + "$id": "6359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6360", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6361", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6362", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6363", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6365", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "6366", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6367", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "6368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6369", + "name": "dataflowName", + "nameInRequest": "dataflowName", + "doc": "Name of Instance dataflowProfile dataflow resource", + "type": { + "$id": "6370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6371", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "6372", + "kind": "constant", + "valueType": { + "$id": "6373", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "6374", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "758" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Dataflow.get", + "decorators": [], + "examples": [ + { + "$id": "6375", + "kind": "http", + "name": "Dataflow_Get", + "description": "Dataflow_Get", + "filePath": "2025-04-01/Dataflow_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "6376", + "parameter": { + "$ref": "6356" + }, + "value": { + "$id": "6377", + "kind": "string", + "type": { + "$ref": "6357" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6378", + "parameter": { + "$ref": "6360" + }, + "value": { + "$id": "6379", + "kind": "string", + "type": { + "$ref": "6361" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6380", + "parameter": { + "$ref": "6363" + }, + "value": { + "$id": "6381", + "kind": "string", + "type": { + "$ref": "6364" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6382", + "parameter": { + "$ref": "6365" + }, + "value": { + "$id": "6383", + "kind": "string", + "type": { + "$ref": "6366" + }, + "value": "resource-name123" + } + }, + { + "$id": "6384", + "parameter": { + "$ref": "6367" + }, + "value": { + "$id": "6385", + "kind": "string", + "type": { + "$ref": "6368" + }, + "value": "resource-name123" + } + }, + { + "$id": "6386", + "parameter": { + "$ref": "6369" + }, + "value": { + "$id": "6387", + "kind": "string", + "type": { + "$ref": "6370" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "6388", + "response": { + "$ref": "6374" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6389", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6390", + "properties": { + "$id": "6391", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6392", + "mode": { + "$id": "6393", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6394", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6395", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6396", + "operationType": { + "$id": "6397", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6398", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "knnafvkwoeakm" + }, + "sourceSettings": { + "$id": "6399", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6400", + "endpointRef": { + "$id": "6401", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "iixotodhvhkkfcfyrkoveslqig" + }, + "assetRef": { + "$id": "6402", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "zayyykwmckaocywdkohmu" + }, + "serializationFormat": { + "$id": "6403", + "kind": "string", + "type": { + "$ref": "172" + }, + "value": "Json" + }, + "schemaRef": { + "$id": "6404", + "kind": "string", + "type": { + "$ref": "788" + }, + "value": "pknmdzqll" + }, + "dataSources": { + "$id": "6405", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6406", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "chkkpymxhp" + } + ] + } + } + }, + "builtInTransformationSettings": { + "$id": "6407", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6408", + "serializationFormat": { + "$id": "6409", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Delta" + }, + "schemaRef": { + "$id": "6410", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "mcdc" + }, + "datasets": { + "$id": "6411", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6412", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6413", + "key": { + "$id": "6414", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "qsfqcgxaxnhfumrsdsokwyv" + }, + "description": { + "$id": "6415", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "schemaRef": { + "$id": "6416", + "kind": "string", + "type": { + "$ref": "820" + }, + "value": "n" + }, + "inputs": { + "$id": "6417", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6418", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "mosffpsslifkq" + } + ] + }, + "expression": { + "$id": "6419", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "aatbwomvflemsxialv" + } + } + } + ] + }, + "filter": { + "$id": "6420", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "6421", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "6422", + "type": { + "$id": "6423", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "6424", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "6425", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "6426", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "sxmjkbntgb" + } + ] + }, + "expression": { + "$id": "6427", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "n" + } + } + } + ] + }, + "map": { + "$id": "6428", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6429", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6430", + "type": { + "$id": "6431", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "NewProperties" + }, + "description": { + "$id": "6432", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "6433", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6434", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "xsbxuk" + } + ] + }, + "expression": { + "$id": "6435", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "txoiltogsarwkzalsphvlmt" + }, + "output": { + "$id": "6436", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "nvgtmkfl" + } + } + } + ] + } + } + }, + "destinationSettings": { + "$id": "6437", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6438", + "endpointRef": { + "$id": "6439", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "kybkchnzimerguekuvqlqiqdvvrt" + }, + "dataDestination": { + "$id": "6440", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "cbrh" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "6441", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6442", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6443", + "name": { + "$id": "6444", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6445", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6446", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "6447", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "6448", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "6449", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6450", + "createdBy": { + "$id": "6451", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6452", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6453", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6454", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6455", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6456", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "6457", + "name": "createOrUpdate", + "resourceName": "DataflowResource", + "doc": "Create a DataflowResource", + "accessibility": "public", + "parameters": [ + { + "$id": "6458", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "6459", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "6460", + "type": { + "$id": "6461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6462", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "6463", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "6464", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6465", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "6466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6467", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "6468", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6469", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "6470", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6471", + "name": "dataflowName", + "nameInRequest": "dataflowName", + "doc": "Name of Instance dataflowProfile dataflow resource", + "type": { + "$id": "6472", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6473", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "6474", + "kind": "constant", + "valueType": { + "$id": "6475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6476", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "6477", + "kind": "constant", + "valueType": { + "$id": "6478", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "6479", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "758" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "6480", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "758" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "6481", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "758" + }, + "headers": [ + { + "$id": "6482", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "6483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "6484", + "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": "6485", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "6486", + "finalStateVia": 0, + "finalResponse": { + "$id": "6487", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "758" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Dataflow.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "6488", + "kind": "http", + "name": "Dataflow_CreateOrUpdate_ComplexContextualization", + "description": "Dataflow_CreateOrUpdate_ComplexContextualization", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_ComplexContextualization.json", + "parameters": [ + { + "$id": "6489", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "6490", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6491", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "6492", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6493", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "6494", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6495", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "6496", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "6497", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "6498", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "6499", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "6500", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "aio-to-adx-contexualized" + } + }, + { + "$id": "6501", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "6502", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6503", + "properties": { + "$id": "6504", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6505", + "mode": { + "$id": "6506", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6507", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6508", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6509", + "operationType": { + "$id": "6510", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6511", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6512", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6513", + "endpointRef": { + "$id": "6514", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6515", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6516", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6517", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6518", + "operationType": { + "$id": "6519", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6520", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6521", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6522", + "map": { + "$id": "6523", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6524", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6525", + "inputs": { + "$id": "6526", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6527", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6528", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6529", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6530", + "inputs": { + "$id": "6531", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6532", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "$context(quality).*" + } + ] + }, + "output": { + "$id": "6533", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "enriched.*" + } + } + } + ] + }, + "datasets": { + "$id": "6534", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6535", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6536", + "key": { + "$id": "6537", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "quality" + }, + "inputs": { + "$id": "6538", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6539", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$source.country" + }, + { + "$id": "6540", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$context.country" + } + ] + }, + "expression": { + "$id": "6541", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "$1 == $2" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6542", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6543", + "operationType": { + "$id": "6544", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6545", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6546", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6547", + "endpointRef": { + "$id": "6548", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "adx-endpoint" + }, + "dataDestination": { + "$id": "6549", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "mytable" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "6550", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6551", + "name": { + "$id": "6552", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6553", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6554", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6555", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6556", + "properties": { + "$id": "6557", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6558", + "mode": { + "$id": "6559", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6560", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6561", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6562", + "operationType": { + "$id": "6563", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6564", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6565", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6566", + "endpointRef": { + "$id": "6567", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6568", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6569", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6570", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6571", + "operationType": { + "$id": "6572", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6573", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6574", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6575", + "map": { + "$id": "6576", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6577", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6578", + "inputs": { + "$id": "6579", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6580", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6581", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6582", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6583", + "inputs": { + "$id": "6584", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6585", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "$context(quality).*" + } + ] + }, + "output": { + "$id": "6586", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "enriched.*" + } + } + } + ] + }, + "datasets": { + "$id": "6587", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6588", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6589", + "key": { + "$id": "6590", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "quality" + }, + "inputs": { + "$id": "6591", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6592", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$source.country" + }, + { + "$id": "6593", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$context.country" + } + ] + }, + "expression": { + "$id": "6594", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "$1 == $2" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6595", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6596", + "operationType": { + "$id": "6597", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6598", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6599", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6600", + "endpointRef": { + "$id": "6601", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "adx-endpoint" + }, + "dataDestination": { + "$id": "6602", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "mytable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "6603", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6604", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6605", + "name": { + "$id": "6606", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6607", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6608", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "6609", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "6610", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "6611", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6612", + "createdBy": { + "$id": "6613", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6614", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6615", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6616", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6617", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6618", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "6619", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "6620", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6621", + "properties": { + "$id": "6622", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6623", + "mode": { + "$id": "6624", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6625", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6626", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6627", + "operationType": { + "$id": "6628", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6629", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6630", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6631", + "endpointRef": { + "$id": "6632", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6633", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6634", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6635", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6636", + "operationType": { + "$id": "6637", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6638", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6639", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6640", + "map": { + "$id": "6641", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6642", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6643", + "inputs": { + "$id": "6644", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6645", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6646", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6647", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6648", + "inputs": { + "$id": "6649", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6650", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "$context(quality).*" + } + ] + }, + "output": { + "$id": "6651", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "enriched.*" + } + } + } + ] + }, + "datasets": { + "$id": "6652", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6653", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6654", + "key": { + "$id": "6655", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "quality" + }, + "inputs": { + "$id": "6656", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6657", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$source.country" + }, + { + "$id": "6658", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$context.country" + } + ] + }, + "expression": { + "$id": "6659", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "$1 == $2" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6660", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6661", + "operationType": { + "$id": "6662", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6663", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6664", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6665", + "endpointRef": { + "$id": "6666", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "adx-endpoint" + }, + "dataDestination": { + "$id": "6667", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "mytable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "6668", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6669", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6670", + "name": { + "$id": "6671", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6672", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6673", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "6674", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "6675", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "6676", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6677", + "createdBy": { + "$id": "6678", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6679", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6680", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6681", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6682", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6683", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "6684", + "kind": "http", + "name": "Dataflow_CreateOrUpdate_ComplexEventHub", + "description": "Dataflow_CreateOrUpdate_ComplexEventHub", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_ComplexEventHub.json", + "parameters": [ + { + "$id": "6685", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "6686", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6687", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "6688", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6689", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "6690", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6691", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "6692", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "6693", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "6694", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "6695", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "6696", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "aio-to-event-hub-transformed" + } + }, + { + "$id": "6697", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "6698", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6699", + "properties": { + "$id": "6700", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6701", + "mode": { + "$id": "6702", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6703", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6704", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6705", + "operationType": { + "$id": "6706", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6707", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6708", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6709", + "endpointRef": { + "$id": "6710", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6711", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6712", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6713", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6714", + "operationType": { + "$id": "6715", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "builtInTransformationSettings": { + "$id": "6716", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6717", + "filter": { + "$id": "6718", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "6719", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "6720", + "inputs": { + "$id": "6721", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "6722", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "temperature.Value" + }, + { + "$id": "6723", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "6724", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "$1 > 9000 && $2 >= 8000" + } + } + } + ] + }, + "map": { + "$id": "6725", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6726", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6727", + "inputs": { + "$id": "6728", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6729", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6730", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6731", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6732", + "inputs": { + "$id": "6733", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6734", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "temperature.Value" + }, + { + "$id": "6735", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "6736", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "($1+$2)/2" + }, + "output": { + "$id": "6737", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "AvgTemp.Value" + } + } + }, + { + "$id": "6738", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6739", + "inputs": { + "$id": "6740", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [] + }, + "expression": { + "$id": "6741", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "true" + }, + "output": { + "$id": "6742", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "dataflow-processed" + } + } + }, + { + "$id": "6743", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6744", + "inputs": { + "$id": "6745", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6746", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "temperature.SourceTimestamp" + } + ] + }, + "expression": { + "$id": "6747", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "" + }, + "output": { + "$id": "6748", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "" + } + } + }, + { + "$id": "6749", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6750", + "inputs": { + "$id": "6751", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6752", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "\"Tag 10\"" + } + ] + }, + "expression": { + "$id": "6753", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "" + }, + "output": { + "$id": "6754", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "pressure" + } + } + }, + { + "$id": "6755", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6756", + "inputs": { + "$id": "6757", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6758", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "temperature.Value" + } + ] + }, + "expression": { + "$id": "6759", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "cToF($1)" + }, + "output": { + "$id": "6760", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "temperatureF.Value" + } + } + }, + { + "$id": "6761", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6762", + "inputs": { + "$id": "6763", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6764", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "6765", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "scale ($1,0,10,0,100)" + }, + "output": { + "$id": "6766", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "\"Scale Tag 10\".Value" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6767", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6768", + "operationType": { + "$id": "6769", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6770", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6771", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6772", + "endpointRef": { + "$id": "6773", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "event-hub-endpoint" + }, + "dataDestination": { + "$id": "6774", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "myuniqueeventhub" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "6775", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6776", + "name": { + "$id": "6777", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6778", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6779", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6780", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6781", + "properties": { + "$id": "6782", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6783", + "mode": { + "$id": "6784", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6785", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6786", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6787", + "operationType": { + "$id": "6788", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6789", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6790", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6791", + "endpointRef": { + "$id": "6792", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6793", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6794", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6795", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6796", + "operationType": { + "$id": "6797", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6798", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6799", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6800", + "map": { + "$id": "6801", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6802", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6803", + "inputs": { + "$id": "6804", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6805", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6806", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6807", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6808", + "inputs": { + "$id": "6809", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6810", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "$context(quality).*" + } + ] + }, + "output": { + "$id": "6811", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "enriched.*" + } + } + } + ] + }, + "datasets": { + "$id": "6812", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6813", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6814", + "key": { + "$id": "6815", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "quality" + }, + "inputs": { + "$id": "6816", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6817", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$source.country" + }, + { + "$id": "6818", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$context.country" + } + ] + }, + "expression": { + "$id": "6819", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "$1 == $2" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6820", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6821", + "operationType": { + "$id": "6822", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6823", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6824", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6825", + "endpointRef": { + "$id": "6826", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "adx-endpoint" + }, + "dataDestination": { + "$id": "6827", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "mytable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "6828", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6829", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6830", + "name": { + "$id": "6831", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6832", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6833", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "6834", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "6835", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "6836", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6837", + "createdBy": { + "$id": "6838", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6839", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6840", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6841", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6842", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6843", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "6844", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "6845", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6846", + "properties": { + "$id": "6847", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6848", + "mode": { + "$id": "6849", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6850", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6851", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6852", + "operationType": { + "$id": "6853", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6854", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6855", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6856", + "endpointRef": { + "$id": "6857", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6858", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6859", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6860", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6861", + "operationType": { + "$id": "6862", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6863", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6864", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6865", + "map": { + "$id": "6866", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6867", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6868", + "inputs": { + "$id": "6869", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6870", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6871", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + }, + { + "$id": "6872", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6873", + "inputs": { + "$id": "6874", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6875", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "$context(quality).*" + } + ] + }, + "output": { + "$id": "6876", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "enriched.*" + } + } + } + ] + }, + "datasets": { + "$id": "6877", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "6878", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "6879", + "key": { + "$id": "6880", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "quality" + }, + "inputs": { + "$id": "6881", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "6882", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$source.country" + }, + { + "$id": "6883", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "$context.country" + } + ] + }, + "expression": { + "$id": "6884", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "$1 == $2" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6885", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6886", + "operationType": { + "$id": "6887", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6888", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6889", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6890", + "endpointRef": { + "$id": "6891", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "adx-endpoint" + }, + "dataDestination": { + "$id": "6892", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "mytable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "6893", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "6894", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6895", + "name": { + "$id": "6896", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6897", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "6898", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "6899", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "6900", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "6901", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "6902", + "createdBy": { + "$id": "6903", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "6904", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "6905", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "6906", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "6907", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "6908", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "6909", + "kind": "http", + "name": "Dataflow_CreateOrUpdate_FilterToTopic", + "description": "Dataflow_CreateOrUpdate_FilterToTopic", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_FilterToTopic.json", + "parameters": [ + { + "$id": "6910", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "6911", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "6912", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "6913", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "6914", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "6915", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "6916", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "6917", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "6918", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "6919", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "6920", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "6921", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "mqtt-filter-to-topic" + } + }, + { + "$id": "6922", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "6923", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6924", + "properties": { + "$id": "6925", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6926", + "mode": { + "$id": "6927", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6928", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6929", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6930", + "operationType": { + "$id": "6931", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6932", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6933", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6934", + "endpointRef": { + "$id": "6935", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6936", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6937", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6938", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6939", + "operationType": { + "$id": "6940", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6941", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6942", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6943", + "filter": { + "$id": "6944", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "6945", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "6946", + "type": { + "$id": "6947", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "6948", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "filter-datapoint" + }, + "inputs": { + "$id": "6949", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "6950", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "temperature.Value" + }, + { + "$id": "6951", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "6952", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "$1 > 9000 && $2 >= 8000" + } + } + } + ] + }, + "map": { + "$id": "6953", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "6954", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "6955", + "type": { + "$id": "6956", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "PassThrough" + }, + "inputs": { + "$id": "6957", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "6958", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "6959", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + } + ] + } + } + } + } + }, + { + "$id": "6960", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6961", + "operationType": { + "$id": "6962", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "6963", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "6964", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "6965", + "endpointRef": { + "$id": "6966", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataDestination": { + "$id": "6967", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "data/filtered/thermostat" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "6968", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "6969", + "name": { + "$id": "6970", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "6971", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "6972", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "6973", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "6974", + "properties": { + "$id": "6975", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "6976", + "mode": { + "$id": "6977", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "6978", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "6979", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6980", + "operationType": { + "$id": "6981", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "6982", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "6983", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "6984", + "endpointRef": { + "$id": "6985", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "6986", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "6987", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "6988", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "6989", + "operationType": { + "$id": "6990", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "6991", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "6992", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "6993", + "filter": { + "$id": "6994", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "6995", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "6996", + "type": { + "$id": "6997", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "6998", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "filter-datapoint" + }, + "inputs": { + "$id": "6999", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7000", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "temperature.Value" + }, + { + "$id": "7001", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "7002", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "$1 > 9000 && $2 >= 8000" + } + } + } + ] + }, + "map": { + "$id": "7003", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7004", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7005", + "type": { + "$id": "7006", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "PassThrough" + }, + "inputs": { + "$id": "7007", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7008", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "7009", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + } + ] + } + } + } + } + }, + { + "$id": "7010", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7011", + "operationType": { + "$id": "7012", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7013", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7014", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7015", + "endpointRef": { + "$id": "7016", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataDestination": { + "$id": "7017", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "data/filtered/thermostat" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7018", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7019", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7020", + "name": { + "$id": "7021", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7022", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7023", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7024", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7025", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7026", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7027", + "createdBy": { + "$id": "7028", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7029", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7030", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7031", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7032", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7033", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "7034", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "7035", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7036", + "properties": { + "$id": "7037", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7038", + "mode": { + "$id": "7039", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7040", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7041", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7042", + "operationType": { + "$id": "7043", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7044", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7045", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7046", + "endpointRef": { + "$id": "7047", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7048", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7049", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "7050", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7051", + "operationType": { + "$id": "7052", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "name": { + "$id": "7053", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "transformation1" + }, + "builtInTransformationSettings": { + "$id": "7054", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7055", + "filter": { + "$id": "7056", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "7057", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "7058", + "type": { + "$id": "7059", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "7060", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "filter-datapoint" + }, + "inputs": { + "$id": "7061", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7062", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "temperature.Value" + }, + { + "$id": "7063", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "\"Tag 10\".Value" + } + ] + }, + "expression": { + "$id": "7064", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "$1 > 9000 && $2 >= 8000" + } + } + } + ] + }, + "map": { + "$id": "7065", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7066", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7067", + "type": { + "$id": "7068", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "PassThrough" + }, + "inputs": { + "$id": "7069", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7070", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "*" + } + ] + }, + "output": { + "$id": "7071", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "*" + } + } + } + ] + } + } + } + } + }, + { + "$id": "7072", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7073", + "operationType": { + "$id": "7074", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7075", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7076", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7077", + "endpointRef": { + "$id": "7078", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataDestination": { + "$id": "7079", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "data/filtered/thermostat" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7080", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7081", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7082", + "name": { + "$id": "7083", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7084", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7085", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7086", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7087", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7088", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7089", + "createdBy": { + "$id": "7090", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7091", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7092", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7093", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7094", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7095", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "7096", + "kind": "http", + "name": "Dataflow_CreateOrUpdate", + "description": "Dataflow_CreateOrUpdate", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "7097", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "7098", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7099", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "7100", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7101", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "7102", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7103", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "7104", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "7105", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "7106", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "7107", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "7108", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "resource-name123" + } + }, + { + "$id": "7109", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "7110", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7111", + "properties": { + "$id": "7112", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7113", + "mode": { + "$id": "7114", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7115", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7116", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7117", + "operationType": { + "$id": "7118", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7119", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "knnafvkwoeakm" + }, + "sourceSettings": { + "$id": "7120", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7121", + "endpointRef": { + "$id": "7122", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "iixotodhvhkkfcfyrkoveslqig" + }, + "assetRef": { + "$id": "7123", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "zayyykwmckaocywdkohmu" + }, + "serializationFormat": { + "$id": "7124", + "kind": "string", + "type": { + "$ref": "172" + }, + "value": "Json" + }, + "schemaRef": { + "$id": "7125", + "kind": "string", + "type": { + "$ref": "788" + }, + "value": "pknmdzqll" + }, + "dataSources": { + "$id": "7126", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7127", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "chkkpymxhp" + } + ] + } + } + }, + "builtInTransformationSettings": { + "$id": "7128", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7129", + "serializationFormat": { + "$id": "7130", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Delta" + }, + "schemaRef": { + "$id": "7131", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "mcdc" + }, + "datasets": { + "$id": "7132", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "7133", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "7134", + "key": { + "$id": "7135", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "qsfqcgxaxnhfumrsdsokwyv" + }, + "description": { + "$id": "7136", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "schemaRef": { + "$id": "7137", + "kind": "string", + "type": { + "$ref": "820" + }, + "value": "n" + }, + "inputs": { + "$id": "7138", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "7139", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "mosffpsslifkq" + } + ] + }, + "expression": { + "$id": "7140", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "aatbwomvflemsxialv" + } + } + } + ] + }, + "filter": { + "$id": "7141", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "7142", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "7143", + "type": { + "$id": "7144", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "7145", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7146", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7147", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "sxmjkbntgb" + } + ] + }, + "expression": { + "$id": "7148", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "n" + } + } + } + ] + }, + "map": { + "$id": "7149", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7150", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7151", + "type": { + "$id": "7152", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "NewProperties" + }, + "description": { + "$id": "7153", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7154", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7155", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "xsbxuk" + } + ] + }, + "expression": { + "$id": "7156", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "txoiltogsarwkzalsphvlmt" + }, + "output": { + "$id": "7157", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "nvgtmkfl" + } + } + } + ] + } + } + }, + "destinationSettings": { + "$id": "7158", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7159", + "endpointRef": { + "$id": "7160", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "kybkchnzimerguekuvqlqiqdvvrt" + }, + "dataDestination": { + "$id": "7161", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "cbrh" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "7162", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7163", + "name": { + "$id": "7164", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7165", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "7166", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7167", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7168", + "properties": { + "$id": "7169", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7170", + "mode": { + "$id": "7171", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7172", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7173", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7174", + "operationType": { + "$id": "7175", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7176", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "knnafvkwoeakm" + }, + "sourceSettings": { + "$id": "7177", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7178", + "endpointRef": { + "$id": "7179", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "iixotodhvhkkfcfyrkoveslqig" + }, + "assetRef": { + "$id": "7180", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "zayyykwmckaocywdkohmu" + }, + "serializationFormat": { + "$id": "7181", + "kind": "string", + "type": { + "$ref": "172" + }, + "value": "Json" + }, + "schemaRef": { + "$id": "7182", + "kind": "string", + "type": { + "$ref": "788" + }, + "value": "pknmdzqll" + }, + "dataSources": { + "$id": "7183", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7184", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "chkkpymxhp" + } + ] + } + } + }, + "builtInTransformationSettings": { + "$id": "7185", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7186", + "serializationFormat": { + "$id": "7187", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Delta" + }, + "schemaRef": { + "$id": "7188", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "mcdc" + }, + "datasets": { + "$id": "7189", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "7190", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "7191", + "key": { + "$id": "7192", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "qsfqcgxaxnhfumrsdsokwyv" + }, + "description": { + "$id": "7193", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "schemaRef": { + "$id": "7194", + "kind": "string", + "type": { + "$ref": "820" + }, + "value": "n" + }, + "inputs": { + "$id": "7195", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "7196", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "mosffpsslifkq" + } + ] + }, + "expression": { + "$id": "7197", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "aatbwomvflemsxialv" + } + } + } + ] + }, + "filter": { + "$id": "7198", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "7199", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "7200", + "type": { + "$id": "7201", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "7202", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7203", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7204", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "sxmjkbntgb" + } + ] + }, + "expression": { + "$id": "7205", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "n" + } + } + } + ] + }, + "map": { + "$id": "7206", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7207", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7208", + "type": { + "$id": "7209", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "NewProperties" + }, + "description": { + "$id": "7210", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7211", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7212", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "xsbxuk" + } + ] + }, + "expression": { + "$id": "7213", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "txoiltogsarwkzalsphvlmt" + }, + "output": { + "$id": "7214", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "nvgtmkfl" + } + } + } + ] + } + } + }, + "destinationSettings": { + "$id": "7215", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7216", + "endpointRef": { + "$id": "7217", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "kybkchnzimerguekuvqlqiqdvvrt" + }, + "dataDestination": { + "$id": "7218", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "cbrh" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7219", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7220", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7221", + "name": { + "$id": "7222", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7223", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7224", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7225", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7226", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7227", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7228", + "createdBy": { + "$id": "7229", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7230", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7231", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7232", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7233", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7234", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "7235", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "7236", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7237", + "properties": { + "$id": "7238", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7239", + "mode": { + "$id": "7240", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7241", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7242", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7243", + "operationType": { + "$id": "7244", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7245", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "knnafvkwoeakm" + }, + "sourceSettings": { + "$id": "7246", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7247", + "endpointRef": { + "$id": "7248", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "iixotodhvhkkfcfyrkoveslqig" + }, + "assetRef": { + "$id": "7249", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "zayyykwmckaocywdkohmu" + }, + "serializationFormat": { + "$id": "7250", + "kind": "string", + "type": { + "$ref": "172" + }, + "value": "Json" + }, + "schemaRef": { + "$id": "7251", + "kind": "string", + "type": { + "$ref": "788" + }, + "value": "pknmdzqll" + }, + "dataSources": { + "$id": "7252", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7253", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "chkkpymxhp" + } + ] + } + } + }, + "builtInTransformationSettings": { + "$id": "7254", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7255", + "serializationFormat": { + "$id": "7256", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Delta" + }, + "schemaRef": { + "$id": "7257", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "mcdc" + }, + "datasets": { + "$id": "7258", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "7259", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "7260", + "key": { + "$id": "7261", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "qsfqcgxaxnhfumrsdsokwyv" + }, + "description": { + "$id": "7262", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "schemaRef": { + "$id": "7263", + "kind": "string", + "type": { + "$ref": "820" + }, + "value": "n" + }, + "inputs": { + "$id": "7264", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "7265", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "mosffpsslifkq" + } + ] + }, + "expression": { + "$id": "7266", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "aatbwomvflemsxialv" + } + } + } + ] + }, + "filter": { + "$id": "7267", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "7268", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "7269", + "type": { + "$id": "7270", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "7271", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7272", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7273", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "sxmjkbntgb" + } + ] + }, + "expression": { + "$id": "7274", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "n" + } + } + } + ] + }, + "map": { + "$id": "7275", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7276", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7277", + "type": { + "$id": "7278", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "NewProperties" + }, + "description": { + "$id": "7279", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7280", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7281", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "xsbxuk" + } + ] + }, + "expression": { + "$id": "7282", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "txoiltogsarwkzalsphvlmt" + }, + "output": { + "$id": "7283", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "nvgtmkfl" + } + } + } + ] + } + } + }, + "destinationSettings": { + "$id": "7284", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7285", + "endpointRef": { + "$id": "7286", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "kybkchnzimerguekuvqlqiqdvvrt" + }, + "dataDestination": { + "$id": "7287", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "cbrh" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7288", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7289", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7290", + "name": { + "$id": "7291", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7292", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7293", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7294", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7295", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7296", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7297", + "createdBy": { + "$id": "7298", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7299", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7300", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7301", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7302", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7303", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "7304", + "kind": "http", + "name": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "description": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_SimpleEventGrid.json", + "parameters": [ + { + "$id": "7305", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "7306", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7307", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "7308", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7309", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "7310", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7311", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "7312", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "7313", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "7314", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "7315", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "7316", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "aio-to-event-grid" + } + }, + { + "$id": "7317", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "7318", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7319", + "properties": { + "$id": "7320", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7321", + "mode": { + "$id": "7322", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7323", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7324", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7325", + "operationType": { + "$id": "7326", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7327", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7328", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7329", + "endpointRef": { + "$id": "7330", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7331", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7332", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "thermostats/+/telemetry/temperature/#" + } + ] + } + } + } + } + }, + { + "$id": "7333", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7334", + "operationType": { + "$id": "7335", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7336", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7337", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7338", + "endpointRef": { + "$id": "7339", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "event-grid-endpoint" + }, + "dataDestination": { + "$id": "7340", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "factory/telemetry" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "7341", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7342", + "name": { + "$id": "7343", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7344", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "7345", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7346", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7347", + "properties": { + "$id": "7348", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7349", + "mode": { + "$id": "7350", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7351", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7352", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7353", + "operationType": { + "$id": "7354", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7355", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7356", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7357", + "endpointRef": { + "$id": "7358", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7359", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7360", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "thermostats/+/telemetry/temperature/#" + } + ] + } + } + } + } + }, + { + "$id": "7361", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7362", + "operationType": { + "$id": "7363", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7364", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7365", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7366", + "endpointRef": { + "$id": "7367", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "event-grid-endpoint" + }, + "dataDestination": { + "$id": "7368", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "factory/telemetry" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7369", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7370", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7371", + "name": { + "$id": "7372", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7373", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7374", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7375", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7376", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7377", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7378", + "createdBy": { + "$id": "7379", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7380", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7381", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7382", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7383", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7384", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "7385", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "7386", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7387", + "properties": { + "$id": "7388", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7389", + "mode": { + "$id": "7390", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7391", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7392", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7393", + "operationType": { + "$id": "7394", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7395", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7396", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7397", + "endpointRef": { + "$id": "7398", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7399", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7400", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "thermostats/+/telemetry/temperature/#" + } + ] + } + } + } + } + }, + { + "$id": "7401", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7402", + "operationType": { + "$id": "7403", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7404", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7405", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7406", + "endpointRef": { + "$id": "7407", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "event-grid-endpoint" + }, + "dataDestination": { + "$id": "7408", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "factory/telemetry" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7409", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7410", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7411", + "name": { + "$id": "7412", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7413", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7414", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7415", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7416", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7417", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7418", + "createdBy": { + "$id": "7419", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7420", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7421", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7422", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7423", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7424", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "7425", + "kind": "http", + "name": "Dataflow_CreateOrUpdate_SimpleFabric", + "description": "Dataflow_CreateOrUpdate_SimpleFabric", + "filePath": "2025-04-01/Dataflow_CreateOrUpdate_SimpleFabric.json", + "parameters": [ + { + "$id": "7426", + "parameter": { + "$ref": "6458" + }, + "value": { + "$id": "7427", + "kind": "string", + "type": { + "$ref": "6459" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7428", + "parameter": { + "$ref": "6462" + }, + "value": { + "$id": "7429", + "kind": "string", + "type": { + "$ref": "6463" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7430", + "parameter": { + "$ref": "6465" + }, + "value": { + "$id": "7431", + "kind": "string", + "type": { + "$ref": "6466" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7432", + "parameter": { + "$ref": "6467" + }, + "value": { + "$id": "7433", + "kind": "string", + "type": { + "$ref": "6468" + }, + "value": "resource-name123" + } + }, + { + "$id": "7434", + "parameter": { + "$ref": "6469" + }, + "value": { + "$id": "7435", + "kind": "string", + "type": { + "$ref": "6470" + }, + "value": "resource-name123" + } + }, + { + "$id": "7436", + "parameter": { + "$ref": "6471" + }, + "value": { + "$id": "7437", + "kind": "string", + "type": { + "$ref": "6472" + }, + "value": "aio-to-fabric" + } + }, + { + "$id": "7438", + "parameter": { + "$ref": "6479" + }, + "value": { + "$id": "7439", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7440", + "properties": { + "$id": "7441", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7442", + "mode": { + "$id": "7443", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7444", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7445", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7446", + "operationType": { + "$id": "7447", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7448", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7449", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7450", + "endpointRef": { + "$id": "7451", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7452", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7453", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "7454", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7455", + "operationType": { + "$id": "7456", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "builtInTransformationSettings": { + "$id": "7457", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7458", + "serializationFormat": { + "$id": "7459", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Parquet" + }, + "schemaRef": { + "$id": "7460", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + } + } + } + }, + { + "$id": "7461", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7462", + "operationType": { + "$id": "7463", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7464", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7465", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7466", + "endpointRef": { + "$id": "7467", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "fabric-endpoint" + }, + "dataDestination": { + "$id": "7468", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "telemetryTable" + } + } + } + } + } + ] + } + } + }, + "extendedLocation": { + "$id": "7469", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7470", + "name": { + "$id": "7471", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7472", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "7473", + "response": { + "$ref": "6480" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7474", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7475", + "properties": { + "$id": "7476", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7477", + "mode": { + "$id": "7478", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7479", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7480", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7481", + "operationType": { + "$id": "7482", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7483", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7484", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7485", + "endpointRef": { + "$id": "7486", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7487", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7488", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "7489", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7490", + "operationType": { + "$id": "7491", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "builtInTransformationSettings": { + "$id": "7492", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7493", + "serializationFormat": { + "$id": "7494", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Parquet" + }, + "schemaRef": { + "$id": "7495", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + } + } + } + }, + { + "$id": "7496", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7497", + "operationType": { + "$id": "7498", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7499", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7500", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7501", + "endpointRef": { + "$id": "7502", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "fabric-endpoint" + }, + "dataDestination": { + "$id": "7503", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "telemetryTable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7504", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7505", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7506", + "name": { + "$id": "7507", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7508", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7509", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7510", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7511", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7512", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7513", + "createdBy": { + "$id": "7514", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7515", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7516", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7517", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7518", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7519", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "7520", + "response": { + "$ref": "6481" + }, + "statusCode": 201, + "bodyValue": { + "$id": "7521", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7522", + "properties": { + "$id": "7523", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7524", + "mode": { + "$id": "7525", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7526", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7527", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7528", + "operationType": { + "$id": "7529", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7530", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "source1" + }, + "sourceSettings": { + "$id": "7531", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7532", + "endpointRef": { + "$id": "7533", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "aio-builtin-broker-endpoint" + }, + "dataSources": { + "$id": "7534", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7535", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "azure-iot-operations/data/thermostat" + } + ] + } + } + } + } + }, + { + "$id": "7536", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7537", + "operationType": { + "$id": "7538", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "BuiltInTransformation" + }, + "builtInTransformationSettings": { + "$id": "7539", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7540", + "serializationFormat": { + "$id": "7541", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Parquet" + }, + "schemaRef": { + "$id": "7542", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + } + } + } + }, + { + "$id": "7543", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7544", + "operationType": { + "$id": "7545", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Destination" + }, + "name": { + "$id": "7546", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "destination1" + }, + "destinationSettings": { + "$id": "7547", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7548", + "endpointRef": { + "$id": "7549", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "fabric-endpoint" + }, + "dataDestination": { + "$id": "7550", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "telemetryTable" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7551", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7552", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7553", + "name": { + "$id": "7554", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7555", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7556", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7557", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7558", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7559", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7560", + "createdBy": { + "$id": "7561", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7562", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7563", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7564", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7565", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7566", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "7567", + "name": "delete", + "resourceName": "DataflowResource", + "doc": "Delete a DataflowResource", + "accessibility": "public", + "parameters": [ + { + "$id": "7568", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "7570", + "type": { + "$id": "7571", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7572", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7573", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7575", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7576", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7577", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "7578", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7579", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "7580", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7581", + "name": "dataflowName", + "nameInRequest": "dataflowName", + "doc": "Name of Instance dataflowProfile dataflow resource", + "type": { + "$id": "7582", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7583", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "7584", + "kind": "constant", + "valueType": { + "$id": "7585", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "7586", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "7587", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "7588", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "7589", + "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": "7590", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "7591", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", + "bufferResponse": true, + "longRunning": { + "$id": "7592", + "finalStateVia": 1, + "finalResponse": { + "$id": "7593", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Dataflow.delete", + "decorators": [], + "examples": [ + { + "$id": "7594", + "kind": "http", + "name": "Dataflow_Delete", + "description": "Dataflow_Delete", + "filePath": "2025-04-01/Dataflow_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "7595", + "parameter": { + "$ref": "7568" + }, + "value": { + "$id": "7596", + "kind": "string", + "type": { + "$ref": "7569" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7597", + "parameter": { + "$ref": "7572" + }, + "value": { + "$id": "7598", + "kind": "string", + "type": { + "$ref": "7573" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7599", + "parameter": { + "$ref": "7575" + }, + "value": { + "$id": "7600", + "kind": "string", + "type": { + "$ref": "7576" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7601", + "parameter": { + "$ref": "7577" + }, + "value": { + "$id": "7602", + "kind": "string", + "type": { + "$ref": "7578" + }, + "value": "resource-name123" + } + }, + { + "$id": "7603", + "parameter": { + "$ref": "7579" + }, + "value": { + "$id": "7604", + "kind": "string", + "type": { + "$ref": "7580" + }, + "value": "resource-name123" + } + }, + { + "$id": "7605", + "parameter": { + "$ref": "7581" + }, + "value": { + "$id": "7606", + "kind": "string", + "type": { + "$ref": "7582" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "7607", + "response": { + "$ref": "7586" + }, + "statusCode": 202 + }, + { + "$id": "7608", + "response": { + "$ref": "7591" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "7609", + "name": "listByResourceGroup", + "resourceName": "DataflowResource", + "doc": "List DataflowResource resources by DataflowProfileResource", + "accessibility": "public", + "parameters": [ + { + "$id": "7610", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7611", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "7612", + "type": { + "$id": "7613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7614", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7615", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7616", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7617", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7618", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7619", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "7620", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7621", + "name": "dataflowProfileName", + "nameInRequest": "dataflowProfileName", + "doc": "Name of Instance dataflowProfile resource", + "type": { + "$id": "7622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7623", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "7624", + "kind": "constant", + "valueType": { + "$id": "7625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "7626", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "905" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows", + "bufferResponse": true, + "paging": { + "$id": "7627", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "7628", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Dataflow.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "7629", + "kind": "http", + "name": "Dataflow_ListByProfileResource", + "description": "Dataflow_ListByProfileResource", + "filePath": "2025-04-01/Dataflow_ListByProfileResource_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "7630", + "parameter": { + "$ref": "7610" + }, + "value": { + "$id": "7631", + "kind": "string", + "type": { + "$ref": "7611" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7632", + "parameter": { + "$ref": "7614" + }, + "value": { + "$id": "7633", + "kind": "string", + "type": { + "$ref": "7615" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7634", + "parameter": { + "$ref": "7617" + }, + "value": { + "$id": "7635", + "kind": "string", + "type": { + "$ref": "7618" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7636", + "parameter": { + "$ref": "7619" + }, + "value": { + "$id": "7637", + "kind": "string", + "type": { + "$ref": "7620" + }, + "value": "resource-name123" + } + }, + { + "$id": "7638", + "parameter": { + "$ref": "7621" + }, + "value": { + "$id": "7639", + "kind": "string", + "type": { + "$ref": "7622" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "7640", + "response": { + "$ref": "7626" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7641", + "kind": "model", + "type": { + "$ref": "905" + }, + "value": { + "$id": "7642", + "value": { + "$id": "7643", + "kind": "array", + "type": { + "$ref": "907" + }, + "value": [ + { + "$id": "7644", + "kind": "model", + "type": { + "$ref": "758" + }, + "value": { + "$id": "7645", + "properties": { + "$id": "7646", + "kind": "model", + "type": { + "$ref": "760" + }, + "value": { + "$id": "7647", + "mode": { + "$id": "7648", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "operations": { + "$id": "7649", + "kind": "array", + "type": { + "$ref": "765" + }, + "value": [ + { + "$id": "7650", + "kind": "model", + "type": { + "$ref": "766" + }, + "value": { + "$id": "7651", + "operationType": { + "$id": "7652", + "kind": "string", + "type": { + "$ref": "164" + }, + "value": "Source" + }, + "name": { + "$id": "7653", + "kind": "string", + "type": { + "$ref": "771" + }, + "value": "knnafvkwoeakm" + }, + "sourceSettings": { + "$id": "7654", + "kind": "model", + "type": { + "$ref": "775" + }, + "value": { + "$id": "7655", + "endpointRef": { + "$id": "7656", + "kind": "string", + "type": { + "$ref": "777" + }, + "value": "iixotodhvhkkfcfyrkoveslqig" + }, + "assetRef": { + "$id": "7657", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "zayyykwmckaocywdkohmu" + }, + "serializationFormat": { + "$id": "7658", + "kind": "string", + "type": { + "$ref": "172" + }, + "value": "Json" + }, + "schemaRef": { + "$id": "7659", + "kind": "string", + "type": { + "$ref": "788" + }, + "value": "pknmdzqll" + }, + "dataSources": { + "$id": "7660", + "kind": "array", + "type": { + "$ref": "792" + }, + "value": [ + { + "$id": "7661", + "kind": "string", + "type": { + "$ref": "793" + }, + "value": "chkkpymxhp" + } + ] + } + } + }, + "builtInTransformationSettings": { + "$id": "7662", + "kind": "model", + "type": { + "$ref": "800" + }, + "value": { + "$id": "7663", + "serializationFormat": { + "$id": "7664", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "Delta" + }, + "schemaRef": { + "$id": "7665", + "kind": "string", + "type": { + "$ref": "805" + }, + "value": "mcdc" + }, + "datasets": { + "$id": "7666", + "kind": "array", + "type": { + "$ref": "809" + }, + "value": [ + { + "$id": "7667", + "kind": "model", + "type": { + "$ref": "810" + }, + "value": { + "$id": "7668", + "key": { + "$id": "7669", + "kind": "string", + "type": { + "$ref": "812" + }, + "value": "qsfqcgxaxnhfumrsdsokwyv" + }, + "description": { + "$id": "7670", + "kind": "string", + "type": { + "$ref": "816" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "schemaRef": { + "$id": "7671", + "kind": "string", + "type": { + "$ref": "820" + }, + "value": "n" + }, + "inputs": { + "$id": "7672", + "kind": "array", + "type": { + "$ref": "824" + }, + "value": [ + { + "$id": "7673", + "kind": "string", + "type": { + "$ref": "825" + }, + "value": "mosffpsslifkq" + } + ] + }, + "expression": { + "$id": "7674", + "kind": "string", + "type": { + "$ref": "829" + }, + "value": "aatbwomvflemsxialv" + } + } + } + ] + }, + "filter": { + "$id": "7675", + "kind": "array", + "type": { + "$ref": "835" + }, + "value": [ + { + "$id": "7676", + "kind": "model", + "type": { + "$ref": "836" + }, + "value": { + "$id": "7677", + "type": { + "$id": "7678", + "kind": "string", + "type": { + "$ref": "184" + }, + "value": "Filter" + }, + "description": { + "$id": "7679", + "kind": "string", + "type": { + "$ref": "841" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7680", + "kind": "array", + "type": { + "$ref": "845" + }, + "value": [ + { + "$id": "7681", + "kind": "string", + "type": { + "$ref": "846" + }, + "value": "sxmjkbntgb" + } + ] + }, + "expression": { + "$id": "7682", + "kind": "string", + "type": { + "$ref": "850" + }, + "value": "n" + } + } + } + ] + }, + "map": { + "$id": "7683", + "kind": "array", + "type": { + "$ref": "856" + }, + "value": [ + { + "$id": "7684", + "kind": "model", + "type": { + "$ref": "857" + }, + "value": { + "$id": "7685", + "type": { + "$id": "7686", + "kind": "string", + "type": { + "$ref": "188" + }, + "value": "NewProperties" + }, + "description": { + "$id": "7687", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "Lorem ipsum odor amet, consectetuer adipiscing elit." + }, + "inputs": { + "$id": "7688", + "kind": "array", + "type": { + "$ref": "866" + }, + "value": [ + { + "$id": "7689", + "kind": "string", + "type": { + "$ref": "867" + }, + "value": "xsbxuk" + } + ] + }, + "expression": { + "$id": "7690", + "kind": "string", + "type": { + "$ref": "871" + }, + "value": "txoiltogsarwkzalsphvlmt" + }, + "output": { + "$id": "7691", + "kind": "string", + "type": { + "$ref": "875" + }, + "value": "nvgtmkfl" + } + } + } + ] + } + } + }, + "destinationSettings": { + "$id": "7692", + "kind": "model", + "type": { + "$ref": "883" + }, + "value": { + "$id": "7693", + "endpointRef": { + "$id": "7694", + "kind": "string", + "type": { + "$ref": "885" + }, + "value": "kybkchnzimerguekuvqlqiqdvvrt" + }, + "dataDestination": { + "$id": "7695", + "kind": "string", + "type": { + "$ref": "889" + }, + "value": "cbrh" + } + } + } + } + } + ] + }, + "provisioningState": { + "$id": "7696", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7697", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7698", + "name": { + "$id": "7699", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7700", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7701", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" + }, + "name": { + "$id": "7702", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "jxhcpwgfkxqasbexkookvxk" + }, + "type": { + "$id": "7703", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "zkuozvgjseokfchkscoswthzjdry" + }, + "systemData": { + "$id": "7704", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7705", + "createdBy": { + "$id": "7706", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7707", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7708", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7709", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7710", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7711", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "7712", + "kind": "string", + "type": { + "$ref": "911" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "7713", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "7714", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "7715", + "type": { + "$id": "7716", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.Dataflow" + }, + { + "$id": "7717", + "name": "DataflowEndpoint", + "namespace": "Azure.ResourceManager.IotOperations", + "operations": [ + { + "$id": "7718", + "name": "get", + "resourceName": "DataflowEndpointResource", + "doc": "Get a DataflowEndpointResource", + "accessibility": "public", + "parameters": [ + { + "$id": "7719", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7720", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "7721", + "type": { + "$id": "7722", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7723", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7724", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7725", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7726", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7727", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7728", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "7729", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7730", + "name": "dataflowEndpointName", + "nameInRequest": "dataflowEndpointName", + "doc": "Name of Instance dataflowEndpoint resource", + "type": { + "$id": "7731", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7732", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "7733", + "kind": "constant", + "valueType": { + "$id": "7734", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "7735", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "336" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpoint.get", + "decorators": [], + "examples": [ + { + "$id": "7736", + "kind": "http", + "name": "DataflowEndpoint_Get", + "description": "DataflowEndpoint_Get", + "filePath": "2025-04-01/DataflowEndpoint_Get_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "7737", + "parameter": { + "$ref": "7719" + }, + "value": { + "$id": "7738", + "kind": "string", + "type": { + "$ref": "7720" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7739", + "parameter": { + "$ref": "7723" + }, + "value": { + "$id": "7740", + "kind": "string", + "type": { + "$ref": "7724" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7741", + "parameter": { + "$ref": "7726" + }, + "value": { + "$id": "7742", + "kind": "string", + "type": { + "$ref": "7727" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7743", + "parameter": { + "$ref": "7728" + }, + "value": { + "$id": "7744", + "kind": "string", + "type": { + "$ref": "7729" + }, + "value": "resource-name123" + } + }, + { + "$id": "7745", + "parameter": { + "$ref": "7730" + }, + "value": { + "$id": "7746", + "kind": "string", + "type": { + "$ref": "7731" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "7747", + "response": { + "$ref": "7735" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7748", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "7749", + "properties": { + "$id": "7750", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "7751", + "endpointType": { + "$id": "7752", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "7753", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "7754", + "authentication": { + "$id": "7755", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "7756", + "method": { + "$id": "7757", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "7758", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "7759", + "audience": { + "$id": "7760", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "7761", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "7762", + "clientId": { + "$id": "7763", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "7764", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "7765", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "database": { + "$id": "7766", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "yqcdpjsifm" + }, + "host": { + "$id": "7767", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "..kusto.windows.net" + }, + "batching": { + "$id": "7768", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "7769", + "latencySeconds": { + "$id": "7770", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "7771", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "dataLakeStorageSettings": { + "$id": "7772", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "7773", + "authentication": { + "$id": "7774", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "7775", + "method": { + "$id": "7776", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "SystemAssignedManagedIdentity" + }, + "accessTokenSettings": { + "$id": "7777", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "7778", + "secretRef": { + "$id": "7779", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "sevriyphcvnlrnfudqzejecwa" + } + } + }, + "systemAssignedManagedIdentitySettings": { + "$id": "7780", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "7781", + "audience": { + "$id": "7782", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "7783", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "7784", + "clientId": { + "$id": "7785", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "7786", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "7787", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "host": { + "$id": "7788", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": ".blob.core.windows.net" + }, + "batching": { + "$id": "7789", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "7790", + "latencySeconds": { + "$id": "7791", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "7792", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "fabricOneLakeSettings": { + "$id": "7793", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "7794", + "authentication": { + "$id": "7795", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "7796", + "method": { + "$id": "7797", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "7798", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "7799", + "audience": { + "$id": "7800", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "7801", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "7802", + "clientId": { + "$id": "7803", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "7804", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "7805", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "names": { + "$id": "7806", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "7807", + "lakehouseName": { + "$id": "7808", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "wpeathi" + }, + "workspaceName": { + "$id": "7809", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "nwgmitkbljztgms" + } + } + }, + "oneLakePathType": { + "$id": "7810", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Files" + }, + "host": { + "$id": "7811", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "https://.fabric.microsoft.com" + }, + "batching": { + "$id": "7812", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "7813", + "latencySeconds": { + "$id": "7814", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "7815", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "kafkaSettings": { + "$id": "7816", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "7817", + "authentication": { + "$id": "7818", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "7819", + "method": { + "$id": "7820", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "7821", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "7822", + "audience": { + "$id": "7823", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "7824", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "7825", + "clientId": { + "$id": "7826", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "7827", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "7828", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "saslSettings": { + "$id": "7829", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "7830", + "saslType": { + "$id": "7831", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "7832", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "visyxoztqnylvbyokhtmpdkwes" + } + } + }, + "x509CertificateSettings": { + "$id": "7833", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "7834", + "secretRef": { + "$id": "7835", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "consumerGroupId": { + "$id": "7836", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "ukkzcjiyenhxokat" + }, + "host": { + "$id": "7837", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "pwcqfiqclcgneolpewnyavoulbip" + }, + "batching": { + "$id": "7838", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "7839", + "mode": { + "$id": "7840", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "7841", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 3679 + }, + "maxBytes": { + "$id": "7842", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 8887 + }, + "maxMessages": { + "$id": "7843", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 2174 + } + } + }, + "copyMqttProperties": { + "$id": "7844", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "compression": { + "$id": "7845", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "None" + }, + "kafkaAcks": { + "$id": "7846", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Zero" + }, + "partitionStrategy": { + "$id": "7847", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "tls": { + "$id": "7848", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "7849", + "mode": { + "$id": "7850", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "7851", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "7852", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "localStorageSettings": { + "$id": "7853", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "7854", + "persistentVolumeClaimRef": { + "$id": "7855", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "jjwqwvd" + } + } + }, + "mqttSettings": { + "$id": "7856", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "7857", + "authentication": { + "$id": "7858", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "7859", + "method": { + "$id": "7860", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "7861", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "7862", + "audience": { + "$id": "7863", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "7864", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "7865", + "clientId": { + "$id": "7866", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "7867", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "7868", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "serviceAccountTokenSettings": { + "$id": "7869", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "7870", + "audience": { + "$id": "7871", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "ejbklrbxgjaqleoycgpje" + } + } + }, + "x509CertificateSettings": { + "$id": "7872", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "7873", + "secretRef": { + "$id": "7874", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "clientIdPrefix": { + "$id": "7875", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "kkljsdxdirfhwxtkavldekeqhv" + }, + "host": { + "$id": "7876", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "nyhnxqnbspstctl" + }, + "protocol": { + "$id": "7877", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "keepAliveSeconds": { + "$id": "7878", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 0 + }, + "retain": { + "$id": "7879", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "maxInflightMessages": { + "$id": "7880", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 0 + }, + "qos": { + "$id": "7881", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "sessionExpirySeconds": { + "$id": "7882", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 0 + }, + "tls": { + "$id": "7883", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "7884", + "mode": { + "$id": "7885", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "7886", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "7887", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "provisioningState": { + "$id": "7888", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7889", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7890", + "name": { + "$id": "7891", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7892", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7893", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "7894", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "7895", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "7896", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7897", + "createdBy": { + "$id": "7898", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7899", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7900", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7901", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7902", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7903", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "7904", + "name": "createOrUpdate", + "resourceName": "DataflowEndpointResource", + "doc": "Create a DataflowEndpointResource", + "accessibility": "public", + "parameters": [ + { + "$id": "7905", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "7906", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "7907", + "type": { + "$id": "7908", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7909", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "7910", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "7911", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7912", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "7913", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7914", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "7915", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7916", + "name": "dataflowEndpointName", + "nameInRequest": "dataflowEndpointName", + "doc": "Name of Instance dataflowEndpoint resource", + "type": { + "$id": "7917", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7918", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "7919", + "kind": "constant", + "valueType": { + "$id": "7920", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7921", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "7922", + "kind": "constant", + "valueType": { + "$id": "7923", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "7924", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "336" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "7925", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "336" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "7926", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "336" + }, + "headers": [ + { + "$id": "7927", + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "7928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "7929", + "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": "7930", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "7931", + "finalStateVia": 0, + "finalResponse": { + "$id": "7932", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "336" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpoint.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "7933", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "description": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_ADLSv2.json", + "parameters": [ + { + "$id": "7934", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "7935", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "7936", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "7937", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "7938", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "7939", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "7940", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "7941", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "7942", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "7943", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "adlsv2-endpoint" + } + }, + { + "$id": "7944", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "7945", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "7946", + "properties": { + "$id": "7947", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "7948", + "endpointType": { + "$id": "7949", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataLakeStorage" + }, + "dataLakeStorageSettings": { + "$id": "7950", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "7951", + "host": { + "$id": "7952", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": "example.blob.core.windows.net" + }, + "authentication": { + "$id": "7953", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "7954", + "method": { + "$id": "7955", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "AccessToken" + }, + "accessTokenSettings": { + "$id": "7956", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "7957", + "secretRef": { + "$id": "7958", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "my-secret" + } + } + } + } + } + } + } + } + }, + "extendedLocation": { + "$id": "7959", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7960", + "name": { + "$id": "7961", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7962", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "7963", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "7964", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "7965", + "properties": { + "$id": "7966", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "7967", + "endpointType": { + "$id": "7968", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataLakeStorage" + }, + "dataLakeStorageSettings": { + "$id": "7969", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "7970", + "host": { + "$id": "7971", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": "example.blob.core.windows.net" + }, + "authentication": { + "$id": "7972", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "7973", + "method": { + "$id": "7974", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "AccessToken" + }, + "accessTokenSettings": { + "$id": "7975", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "7976", + "secretRef": { + "$id": "7977", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "my-secret" + } + } + } + } + } + } + }, + "provisioningState": { + "$id": "7978", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "7979", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "7980", + "name": { + "$id": "7981", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "7982", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "7983", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "7984", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "7985", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "7986", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "7987", + "createdBy": { + "$id": "7988", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "7989", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "7990", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "7991", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "7992", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "7993", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "7994", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "7995", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "7996", + "properties": { + "$id": "7997", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "7998", + "endpointType": { + "$id": "7999", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataLakeStorage" + }, + "dataLakeStorageSettings": { + "$id": "8000", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "8001", + "host": { + "$id": "8002", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": "example.blob.core.windows.net" + }, + "authentication": { + "$id": "8003", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "8004", + "method": { + "$id": "8005", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "AccessToken" + }, + "accessTokenSettings": { + "$id": "8006", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "8007", + "secretRef": { + "$id": "8008", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "my-secret" + } + } + } + } + } + } + }, + "provisioningState": { + "$id": "8009", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8010", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8011", + "name": { + "$id": "8012", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8013", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8014", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8015", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8016", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8017", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8018", + "createdBy": { + "$id": "8019", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8020", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8021", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8022", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8023", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8024", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8025", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_ADX", + "description": "DataflowEndpoint_CreateOrUpdate_ADX", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_ADX.json", + "parameters": [ + { + "$id": "8026", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8027", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8028", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8029", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8030", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8031", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8032", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8033", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8034", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8035", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "adx-endpoint" + } + }, + { + "$id": "8036", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8037", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8038", + "properties": { + "$id": "8039", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8040", + "endpointType": { + "$id": "8041", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "8042", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "8043", + "host": { + "$id": "8044", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "example.westeurope.kusto.windows.net" + }, + "authentication": { + "$id": "8045", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "8046", + "method": { + "$id": "8047", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8048", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8049" + } + } + } + }, + "database": { + "$id": "8050", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "example-database" + }, + "batching": { + "$id": "8051", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8052", + "latencySeconds": { + "$id": "8053", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8054", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + } + } + }, + "extendedLocation": { + "$id": "8055", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8056", + "name": { + "$id": "8057", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8058", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8059", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8060", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8061", + "properties": { + "$id": "8062", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8063", + "endpointType": { + "$id": "8064", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "8065", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "8066", + "host": { + "$id": "8067", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "example.westeurope.kusto.windows.net" + }, + "authentication": { + "$id": "8068", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "8069", + "method": { + "$id": "8070", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8071", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8072" + } + } + } + }, + "database": { + "$id": "8073", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "example-database" + }, + "batching": { + "$id": "8074", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8075", + "latencySeconds": { + "$id": "8076", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8077", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + }, + "provisioningState": { + "$id": "8078", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8079", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8080", + "name": { + "$id": "8081", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8082", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8083", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8084", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8085", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8086", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8087", + "createdBy": { + "$id": "8088", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8089", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8090", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8091", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8092", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8093", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8094", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8095", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8096", + "properties": { + "$id": "8097", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8098", + "endpointType": { + "$id": "8099", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "8100", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "8101", + "host": { + "$id": "8102", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "example.westeurope.kusto.windows.net" + }, + "authentication": { + "$id": "8103", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "8104", + "method": { + "$id": "8105", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8106", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8107" + } + } + } + }, + "database": { + "$id": "8108", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "example-database" + }, + "batching": { + "$id": "8109", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8110", + "latencySeconds": { + "$id": "8111", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8112", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + }, + "provisioningState": { + "$id": "8113", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8114", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8115", + "name": { + "$id": "8116", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8117", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8118", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8119", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8120", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8121", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8122", + "createdBy": { + "$id": "8123", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8124", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8125", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8126", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8127", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8128", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8129", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_AIO", + "description": "DataflowEndpoint_CreateOrUpdate_AIO", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_AIO.json", + "parameters": [ + { + "$id": "8130", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8131", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8132", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8133", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8134", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8135", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8136", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8137", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8138", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8139", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "aio-builtin-broker-endpoint" + } + }, + { + "$id": "8140", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8141", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8142", + "properties": { + "$id": "8143", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8144", + "endpointType": { + "$id": "8145", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8146", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8147", + "host": { + "$id": "8148", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "aio-broker:18883" + }, + "authentication": { + "$id": "8149", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8150", + "method": { + "$id": "8151", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "Kubernetes" + }, + "serviceAccountTokenSettings": { + "$id": "8152", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "8153", + "audience": { + "$id": "8154", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "aio-internal" + } + } + } + } + }, + "tls": { + "$id": "8155", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8156", + "mode": { + "$id": "8157", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8158", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "aio-ca-trust-bundle-test-only" + } + } + } + } + } + } + }, + "extendedLocation": { + "$id": "8159", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8160", + "name": { + "$id": "8161", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8162", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8163", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8164", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8165", + "properties": { + "$id": "8166", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8167", + "endpointType": { + "$id": "8168", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8169", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8170", + "host": { + "$id": "8171", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "aio-broker:18883" + }, + "authentication": { + "$id": "8172", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8173", + "method": { + "$id": "8174", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "Kubernetes" + }, + "serviceAccountTokenSettings": { + "$id": "8175", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "8176", + "audience": { + "$id": "8177", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "aio-internal" + } + } + } + } + }, + "tls": { + "$id": "8178", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8179", + "mode": { + "$id": "8180", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8181", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "aio-ca-trust-bundle-test-only" + } + } + } + } + }, + "provisioningState": { + "$id": "8182", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8183", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8184", + "name": { + "$id": "8185", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8186", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8187", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8188", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8189", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8190", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8191", + "createdBy": { + "$id": "8192", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8193", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8194", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8195", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8196", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8197", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8198", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8199", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8200", + "properties": { + "$id": "8201", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8202", + "endpointType": { + "$id": "8203", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8204", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8205", + "host": { + "$id": "8206", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "aio-broker:18883" + }, + "authentication": { + "$id": "8207", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8208", + "method": { + "$id": "8209", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "Kubernetes" + }, + "serviceAccountTokenSettings": { + "$id": "8210", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "8211", + "audience": { + "$id": "8212", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "aio-internal" + } + } + } + } + }, + "tls": { + "$id": "8213", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8214", + "mode": { + "$id": "8215", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8216", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "aio-ca-trust-bundle-test-only" + } + } + } + } + }, + "provisioningState": { + "$id": "8217", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8218", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8219", + "name": { + "$id": "8220", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8221", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8222", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8223", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8224", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8225", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8226", + "createdBy": { + "$id": "8227", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8228", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8229", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8230", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8231", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8232", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8233", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "description": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_EventGrid.json", + "parameters": [ + { + "$id": "8234", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8235", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8236", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8237", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8238", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8239", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8240", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8241", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8242", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8243", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "event-grid-endpoint" + } + }, + { + "$id": "8244", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8245", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8246", + "properties": { + "$id": "8247", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8248", + "endpointType": { + "$id": "8249", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8250", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8251", + "host": { + "$id": "8252", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.westeurope-1.ts.eventgrid.azure.net:8883" + }, + "authentication": { + "$id": "8253", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8254", + "method": { + "$id": "8255", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8256", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8257" + } + } + } + }, + "tls": { + "$id": "8258", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8259", + "mode": { + "$id": "8260", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + } + } + } + } + }, + "extendedLocation": { + "$id": "8261", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8262", + "name": { + "$id": "8263", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8264", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8265", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8266", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8267", + "properties": { + "$id": "8268", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8269", + "endpointType": { + "$id": "8270", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8271", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8272", + "host": { + "$id": "8273", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.westeurope-1.ts.eventgrid.azure.net:8883" + }, + "authentication": { + "$id": "8274", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8275", + "method": { + "$id": "8276", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8277", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8278" + } + } + } + }, + "tls": { + "$id": "8279", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8280", + "mode": { + "$id": "8281", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + } + } + }, + "provisioningState": { + "$id": "8282", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8283", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8284", + "name": { + "$id": "8285", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8286", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8287", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8288", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8289", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8290", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8291", + "createdBy": { + "$id": "8292", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8293", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8294", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8295", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8296", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8297", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8298", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8299", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8300", + "properties": { + "$id": "8301", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8302", + "endpointType": { + "$id": "8303", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8304", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8305", + "host": { + "$id": "8306", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.westeurope-1.ts.eventgrid.azure.net:8883" + }, + "authentication": { + "$id": "8307", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8308", + "method": { + "$id": "8309", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8310", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8311" + } + } + } + }, + "tls": { + "$id": "8312", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8313", + "mode": { + "$id": "8314", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + } + } + }, + "provisioningState": { + "$id": "8315", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8316", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8317", + "name": { + "$id": "8318", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8319", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8320", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8321", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8322", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8323", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8324", + "createdBy": { + "$id": "8325", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8326", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8327", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8328", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8329", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8330", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8331", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_EventHub", + "description": "DataflowEndpoint_CreateOrUpdate_EventHub", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_EventHub.json", + "parameters": [ + { + "$id": "8332", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8333", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8334", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8335", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8336", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8337", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8338", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8339", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8340", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8341", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "event-hub-endpoint" + } + }, + { + "$id": "8342", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8343", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8344", + "properties": { + "$id": "8345", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8346", + "endpointType": { + "$id": "8347", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8348", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8349", + "host": { + "$id": "8350", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.servicebus.windows.net:9093" + }, + "authentication": { + "$id": "8351", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8352", + "method": { + "$id": "8353", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8354", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8355" + } + } + } + }, + "tls": { + "$id": "8356", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8357", + "mode": { + "$id": "8358", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "consumerGroupId": { + "$id": "8359", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "aiodataflows" + } + } + } + } + }, + "extendedLocation": { + "$id": "8360", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8361", + "name": { + "$id": "8362", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8363", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8364", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8365", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8366", + "properties": { + "$id": "8367", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8368", + "endpointType": { + "$id": "8369", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8370", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8371", + "host": { + "$id": "8372", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.servicebus.windows.net:9093" + }, + "authentication": { + "$id": "8373", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8374", + "method": { + "$id": "8375", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8376", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8377" + } + } + } + }, + "tls": { + "$id": "8378", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8379", + "mode": { + "$id": "8380", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "consumerGroupId": { + "$id": "8381", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "aiodataflows" + } + } + }, + "provisioningState": { + "$id": "8382", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8383", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8384", + "name": { + "$id": "8385", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8386", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8387", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8388", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8389", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8390", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8391", + "createdBy": { + "$id": "8392", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8393", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8394", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8395", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8396", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8397", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8398", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8399", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8400", + "properties": { + "$id": "8401", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8402", + "endpointType": { + "$id": "8403", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8404", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8405", + "host": { + "$id": "8406", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.servicebus.windows.net:9093" + }, + "authentication": { + "$id": "8407", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8408", + "method": { + "$id": "8409", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8410", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8411" + } + } + } + }, + "tls": { + "$id": "8412", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8413", + "mode": { + "$id": "8414", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + } + } + }, + "consumerGroupId": { + "$id": "8415", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "aiodataflows" + } + } + }, + "provisioningState": { + "$id": "8416", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8417", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8418", + "name": { + "$id": "8419", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8420", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8421", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8422", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8423", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8424", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8425", + "createdBy": { + "$id": "8426", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8427", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8428", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8429", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8430", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8431", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8432", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_Fabric", + "description": "DataflowEndpoint_CreateOrUpdate_Fabric", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_Fabric.json", + "parameters": [ + { + "$id": "8433", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8434", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8435", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8436", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8437", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8438", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8439", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8440", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8441", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8442", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "fabric-endpoint" + } + }, + { + "$id": "8443", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8444", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8445", + "properties": { + "$id": "8446", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8447", + "endpointType": { + "$id": "8448", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "FabricOneLake" + }, + "fabricOneLakeSettings": { + "$id": "8449", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "8450", + "host": { + "$id": "8451", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "onelake.dfs.fabric.microsoft.com" + }, + "authentication": { + "$id": "8452", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "8453", + "method": { + "$id": "8454", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8455", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8456" + } + } + } + }, + "names": { + "$id": "8457", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "8458", + "workspaceName": { + "$id": "8459", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "example-workspace" + }, + "lakehouseName": { + "$id": "8460", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "example-lakehouse" + } + } + }, + "oneLakePathType": { + "$id": "8461", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Tables" + } + } + } + } + }, + "extendedLocation": { + "$id": "8462", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8463", + "name": { + "$id": "8464", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8465", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8466", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8467", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8468", + "properties": { + "$id": "8469", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8470", + "endpointType": { + "$id": "8471", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "FabricOneLake" + }, + "fabricOneLakeSettings": { + "$id": "8472", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "8473", + "host": { + "$id": "8474", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "onelake.dfs.fabric.microsoft.com" + }, + "authentication": { + "$id": "8475", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "8476", + "method": { + "$id": "8477", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8478", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8479" + } + } + } + }, + "names": { + "$id": "8480", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "8481", + "workspaceName": { + "$id": "8482", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "example-workspace" + }, + "lakehouseName": { + "$id": "8483", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "example-lakehouse" + } + } + }, + "oneLakePathType": { + "$id": "8484", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Tables" + } + } + }, + "provisioningState": { + "$id": "8485", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8486", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8487", + "name": { + "$id": "8488", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8489", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8490", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8491", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8492", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8493", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8494", + "createdBy": { + "$id": "8495", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8496", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8497", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8498", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8499", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8500", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8501", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8502", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8503", + "properties": { + "$id": "8504", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8505", + "endpointType": { + "$id": "8506", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "FabricOneLake" + }, + "fabricOneLakeSettings": { + "$id": "8507", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "8508", + "host": { + "$id": "8509", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "onelake.dfs.fabric.microsoft.com" + }, + "authentication": { + "$id": "8510", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "8511", + "method": { + "$id": "8512", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8513", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8514" + } + } + } + }, + "names": { + "$id": "8515", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "8516", + "workspaceName": { + "$id": "8517", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "example-workspace" + }, + "lakehouseName": { + "$id": "8518", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "example-lakehouse" + } + } + }, + "oneLakePathType": { + "$id": "8519", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Tables" + } + } + }, + "provisioningState": { + "$id": "8520", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8521", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8522", + "name": { + "$id": "8523", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8524", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8525", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8526", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8527", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8528", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8529", + "createdBy": { + "$id": "8530", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8531", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8532", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8533", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8534", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8535", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8536", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_Kafka", + "description": "DataflowEndpoint_CreateOrUpdate_Kafka", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_Kafka.json", + "parameters": [ + { + "$id": "8537", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8538", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8539", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8540", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8541", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8542", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8543", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8544", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8545", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8546", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "generic-kafka-endpoint" + } + }, + { + "$id": "8547", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8548", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8549", + "properties": { + "$id": "8550", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8551", + "endpointType": { + "$id": "8552", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8553", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8554", + "host": { + "$id": "8555", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.kafka.local:9093" + }, + "authentication": { + "$id": "8556", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8557", + "method": { + "$id": "8558", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Sasl" + }, + "saslSettings": { + "$id": "8559", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "8560", + "saslType": { + "$id": "8561", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "8562", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "my-secret" + } + } + } + } + }, + "tls": { + "$id": "8563", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8564", + "mode": { + "$id": "8565", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8566", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "ca-certificates" + } + } + }, + "consumerGroupId": { + "$id": "8567", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "dataflows" + }, + "compression": { + "$id": "8568", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Gzip" + }, + "batching": { + "$id": "8569", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "8570", + "mode": { + "$id": "8571", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "8572", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 5 + }, + "maxBytes": { + "$id": "8573", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 1000000 + }, + "maxMessages": { + "$id": "8574", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 100000 + } + } + }, + "partitionStrategy": { + "$id": "8575", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "kafkaAcks": { + "$id": "8576", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "All" + }, + "copyMqttProperties": { + "$id": "8577", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cloudEventAttributes": { + "$id": "8578", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "Propagate" + } + } + } + } + }, + "extendedLocation": { + "$id": "8579", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8580", + "name": { + "$id": "8581", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8582", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8583", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8584", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8585", + "properties": { + "$id": "8586", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8587", + "endpointType": { + "$id": "8588", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8589", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8590", + "host": { + "$id": "8591", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.kafka.local:9093" + }, + "authentication": { + "$id": "8592", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8593", + "method": { + "$id": "8594", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Sasl" + }, + "saslSettings": { + "$id": "8595", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "8596", + "saslType": { + "$id": "8597", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "8598", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "my-secret" + } + } + } + } + }, + "tls": { + "$id": "8599", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8600", + "mode": { + "$id": "8601", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8602", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "ca-certificates" + } + } + }, + "consumerGroupId": { + "$id": "8603", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "dataflows" + }, + "compression": { + "$id": "8604", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Gzip" + }, + "batching": { + "$id": "8605", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "8606", + "mode": { + "$id": "8607", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "8608", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 5 + }, + "maxBytes": { + "$id": "8609", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 1000000 + }, + "maxMessages": { + "$id": "8610", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 100000 + } + } + }, + "partitionStrategy": { + "$id": "8611", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "kafkaAcks": { + "$id": "8612", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "All" + }, + "copyMqttProperties": { + "$id": "8613", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cloudEventAttributes": { + "$id": "8614", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "Propagate" + } + } + }, + "provisioningState": { + "$id": "8615", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8616", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8617", + "name": { + "$id": "8618", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8619", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8620", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8621", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8622", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8623", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8624", + "createdBy": { + "$id": "8625", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8626", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8627", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8628", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8629", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8630", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8631", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8632", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8633", + "properties": { + "$id": "8634", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8635", + "endpointType": { + "$id": "8636", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Kafka" + }, + "kafkaSettings": { + "$id": "8637", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8638", + "host": { + "$id": "8639", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "example.kafka.local:9093" + }, + "authentication": { + "$id": "8640", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8641", + "method": { + "$id": "8642", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "Sasl" + }, + "saslSettings": { + "$id": "8643", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "8644", + "saslType": { + "$id": "8645", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "8646", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "my-secret" + } + } + } + } + }, + "tls": { + "$id": "8647", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8648", + "mode": { + "$id": "8649", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8650", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "ca-certificates" + } + } + }, + "consumerGroupId": { + "$id": "8651", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "dataflows" + }, + "compression": { + "$id": "8652", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "Gzip" + }, + "batching": { + "$id": "8653", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "8654", + "mode": { + "$id": "8655", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "8656", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 5 + }, + "maxBytes": { + "$id": "8657", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 1000000 + }, + "maxMessages": { + "$id": "8658", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 100000 + } + } + }, + "partitionStrategy": { + "$id": "8659", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "kafkaAcks": { + "$id": "8660", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "All" + }, + "copyMqttProperties": { + "$id": "8661", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "cloudEventAttributes": { + "$id": "8662", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "Propagate" + } + } + }, + "provisioningState": { + "$id": "8663", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8664", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8665", + "name": { + "$id": "8666", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8667", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8668", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8669", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8670", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8671", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8672", + "createdBy": { + "$id": "8673", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8674", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8675", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8676", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8677", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8678", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8679", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "description": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_LocalStorage.json", + "parameters": [ + { + "$id": "8680", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8681", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8682", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8683", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8684", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8685", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8686", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8687", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8688", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8689", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "local-storage-endpoint" + } + }, + { + "$id": "8690", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8691", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8692", + "properties": { + "$id": "8693", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8694", + "endpointType": { + "$id": "8695", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "LocalStorage" + }, + "localStorageSettings": { + "$id": "8696", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "8697", + "persistentVolumeClaimRef": { + "$id": "8698", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "example-pvc" + } + } + } + } + }, + "extendedLocation": { + "$id": "8699", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8700", + "name": { + "$id": "8701", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8702", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8703", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8704", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8705", + "properties": { + "$id": "8706", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8707", + "endpointType": { + "$id": "8708", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "LocalStorage" + }, + "localStorageSettings": { + "$id": "8709", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "8710", + "persistentVolumeClaimRef": { + "$id": "8711", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "example-pvc" + } + } + }, + "provisioningState": { + "$id": "8712", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8713", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8714", + "name": { + "$id": "8715", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8716", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8717", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8718", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8719", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8720", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8721", + "createdBy": { + "$id": "8722", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8723", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8724", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8725", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8726", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8727", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8728", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8729", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8730", + "properties": { + "$id": "8731", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8732", + "endpointType": { + "$id": "8733", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "LocalStorage" + }, + "localStorageSettings": { + "$id": "8734", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "8735", + "persistentVolumeClaimRef": { + "$id": "8736", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "example-pvc" + } + } + }, + "provisioningState": { + "$id": "8737", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8738", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8739", + "name": { + "$id": "8740", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8741", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8742", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8743", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8744", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8745", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8746", + "createdBy": { + "$id": "8747", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8748", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8749", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8750", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8751", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8752", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8753", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate_MQTT", + "description": "DataflowEndpoint_CreateOrUpdate_MQTT", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_MQTT.json", + "parameters": [ + { + "$id": "8754", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8755", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8756", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8757", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8758", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8759", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8760", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8761", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8762", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8763", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "generic-mqtt-broker-endpoint" + } + }, + { + "$id": "8764", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8765", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8766", + "properties": { + "$id": "8767", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8768", + "endpointType": { + "$id": "8769", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8770", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8771", + "host": { + "$id": "8772", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.broker.local:1883" + }, + "authentication": { + "$id": "8773", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8774", + "method": { + "$id": "8775", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "X509Certificate" + }, + "x509CertificateSettings": { + "$id": "8776", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "8777", + "secretRef": { + "$id": "8778", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "example-secret" + } + } + } + } + }, + "tls": { + "$id": "8779", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8780", + "mode": { + "$id": "8781", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Disabled" + } + } + }, + "clientIdPrefix": { + "$id": "8782", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "factory-gateway" + }, + "retain": { + "$id": "8783", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "sessionExpirySeconds": { + "$id": "8784", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 3600 + }, + "qos": { + "$id": "8785", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "protocol": { + "$id": "8786", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "maxInflightMessages": { + "$id": "8787", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 100 + }, + "keepAliveSeconds": { + "$id": "8788", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 60 + } + } + } + } + }, + "extendedLocation": { + "$id": "8789", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8790", + "name": { + "$id": "8791", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8792", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "8793", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "8794", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8795", + "properties": { + "$id": "8796", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8797", + "endpointType": { + "$id": "8798", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8799", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8800", + "host": { + "$id": "8801", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.broker.local:1883" + }, + "authentication": { + "$id": "8802", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8803", + "method": { + "$id": "8804", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "X509Certificate" + }, + "x509CertificateSettings": { + "$id": "8805", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "8806", + "secretRef": { + "$id": "8807", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "example-secret" + } + } + } + } + }, + "tls": { + "$id": "8808", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8809", + "mode": { + "$id": "8810", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Disabled" + } + } + }, + "clientIdPrefix": { + "$id": "8811", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "factory-gateway" + }, + "retain": { + "$id": "8812", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "sessionExpirySeconds": { + "$id": "8813", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 3600 + }, + "qos": { + "$id": "8814", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "protocol": { + "$id": "8815", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "maxInflightMessages": { + "$id": "8816", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 100 + }, + "keepAliveSeconds": { + "$id": "8817", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 60 + } + } + }, + "provisioningState": { + "$id": "8818", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8819", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8820", + "name": { + "$id": "8821", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8822", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8823", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8824", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8825", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8826", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8827", + "createdBy": { + "$id": "8828", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8829", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8830", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8831", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8832", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8833", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "8834", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "8835", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8836", + "properties": { + "$id": "8837", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8838", + "endpointType": { + "$id": "8839", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Mqtt" + }, + "mqttSettings": { + "$id": "8840", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8841", + "host": { + "$id": "8842", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "example.broker.local:1883" + }, + "authentication": { + "$id": "8843", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8844", + "method": { + "$id": "8845", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "X509Certificate" + }, + "x509CertificateSettings": { + "$id": "8846", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "8847", + "secretRef": { + "$id": "8848", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "example-secret" + } + } + } + } + }, + "tls": { + "$id": "8849", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8850", + "mode": { + "$id": "8851", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Disabled" + } + } + }, + "clientIdPrefix": { + "$id": "8852", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "factory-gateway" + }, + "retain": { + "$id": "8853", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "sessionExpirySeconds": { + "$id": "8854", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 3600 + }, + "qos": { + "$id": "8855", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "protocol": { + "$id": "8856", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebSockets" + }, + "maxInflightMessages": { + "$id": "8857", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 100 + }, + "keepAliveSeconds": { + "$id": "8858", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 60 + } + } + }, + "provisioningState": { + "$id": "8859", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "8860", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "8861", + "name": { + "$id": "8862", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "8863", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "8864", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "8865", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "8866", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "8867", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "8868", + "createdBy": { + "$id": "8869", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "8870", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "8871", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "8872", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "8873", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "8874", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + }, + { + "$id": "8875", + "kind": "http", + "name": "DataflowEndpoint_CreateOrUpdate", + "description": "DataflowEndpoint_CreateOrUpdate", + "filePath": "2025-04-01/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "8876", + "parameter": { + "$ref": "7905" + }, + "value": { + "$id": "8877", + "kind": "string", + "type": { + "$ref": "7906" + }, + "value": "2025-04-01" + } + }, + { + "$id": "8878", + "parameter": { + "$ref": "7909" + }, + "value": { + "$id": "8879", + "kind": "string", + "type": { + "$ref": "7910" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "8880", + "parameter": { + "$ref": "7912" + }, + "value": { + "$id": "8881", + "kind": "string", + "type": { + "$ref": "7913" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "8882", + "parameter": { + "$ref": "7914" + }, + "value": { + "$id": "8883", + "kind": "string", + "type": { + "$ref": "7915" + }, + "value": "resource-name123" + } + }, + { + "$id": "8884", + "parameter": { + "$ref": "7916" + }, + "value": { + "$id": "8885", + "kind": "string", + "type": { + "$ref": "7917" + }, + "value": "resource-name123" + } + }, + { + "$id": "8886", + "parameter": { + "$ref": "7924" + }, + "value": { + "$id": "8887", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "8888", + "properties": { + "$id": "8889", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "8890", + "endpointType": { + "$id": "8891", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "8892", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "8893", + "authentication": { + "$id": "8894", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "8895", + "method": { + "$id": "8896", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8897", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8898", + "audience": { + "$id": "8899", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "8900", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "8901", + "clientId": { + "$id": "8902", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "8903", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "8904", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "database": { + "$id": "8905", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "yqcdpjsifm" + }, + "host": { + "$id": "8906", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "..kusto.windows.net" + }, + "batching": { + "$id": "8907", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8908", + "latencySeconds": { + "$id": "8909", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8910", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + }, + "dataLakeStorageSettings": { + "$id": "8911", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "8912", + "authentication": { + "$id": "8913", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "8914", + "method": { + "$id": "8915", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "SystemAssignedManagedIdentity" + }, + "accessTokenSettings": { + "$id": "8916", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "8917", + "secretRef": { + "$id": "8918", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "sevriyphcvnlrnfudqzejecwa" + } + } + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8919", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8920", + "audience": { + "$id": "8921", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "8922", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "8923", + "clientId": { + "$id": "8924", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "8925", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "8926", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "host": { + "$id": "8927", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": ".blob.core.windows.net" + }, + "batching": { + "$id": "8928", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8929", + "latencySeconds": { + "$id": "8930", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8931", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + }, + "fabricOneLakeSettings": { + "$id": "8932", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "8933", + "authentication": { + "$id": "8934", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "8935", + "method": { + "$id": "8936", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8937", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8938", + "audience": { + "$id": "8939", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "8940", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "8941", + "clientId": { + "$id": "8942", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "8943", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "8944", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "names": { + "$id": "8945", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "8946", + "lakehouseName": { + "$id": "8947", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "wpeathi" + }, + "workspaceName": { + "$id": "8948", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "nwgmitkbljztgms" + } + } + }, + "oneLakePathType": { + "$id": "8949", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Files" + }, + "host": { + "$id": "8950", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "https://.fabric.microsoft.com" + }, + "batching": { + "$id": "8951", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "8952", + "latencySeconds": { + "$id": "8953", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 9312 + }, + "maxMessages": { + "$id": "8954", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 9028 + } + } + } + } + }, + "kafkaSettings": { + "$id": "8955", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "8956", + "authentication": { + "$id": "8957", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "8958", + "method": { + "$id": "8959", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "8960", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "8961", + "audience": { + "$id": "8962", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "8963", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "8964", + "clientId": { + "$id": "8965", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "8966", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "8967", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "saslSettings": { + "$id": "8968", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "8969", + "saslType": { + "$id": "8970", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "8971", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "visyxoztqnylvbyokhtmpdkwes" + } + } + }, + "x509CertificateSettings": { + "$id": "8972", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "8973", + "secretRef": { + "$id": "8974", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "consumerGroupId": { + "$id": "8975", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "ukkzcjiyenhxokat" + }, + "host": { + "$id": "8976", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "pwcqfiqclcgneolpewnyavoulbip" + }, + "batching": { + "$id": "8977", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "8978", + "mode": { + "$id": "8979", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "8980", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 3679 + }, + "maxBytes": { + "$id": "8981", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 8887 + }, + "maxMessages": { + "$id": "8982", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 2174 + } + } + }, + "copyMqttProperties": { + "$id": "8983", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "compression": { + "$id": "8984", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "None" + }, + "kafkaAcks": { + "$id": "8985", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Zero" + }, + "partitionStrategy": { + "$id": "8986", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "tls": { + "$id": "8987", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "8988", + "mode": { + "$id": "8989", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "8990", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "8991", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "localStorageSettings": { + "$id": "8992", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "8993", + "persistentVolumeClaimRef": { + "$id": "8994", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "jjwqwvd" + } + } + }, + "mqttSettings": { + "$id": "8995", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "8996", + "authentication": { + "$id": "8997", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "8998", + "method": { + "$id": "8999", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9000", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9001", + "audience": { + "$id": "9002", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9003", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9004", + "clientId": { + "$id": "9005", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9006", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9007", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "serviceAccountTokenSettings": { + "$id": "9008", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "9009", + "audience": { + "$id": "9010", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "ejbklrbxgjaqleoycgpje" + } + } + }, + "x509CertificateSettings": { + "$id": "9011", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9012", + "secretRef": { + "$id": "9013", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "clientIdPrefix": { + "$id": "9014", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "kkljsdxdirfhwxtkavldekeqhv" + }, + "host": { + "$id": "9015", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "nyhnxqnbspstctl" + }, + "protocol": { + "$id": "9016", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "keepAliveSeconds": { + "$id": "9017", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 0 + }, + "retain": { + "$id": "9018", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "maxInflightMessages": { + "$id": "9019", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 0 + }, + "qos": { + "$id": "9020", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "sessionExpirySeconds": { + "$id": "9021", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 0 + }, + "tls": { + "$id": "9022", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9023", + "mode": { + "$id": "9024", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9025", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9026", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + } + } + }, + "extendedLocation": { + "$id": "9027", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "9028", + "name": { + "$id": "9029", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "9030", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "9031", + "response": { + "$ref": "7925" + }, + "statusCode": 200, + "bodyValue": { + "$id": "9032", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "9033", + "properties": { + "$id": "9034", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "9035", + "endpointType": { + "$id": "9036", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "9037", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "9038", + "authentication": { + "$id": "9039", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "9040", + "method": { + "$id": "9041", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9042", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9043", + "audience": { + "$id": "9044", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9045", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9046", + "clientId": { + "$id": "9047", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9048", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9049", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "database": { + "$id": "9050", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "yqcdpjsifm" + }, + "host": { + "$id": "9051", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "..kusto.windows.net" + }, + "batching": { + "$id": "9052", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9053", + "latencySeconds": { + "$id": "9054", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9055", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "dataLakeStorageSettings": { + "$id": "9056", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "9057", + "authentication": { + "$id": "9058", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "9059", + "method": { + "$id": "9060", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "SystemAssignedManagedIdentity" + }, + "accessTokenSettings": { + "$id": "9061", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "9062", + "secretRef": { + "$id": "9063", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "sevriyphcvnlrnfudqzejecwa" + } + } + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9064", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9065", + "audience": { + "$id": "9066", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9067", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9068", + "clientId": { + "$id": "9069", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9070", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9071", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "host": { + "$id": "9072", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": ".blob.core.windows.net" + }, + "batching": { + "$id": "9073", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9074", + "latencySeconds": { + "$id": "9075", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9076", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "fabricOneLakeSettings": { + "$id": "9077", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "9078", + "authentication": { + "$id": "9079", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "9080", + "method": { + "$id": "9081", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9082", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9083", + "audience": { + "$id": "9084", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9085", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9086", + "clientId": { + "$id": "9087", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9088", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9089", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "names": { + "$id": "9090", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "9091", + "lakehouseName": { + "$id": "9092", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "wpeathi" + }, + "workspaceName": { + "$id": "9093", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "nwgmitkbljztgms" + } + } + }, + "oneLakePathType": { + "$id": "9094", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Files" + }, + "host": { + "$id": "9095", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "https://.fabric.microsoft.com" + }, + "batching": { + "$id": "9096", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9097", + "latencySeconds": { + "$id": "9098", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9099", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "kafkaSettings": { + "$id": "9100", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "9101", + "authentication": { + "$id": "9102", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "9103", + "method": { + "$id": "9104", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9105", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9106", + "audience": { + "$id": "9107", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9108", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9109", + "clientId": { + "$id": "9110", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9111", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9112", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "saslSettings": { + "$id": "9113", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "9114", + "saslType": { + "$id": "9115", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "9116", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "visyxoztqnylvbyokhtmpdkwes" + } + } + }, + "x509CertificateSettings": { + "$id": "9117", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9118", + "secretRef": { + "$id": "9119", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "consumerGroupId": { + "$id": "9120", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "ukkzcjiyenhxokat" + }, + "host": { + "$id": "9121", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "pwcqfiqclcgneolpewnyavoulbip" + }, + "batching": { + "$id": "9122", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "9123", + "mode": { + "$id": "9124", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "9125", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 3679 + }, + "maxBytes": { + "$id": "9126", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 8887 + }, + "maxMessages": { + "$id": "9127", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 2174 + } + } + }, + "copyMqttProperties": { + "$id": "9128", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "compression": { + "$id": "9129", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "None" + }, + "kafkaAcks": { + "$id": "9130", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Zero" + }, + "partitionStrategy": { + "$id": "9131", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "tls": { + "$id": "9132", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9133", + "mode": { + "$id": "9134", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9135", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9136", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "localStorageSettings": { + "$id": "9137", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "9138", + "persistentVolumeClaimRef": { + "$id": "9139", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "jjwqwvd" + } + } + }, + "mqttSettings": { + "$id": "9140", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "9141", + "authentication": { + "$id": "9142", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "9143", + "method": { + "$id": "9144", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9145", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9146", + "audience": { + "$id": "9147", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9148", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9149", + "clientId": { + "$id": "9150", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9151", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9152", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "serviceAccountTokenSettings": { + "$id": "9153", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "9154", + "audience": { + "$id": "9155", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "ejbklrbxgjaqleoycgpje" + } + } + }, + "x509CertificateSettings": { + "$id": "9156", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9157", + "secretRef": { + "$id": "9158", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "clientIdPrefix": { + "$id": "9159", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "kkljsdxdirfhwxtkavldekeqhv" + }, + "host": { + "$id": "9160", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "nyhnxqnbspstctl" + }, + "protocol": { + "$id": "9161", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "keepAliveSeconds": { + "$id": "9162", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 0 + }, + "retain": { + "$id": "9163", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "maxInflightMessages": { + "$id": "9164", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 0 + }, + "qos": { + "$id": "9165", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "sessionExpirySeconds": { + "$id": "9166", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 0 + }, + "tls": { + "$id": "9167", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9168", + "mode": { + "$id": "9169", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9170", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9171", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "provisioningState": { + "$id": "9172", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "9173", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "9174", + "name": { + "$id": "9175", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "9176", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "9177", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "9178", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "9179", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "9180", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "9181", + "createdBy": { + "$id": "9182", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "9183", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "9184", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "9185", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "9186", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "9187", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + }, + { + "$id": "9188", + "response": { + "$ref": "7926" + }, + "statusCode": 201, + "bodyValue": { + "$id": "9189", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "9190", + "properties": { + "$id": "9191", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "9192", + "endpointType": { + "$id": "9193", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "9194", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "9195", + "authentication": { + "$id": "9196", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "9197", + "method": { + "$id": "9198", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9199", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9200", + "audience": { + "$id": "9201", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9202", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9203", + "clientId": { + "$id": "9204", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9205", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9206", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "database": { + "$id": "9207", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "yqcdpjsifm" + }, + "host": { + "$id": "9208", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "..kusto.windows.net" + }, + "batching": { + "$id": "9209", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9210", + "latencySeconds": { + "$id": "9211", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9212", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "dataLakeStorageSettings": { + "$id": "9213", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "9214", + "authentication": { + "$id": "9215", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "9216", + "method": { + "$id": "9217", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "SystemAssignedManagedIdentity" + }, + "accessTokenSettings": { + "$id": "9218", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "9219", + "secretRef": { + "$id": "9220", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "sevriyphcvnlrnfudqzejecwa" + } + } + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9221", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9222", + "audience": { + "$id": "9223", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9224", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9225", + "clientId": { + "$id": "9226", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9227", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9228", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "host": { + "$id": "9229", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": ".blob.core.windows.net" + }, + "batching": { + "$id": "9230", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9231", + "latencySeconds": { + "$id": "9232", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9233", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "fabricOneLakeSettings": { + "$id": "9234", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "9235", + "authentication": { + "$id": "9236", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "9237", + "method": { + "$id": "9238", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9239", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9240", + "audience": { + "$id": "9241", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9242", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9243", + "clientId": { + "$id": "9244", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9245", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9246", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "names": { + "$id": "9247", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "9248", + "lakehouseName": { + "$id": "9249", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "wpeathi" + }, + "workspaceName": { + "$id": "9250", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "nwgmitkbljztgms" + } + } + }, + "oneLakePathType": { + "$id": "9251", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Files" + }, + "host": { + "$id": "9252", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "https://.fabric.microsoft.com" + }, + "batching": { + "$id": "9253", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9254", + "latencySeconds": { + "$id": "9255", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9256", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "kafkaSettings": { + "$id": "9257", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "9258", + "authentication": { + "$id": "9259", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "9260", + "method": { + "$id": "9261", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9262", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9263", + "audience": { + "$id": "9264", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9265", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9266", + "clientId": { + "$id": "9267", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9268", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9269", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "saslSettings": { + "$id": "9270", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "9271", + "saslType": { + "$id": "9272", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "9273", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "visyxoztqnylvbyokhtmpdkwes" + } + } + }, + "x509CertificateSettings": { + "$id": "9274", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9275", + "secretRef": { + "$id": "9276", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "consumerGroupId": { + "$id": "9277", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "ukkzcjiyenhxokat" + }, + "host": { + "$id": "9278", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "pwcqfiqclcgneolpewnyavoulbip" + }, + "batching": { + "$id": "9279", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "9280", + "mode": { + "$id": "9281", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "9282", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 3679 + }, + "maxBytes": { + "$id": "9283", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 8887 + }, + "maxMessages": { + "$id": "9284", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 2174 + } + } + }, + "copyMqttProperties": { + "$id": "9285", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "compression": { + "$id": "9286", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "None" + }, + "kafkaAcks": { + "$id": "9287", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Zero" + }, + "partitionStrategy": { + "$id": "9288", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "tls": { + "$id": "9289", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9290", + "mode": { + "$id": "9291", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9292", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9293", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "localStorageSettings": { + "$id": "9294", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "9295", + "persistentVolumeClaimRef": { + "$id": "9296", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "jjwqwvd" + } + } + }, + "mqttSettings": { + "$id": "9297", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "9298", + "authentication": { + "$id": "9299", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "9300", + "method": { + "$id": "9301", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9302", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9303", + "audience": { + "$id": "9304", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9305", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9306", + "clientId": { + "$id": "9307", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9308", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9309", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "serviceAccountTokenSettings": { + "$id": "9310", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "9311", + "audience": { + "$id": "9312", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "ejbklrbxgjaqleoycgpje" + } + } + }, + "x509CertificateSettings": { + "$id": "9313", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9314", + "secretRef": { + "$id": "9315", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "clientIdPrefix": { + "$id": "9316", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "kkljsdxdirfhwxtkavldekeqhv" + }, + "host": { + "$id": "9317", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "nyhnxqnbspstctl" + }, + "protocol": { + "$id": "9318", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "keepAliveSeconds": { + "$id": "9319", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 0 + }, + "retain": { + "$id": "9320", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "maxInflightMessages": { + "$id": "9321", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 0 + }, + "qos": { + "$id": "9322", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "sessionExpirySeconds": { + "$id": "9323", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 0 + }, + "tls": { + "$id": "9324", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9325", + "mode": { + "$id": "9326", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9327", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9328", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "provisioningState": { + "$id": "9329", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "9330", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "9331", + "name": { + "$id": "9332", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "9333", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "9334", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "9335", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "9336", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "9337", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "9338", + "createdBy": { + "$id": "9339", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "9340", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "9341", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "9342", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "9343", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "9344", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "9345", + "name": "delete", + "resourceName": "DataflowEndpointResource", + "doc": "Delete a DataflowEndpointResource", + "accessibility": "public", + "parameters": [ + { + "$id": "9346", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "9347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "9348", + "type": { + "$id": "9349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9350", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "9351", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "9352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9353", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "9354", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9355", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "9356", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9357", + "name": "dataflowEndpointName", + "nameInRequest": "dataflowEndpointName", + "doc": "Name of Instance dataflowEndpoint resource", + "type": { + "$id": "9358", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9359", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "9360", + "kind": "constant", + "valueType": { + "$id": "9361", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "9362", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "9363", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "9364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "9365", + "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": "9366", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "9367", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", + "bufferResponse": true, + "longRunning": { + "$id": "9368", + "finalStateVia": 1, + "finalResponse": { + "$id": "9369", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpoint.delete", + "decorators": [], + "examples": [ + { + "$id": "9370", + "kind": "http", + "name": "DataflowEndpoint_Delete", + "description": "DataflowEndpoint_Delete", + "filePath": "2025-04-01/DataflowEndpoint_Delete_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "9371", + "parameter": { + "$ref": "9346" + }, + "value": { + "$id": "9372", + "kind": "string", + "type": { + "$ref": "9347" + }, + "value": "2025-04-01" + } + }, + { + "$id": "9373", + "parameter": { + "$ref": "9350" + }, + "value": { + "$id": "9374", + "kind": "string", + "type": { + "$ref": "9351" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "9375", + "parameter": { + "$ref": "9353" + }, + "value": { + "$id": "9376", + "kind": "string", + "type": { + "$ref": "9354" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "9377", + "parameter": { + "$ref": "9355" + }, + "value": { + "$id": "9378", + "kind": "string", + "type": { + "$ref": "9356" + }, + "value": "resource-name123" + } + }, + { + "$id": "9379", + "parameter": { + "$ref": "9357" + }, + "value": { + "$id": "9380", + "kind": "string", + "type": { + "$ref": "9358" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "9381", + "response": { + "$ref": "9362" + }, + "statusCode": 202 + }, + { + "$id": "9382", + "response": { + "$ref": "9367" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "9383", + "name": "listByResourceGroup", + "resourceName": "DataflowEndpointResource", + "doc": "List DataflowEndpointResource resources by InstanceResource", + "accessibility": "public", + "parameters": [ + { + "$id": "9384", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "9385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "9386", + "type": { + "$id": "9387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-04-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9388", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "9389", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "9390", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9391", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "9392", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9393", + "name": "instanceName", + "nameInRequest": "instanceName", + "doc": "Name of instance.", + "type": { + "$id": "9394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "9395", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "9396", + "kind": "constant", + "valueType": { + "$id": "9397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "9398", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "748" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints", + "bufferResponse": true, + "paging": { + "$id": "9399", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "9400", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpoint.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "9401", + "kind": "http", + "name": "DataflowEndpoint_ListByResourceGroup", + "description": "DataflowEndpoint_ListByResourceGroup", + "filePath": "2025-04-01/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json", + "parameters": [ + { + "$id": "9402", + "parameter": { + "$ref": "9384" + }, + "value": { + "$id": "9403", + "kind": "string", + "type": { + "$ref": "9385" + }, + "value": "2025-04-01" + } + }, + { + "$id": "9404", + "parameter": { + "$ref": "9388" + }, + "value": { + "$id": "9405", + "kind": "string", + "type": { + "$ref": "9389" + }, + "value": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + } + }, + { + "$id": "9406", + "parameter": { + "$ref": "9391" + }, + "value": { + "$id": "9407", + "kind": "string", + "type": { + "$ref": "9392" + }, + "value": "rgiotoperations" + } + }, + { + "$id": "9408", + "parameter": { + "$ref": "9393" + }, + "value": { + "$id": "9409", + "kind": "string", + "type": { + "$ref": "9394" + }, + "value": "resource-name123" + } + } + ], + "responses": [ + { + "$id": "9410", + "response": { + "$ref": "9398" + }, + "statusCode": 200, + "bodyValue": { + "$id": "9411", + "kind": "model", + "type": { + "$ref": "748" + }, + "value": { + "$id": "9412", + "value": { + "$id": "9413", + "kind": "array", + "type": { + "$ref": "750" + }, + "value": [ + { + "$id": "9414", + "kind": "model", + "type": { + "$ref": "336" + }, + "value": { + "$id": "9415", + "properties": { + "$id": "9416", + "kind": "model", + "type": { + "$ref": "382" + }, + "value": { + "$id": "9417", + "endpointType": { + "$id": "9418", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "DataExplorer" + }, + "dataExplorerSettings": { + "$id": "9419", + "kind": "model", + "type": { + "$ref": "387" + }, + "value": { + "$id": "9420", + "authentication": { + "$id": "9421", + "kind": "model", + "type": { + "$ref": "389" + }, + "value": { + "$id": "9422", + "method": { + "$id": "9423", + "kind": "string", + "type": { + "$ref": "16" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9424", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9425", + "audience": { + "$id": "9426", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9427", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9428", + "clientId": { + "$id": "9429", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9430", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9431", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "database": { + "$id": "9432", + "kind": "string", + "type": { + "$ref": "420" + }, + "value": "yqcdpjsifm" + }, + "host": { + "$id": "9433", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "..kusto.windows.net" + }, + "batching": { + "$id": "9434", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9435", + "latencySeconds": { + "$id": "9436", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9437", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "dataLakeStorageSettings": { + "$id": "9438", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "9439", + "authentication": { + "$id": "9440", + "kind": "model", + "type": { + "$ref": "444" + }, + "value": { + "$id": "9441", + "method": { + "$id": "9442", + "kind": "string", + "type": { + "$ref": "22" + }, + "value": "SystemAssignedManagedIdentity" + }, + "accessTokenSettings": { + "$id": "9443", + "kind": "model", + "type": { + "$ref": "449" + }, + "value": { + "$id": "9444", + "secretRef": { + "$id": "9445", + "kind": "string", + "type": { + "$ref": "451" + }, + "value": "sevriyphcvnlrnfudqzejecwa" + } + } + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9446", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9447", + "audience": { + "$id": "9448", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9449", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9450", + "clientId": { + "$id": "9451", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9452", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9453", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "host": { + "$id": "9454", + "kind": "string", + "type": { + "$ref": "465" + }, + "value": ".blob.core.windows.net" + }, + "batching": { + "$id": "9455", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9456", + "latencySeconds": { + "$id": "9457", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9458", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "fabricOneLakeSettings": { + "$id": "9459", + "kind": "model", + "type": { + "$ref": "474" + }, + "value": { + "$id": "9460", + "authentication": { + "$id": "9461", + "kind": "model", + "type": { + "$ref": "476" + }, + "value": { + "$id": "9462", + "method": { + "$id": "9463", + "kind": "string", + "type": { + "$ref": "30" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9464", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9465", + "audience": { + "$id": "9466", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9467", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9468", + "clientId": { + "$id": "9469", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9470", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9471", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + } + } + }, + "names": { + "$id": "9472", + "kind": "model", + "type": { + "$ref": "489" + }, + "value": { + "$id": "9473", + "lakehouseName": { + "$id": "9474", + "kind": "string", + "type": { + "$ref": "491" + }, + "value": "wpeathi" + }, + "workspaceName": { + "$id": "9475", + "kind": "string", + "type": { + "$ref": "495" + }, + "value": "nwgmitkbljztgms" + } + } + }, + "oneLakePathType": { + "$id": "9476", + "kind": "string", + "type": { + "$ref": "36" + }, + "value": "Files" + }, + "host": { + "$id": "9477", + "kind": "string", + "type": { + "$ref": "504" + }, + "value": "https://.fabric.microsoft.com" + }, + "batching": { + "$id": "9478", + "kind": "model", + "type": { + "$ref": "428" + }, + "value": { + "$id": "9479", + "latencySeconds": { + "$id": "9480", + "kind": "number", + "type": { + "$ref": "430" + }, + "value": 1228 + }, + "maxMessages": { + "$id": "9481", + "kind": "number", + "type": { + "$ref": "434" + }, + "value": 171 + } + } + } + } + }, + "kafkaSettings": { + "$id": "9482", + "kind": "model", + "type": { + "$ref": "513" + }, + "value": { + "$id": "9483", + "authentication": { + "$id": "9484", + "kind": "model", + "type": { + "$ref": "515" + }, + "value": { + "$id": "9485", + "method": { + "$id": "9486", + "kind": "string", + "type": { + "$ref": "42" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9487", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9488", + "audience": { + "$id": "9489", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9490", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9491", + "clientId": { + "$id": "9492", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9493", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9494", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "saslSettings": { + "$id": "9495", + "kind": "model", + "type": { + "$ref": "526" + }, + "value": { + "$id": "9496", + "saslType": { + "$id": "9497", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "Plain" + }, + "secretRef": { + "$id": "9498", + "kind": "string", + "type": { + "$ref": "531" + }, + "value": "visyxoztqnylvbyokhtmpdkwes" + } + } + }, + "x509CertificateSettings": { + "$id": "9499", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9500", + "secretRef": { + "$id": "9501", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "consumerGroupId": { + "$id": "9502", + "kind": "string", + "type": { + "$ref": "547" + }, + "value": "ukkzcjiyenhxokat" + }, + "host": { + "$id": "9503", + "kind": "string", + "type": { + "$ref": "551" + }, + "value": "pwcqfiqclcgneolpewnyavoulbip" + }, + "batching": { + "$id": "9504", + "kind": "model", + "type": { + "$ref": "555" + }, + "value": { + "$id": "9505", + "mode": { + "$id": "9506", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "latencyMs": { + "$id": "9507", + "kind": "number", + "type": { + "$ref": "560" + }, + "value": 3679 + }, + "maxBytes": { + "$id": "9508", + "kind": "number", + "type": { + "$ref": "564" + }, + "value": 8887 + }, + "maxMessages": { + "$id": "9509", + "kind": "number", + "type": { + "$ref": "568" + }, + "value": 2174 + } + } + }, + "copyMqttProperties": { + "$id": "9510", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "compression": { + "$id": "9511", + "kind": "string", + "type": { + "$ref": "68" + }, + "value": "None" + }, + "kafkaAcks": { + "$id": "9512", + "kind": "string", + "type": { + "$ref": "78" + }, + "value": "Zero" + }, + "partitionStrategy": { + "$id": "9513", + "kind": "string", + "type": { + "$ref": "86" + }, + "value": "Default" + }, + "tls": { + "$id": "9514", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9515", + "mode": { + "$id": "9516", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9517", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9518", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "localStorageSettings": { + "$id": "9519", + "kind": "model", + "type": { + "$ref": "602" + }, + "value": { + "$id": "9520", + "persistentVolumeClaimRef": { + "$id": "9521", + "kind": "string", + "type": { + "$ref": "604" + }, + "value": "jjwqwvd" + } + } + }, + "mqttSettings": { + "$id": "9522", + "kind": "model", + "type": { + "$ref": "610" + }, + "value": { + "$id": "9523", + "authentication": { + "$id": "9524", + "kind": "model", + "type": { + "$ref": "612" + }, + "value": { + "$id": "9525", + "method": { + "$id": "9526", + "kind": "string", + "type": { + "$ref": "102" + }, + "value": "SystemAssignedManagedIdentity" + }, + "systemAssignedManagedIdentitySettings": { + "$id": "9527", + "kind": "model", + "type": { + "$ref": "394" + }, + "value": { + "$id": "9528", + "audience": { + "$id": "9529", + "kind": "string", + "type": { + "$ref": "396" + }, + "value": "psxomrfbhoflycm" + } + } + }, + "userAssignedManagedIdentitySettings": { + "$id": "9530", + "kind": "model", + "type": { + "$ref": "402" + }, + "value": { + "$id": "9531", + "clientId": { + "$id": "9532", + "kind": "string", + "type": { + "$ref": "404" + }, + "value": "fb90f267-8872-431a-a76a-a1cec5d3c4d2" + }, + "scope": { + "$id": "9533", + "kind": "string", + "type": { + "$ref": "408" + }, + "value": "zop" + }, + "tenantId": { + "$id": "9534", + "kind": "string", + "type": { + "$ref": "412" + }, + "value": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + } + }, + "serviceAccountTokenSettings": { + "$id": "9535", + "kind": "model", + "type": { + "$ref": "623" + }, + "value": { + "$id": "9536", + "audience": { + "$id": "9537", + "kind": "string", + "type": { + "$ref": "625" + }, + "value": "ejbklrbxgjaqleoycgpje" + } + } + }, + "x509CertificateSettings": { + "$id": "9538", + "kind": "model", + "type": { + "$ref": "537" + }, + "value": { + "$id": "9539", + "secretRef": { + "$id": "9540", + "kind": "string", + "type": { + "$ref": "539" + }, + "value": "afwizrystfslkfqd" + } + } + } + } + }, + "clientIdPrefix": { + "$id": "9541", + "kind": "string", + "type": { + "$ref": "636" + }, + "value": "kkljsdxdirfhwxtkavldekeqhv" + }, + "host": { + "$id": "9542", + "kind": "string", + "type": { + "$ref": "640" + }, + "value": "nyhnxqnbspstctl" + }, + "protocol": { + "$id": "9543", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Mqtt" + }, + "keepAliveSeconds": { + "$id": "9544", + "kind": "number", + "type": { + "$ref": "647" + }, + "value": 0 + }, + "retain": { + "$id": "9545", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Keep" + }, + "maxInflightMessages": { + "$id": "9546", + "kind": "number", + "type": { + "$ref": "654" + }, + "value": 0 + }, + "qos": { + "$id": "9547", + "kind": "number", + "type": { + "$ref": "658" + }, + "value": 1 + }, + "sessionExpirySeconds": { + "$id": "9548", + "kind": "number", + "type": { + "$ref": "662" + }, + "value": 0 + }, + "tls": { + "$id": "9549", + "kind": "model", + "type": { + "$ref": "586" + }, + "value": { + "$id": "9550", + "mode": { + "$id": "9551", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Enabled" + }, + "trustedCaCertificateConfigMapRef": { + "$id": "9552", + "kind": "string", + "type": { + "$ref": "591" + }, + "value": "tectjjvukvelsreihwadh" + } + } + }, + "cloudEventAttributes": { + "$id": "9553", + "kind": "string", + "type": { + "$ref": "96" + }, + "value": "PassThrough" + } + } + }, + "provisioningState": { + "$id": "9554", + "kind": "string", + "type": { + "$ref": "126" + }, + "value": "Succeeded" + } + } + }, + "extendedLocation": { + "$id": "9555", + "kind": "model", + "type": { + "$ref": "679" + }, + "value": { + "$id": "9556", + "name": { + "$id": "9557", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "qmbrfwcpwwhggszhrdjv" + }, + "type": { + "$id": "9558", + "kind": "string", + "type": { + "$ref": "142" + }, + "value": "CustomLocation" + } + } + }, + "id": { + "$id": "9559", + "kind": "string", + "type": { + "$ref": "340" + }, + "value": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" + }, + "name": { + "$id": "9560", + "kind": "string", + "type": { + "$ref": "345" + }, + "value": "zyhxscudobzfacetvgyjiav" + }, + "type": { + "$id": "9561", + "kind": "string", + "type": { + "$ref": "349" + }, + "value": "iay" + }, + "systemData": { + "$id": "9562", + "kind": "model", + "type": { + "$ref": "354" + }, + "value": { + "$id": "9563", + "createdBy": { + "$id": "9564", + "kind": "string", + "type": { + "$ref": "356" + }, + "value": "ssvaslsmudloholronopqyxjcu" + }, + "createdByType": { + "$id": "9565", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "createdAt": { + "$id": "9566", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "2024-08-09T18:13:29.389Z" + }, + "lastModifiedBy": { + "$id": "9567", + "kind": "string", + "type": { + "$ref": "368" + }, + "value": "gnicpuszwd" + }, + "lastModifiedByType": { + "$id": "9568", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "9569", + "kind": "string", + "type": { + "$ref": "375" + }, + "value": "2024-08-09T18:13:29.389Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "9570", + "kind": "string", + "type": { + "$ref": "754" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + } + ], + "parent": "IoTOperationsClient", + "parameters": [ + { + "$id": "9571", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "9572", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "9573", + "type": { + "$id": "9574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.IoTOperations.DataflowEndpoint" + } + ], + "auth": { + "$id": "9575", + "oAuth2": { + "$id": "9576", + "scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/sdk/resourcemanager/ci.mgmt.yml b/sdk/resourcemanager/ci.mgmt.yml index 15e7655c7b93..3011dad318b3 100644 --- a/sdk/resourcemanager/ci.mgmt.yml +++ b/sdk/resourcemanager/ci.mgmt.yml @@ -79,6 +79,7 @@ trigger: - sdk/digitaltwins/Azure.ResourceManager.DigitalTwins - sdk/dns/Azure.ResourceManager.Dns - sdk/dnsresolver/Azure.ResourceManager.DnsResolver + - sdk/durabletask/Azure.ResourceManager.DurableTask - sdk/dynatrace/Azure.ResourceManager.Dynatrace - sdk/edgeorder/Azure.ResourceManager.EdgeOrder - sdk/edgezones/Azure.ResourceManager.EdgeZones @@ -287,6 +288,7 @@ pr: - sdk/digitaltwins/Azure.ResourceManager.DigitalTwins - sdk/dns/Azure.ResourceManager.Dns - sdk/dnsresolver/Azure.ResourceManager.DnsResolver + - sdk/durabletask/Azure.ResourceManager.DurableTask - sdk/dynatrace/Azure.ResourceManager.Dynatrace - sdk/edgeorder/Azure.ResourceManager.EdgeOrder - sdk/edgezones/Azure.ResourceManager.EdgeZones diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/