diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
index d42f5de7a940..decdc1097a9e 100644
--- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
+++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
@@ -1,3 +1,4 @@
-directory: specification/agricultureplatform
-commit: eeb0e92b55f6c56827df9e7d57f5e08bc633e077
-repo: Azure/azure-rest-api-specs
\ No newline at end of file
+directory: specification/agricultureplatform/AgriculturePlatform.Management
+commit: af51fab0cc00ba3eaee7e4710e8fec5894d4bb0c
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/Configuration.json b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/Configuration.json
new file mode 100644
index 000000000000..3ebb2db81a78
--- /dev/null
+++ b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/Configuration.json
@@ -0,0 +1,12 @@
+{
+ "output-folder": ".",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "library-name": "Azure.ResourceManager.ComputeSchedule",
+ "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/computeschedule/Azure.ResourceManager.ComputeSchedule/tsp-location.yaml b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tsp-location.yaml
index a1e8be2a82fb..abd82741573f 100644
--- a/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tsp-location.yaml
+++ b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tsp-location.yaml
@@ -1,3 +1,4 @@
directory: specification/computeschedule/ComputeSchedule.Management
-commit: 462574dbd02088c209bb1da3eef0d93f699e8de2
-repo: Azure/azure-rest-api-specs
\ No newline at end of file
+commit: af51fab0cc00ba3eaee7e4710e8fec5894d4bb0c
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tspCodeModel.json b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tspCodeModel.json
new file mode 100644
index 000000000000..5daab0f7f8b2
--- /dev/null
+++ b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tspCodeModel.json
@@ -0,0 +1,9042 @@
+{
+ "$id": "1",
+ "name": "Microsoft.ComputeSchedule",
+ "apiVersions": [
+ "2024-10-01"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "Origin",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a system.",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "user,system",
+ "value": "user,system",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a user or system.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enum",
+ "name": "ActionType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "Internal",
+ "value": "Internal",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "10"
+ },
+ "doc": "Actions are for internal-only APIs.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enum",
+ "name": "ScheduledActionDeadlineType",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeadlineType",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "Default value of Unknown.",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "InitiateAt",
+ "value": "InitiateAt",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "Initiate the operation at the given deadline.",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "CompleteBy",
+ "value": "CompleteBy",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "Complete the operation by the given deadline.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "The types of deadlines supported by ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enum",
+ "name": "ScheduledActionOptimizationPreference",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OptimizationPreference",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "Cost",
+ "value": "Cost",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "22"
+ },
+ "doc": "Optimize while considering cost savings",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enumvalue",
+ "name": "Availability",
+ "value": "Availability",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "22"
+ },
+ "doc": "Optimize while considering availability of resources",
+ "decorators": []
+ },
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "CostAvailabilityBalanced",
+ "value": "CostAvailabilityBalanced",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "22"
+ },
+ "doc": "Optimize while considering a balance of cost and availability",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "The preferences customers can select to optimize their requests to ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enum",
+ "name": "ResourceOperationType",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationType",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "32",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "30"
+ },
+ "doc": "The default value for this enum type",
+ "decorators": []
+ },
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "Start",
+ "value": "Start",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "30"
+ },
+ "doc": "Start operations on the resources",
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "Deallocate",
+ "value": "Deallocate",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "30"
+ },
+ "doc": "Deallocate operations on the resources",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enumvalue",
+ "name": "Hibernate",
+ "value": "Hibernate",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "30"
+ },
+ "doc": "Hibernate operations on the resources",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "The kind of operation types that can be performed on resources using ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "40",
+ "kind": "enum",
+ "name": "ScheduledActionOperationState",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationState",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "The default value for the operation state enum",
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "PendingScheduling",
+ "value": "PendingScheduling",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that are pending scheduling",
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enumvalue",
+ "name": "Scheduled",
+ "value": "Scheduled",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that have been scheduled",
+ "decorators": []
+ },
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "PendingExecution",
+ "value": "PendingExecution",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that are waiting to be executed",
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enumvalue",
+ "name": "Executing",
+ "value": "Executing",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that are in the process of being executed",
+ "decorators": []
+ },
+ {
+ "$id": "52",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that suceeded",
+ "decorators": []
+ },
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that have failed",
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "Cancelled",
+ "value": "Cancelled",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that have been Cancelled by the user",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enumvalue",
+ "name": "Blocked",
+ "value": "Blocked",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Operations that are blocked",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "Values that define the states of operations in Scheduled Actions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "60",
+ "kind": "enum",
+ "name": "Versions",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Versions",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "62",
+ "kind": "enumvalue",
+ "name": "2024-10-01",
+ "value": "2024-10-01",
+ "valueType": {
+ "$id": "63",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "60"
+ },
+ "doc": "2024-10-01 version",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "ComputeSchedule API versions",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "64",
+ "kind": "model",
+ "name": "OperationListResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "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": "65",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Operation items on this page",
+ "type": {
+ "$id": "66",
+ "kind": "array",
+ "name": "ArrayOperation",
+ "valueType": {
+ "$id": "67",
+ "kind": "model",
+ "name": "Operation",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "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": "68",
+ "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": "69",
+ "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": "70",
+ "json": {
+ "$id": "71",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "72",
+ "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": "73",
+ "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": "74",
+ "json": {
+ "$id": "75",
+ "name": "isDataAction"
+ }
+ }
+ },
+ {
+ "$id": "76",
+ "kind": "property",
+ "name": "display",
+ "serializedName": "display",
+ "doc": "Localized display information for this particular operation.",
+ "type": {
+ "$id": "77",
+ "kind": "model",
+ "name": "OperationDisplay",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay",
+ "usage": "Output,Json",
+ "doc": "Localized display information for and operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "78",
+ "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": "79",
+ "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": "80",
+ "json": {
+ "$id": "81",
+ "name": "provider"
+ }
+ }
+ },
+ {
+ "$id": "82",
+ "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": "83",
+ "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": "84",
+ "json": {
+ "$id": "85",
+ "name": "resource"
+ }
+ }
+ },
+ {
+ "$id": "86",
+ "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": "87",
+ "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": "88",
+ "json": {
+ "$id": "89",
+ "name": "operation"
+ }
+ }
+ },
+ {
+ "$id": "90",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
+ "type": {
+ "$id": "91",
+ "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": "92",
+ "json": {
+ "$id": "93",
+ "name": "description"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display",
+ "serializationOptions": {
+ "$id": "94",
+ "json": {
+ "$id": "95",
+ "name": "display"
+ }
+ }
+ },
+ {
+ "$id": "96",
+ "kind": "property",
+ "name": "origin",
+ "serializedName": "origin",
+ "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin",
+ "serializationOptions": {
+ "$id": "97",
+ "json": {
+ "$id": "98",
+ "name": "origin"
+ }
+ }
+ },
+ {
+ "$id": "99",
+ "kind": "property",
+ "name": "actionType",
+ "serializedName": "actionType",
+ "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
+ "type": {
+ "$ref": "10"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType",
+ "serializationOptions": {
+ "$id": "100",
+ "json": {
+ "$id": "101",
+ "name": "actionType"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value",
+ "serializationOptions": {
+ "$id": "102",
+ "json": {
+ "$id": "103",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "104",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "105",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "106",
+ "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": "107",
+ "json": {
+ "$id": "108",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "67"
+ },
+ {
+ "$ref": "77"
+ },
+ {
+ "$id": "109",
+ "kind": "model",
+ "name": "ErrorResponse",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse",
+ "usage": "Json,Exception",
+ "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "110",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "The error object.",
+ "type": {
+ "$id": "111",
+ "kind": "model",
+ "name": "ErrorDetail",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail",
+ "usage": "Json,Exception",
+ "doc": "The error detail.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "112",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "The error code.",
+ "type": {
+ "$id": "113",
+ "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": "114",
+ "json": {
+ "$id": "115",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "116",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "The error message.",
+ "type": {
+ "$id": "117",
+ "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": "118",
+ "json": {
+ "$id": "119",
+ "name": "message"
+ }
+ }
+ },
+ {
+ "$id": "120",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "doc": "The error target.",
+ "type": {
+ "$id": "121",
+ "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": "122",
+ "json": {
+ "$id": "123",
+ "name": "target"
+ }
+ }
+ },
+ {
+ "$id": "124",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "doc": "The error details.",
+ "type": {
+ "$id": "125",
+ "kind": "array",
+ "name": "ArrayErrorDetail",
+ "valueType": {
+ "$ref": "111"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details",
+ "serializationOptions": {
+ "$id": "126",
+ "json": {
+ "$id": "127",
+ "name": "details"
+ }
+ }
+ },
+ {
+ "$id": "128",
+ "kind": "property",
+ "name": "additionalInfo",
+ "serializedName": "additionalInfo",
+ "doc": "The error additional info.",
+ "type": {
+ "$id": "129",
+ "kind": "array",
+ "name": "ArrayErrorAdditionalInfo",
+ "valueType": {
+ "$id": "130",
+ "kind": "model",
+ "name": "ErrorAdditionalInfo",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
+ "usage": "Json,Exception",
+ "doc": "The resource management error additional info.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "131",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The additional info type.",
+ "type": {
+ "$id": "132",
+ "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": "133",
+ "json": {
+ "$id": "134",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "135",
+ "kind": "property",
+ "name": "info",
+ "serializedName": "info",
+ "doc": "The additional info.",
+ "type": {
+ "$id": "136",
+ "kind": "model",
+ "name": "ErrorAdditionalInfoInfo",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous",
+ "usage": "Json,Exception",
+ "decorators": [],
+ "properties": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info",
+ "serializationOptions": {
+ "$id": "137",
+ "json": {
+ "$id": "138",
+ "name": "info"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo",
+ "serializationOptions": {
+ "$id": "139",
+ "json": {
+ "$id": "140",
+ "name": "additionalInfo"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error",
+ "serializationOptions": {
+ "$id": "141",
+ "json": {
+ "$id": "142",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "111"
+ },
+ {
+ "$ref": "130"
+ },
+ {
+ "$ref": "136"
+ },
+ {
+ "$id": "143",
+ "kind": "model",
+ "name": "SubmitDeallocateRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest",
+ "usage": "Input,Json",
+ "doc": "The deallocate request for resources",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "144",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$id": "145",
+ "kind": "model",
+ "name": "UserRequestSchedule",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule",
+ "usage": "Input,Json",
+ "doc": "The schedule details for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "146",
+ "kind": "property",
+ "name": "deadline",
+ "serializedName": "deadline",
+ "doc": "The deadline for the operation",
+ "type": {
+ "$id": "147",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "148",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.deadline",
+ "serializationOptions": {
+ "$id": "149",
+ "json": {
+ "$id": "150",
+ "name": "deadline"
+ }
+ }
+ },
+ {
+ "$id": "151",
+ "kind": "property",
+ "name": "userRequestDeadline",
+ "serializedName": "deadLine",
+ "doc": "The deadline for the operation",
+ "type": {
+ "$id": "152",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "153",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.deadLine",
+ "serializationOptions": {
+ "$id": "154",
+ "json": {
+ "$id": "155",
+ "name": "deadLine"
+ }
+ }
+ },
+ {
+ "$id": "156",
+ "kind": "property",
+ "name": "timezone",
+ "serializedName": "timezone",
+ "doc": "The timezone for the operation",
+ "type": {
+ "$id": "157",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.timezone",
+ "serializationOptions": {
+ "$id": "158",
+ "json": {
+ "$id": "159",
+ "name": "timezone"
+ }
+ }
+ },
+ {
+ "$id": "160",
+ "kind": "property",
+ "name": "userRequestTimezone",
+ "serializedName": "timeZone",
+ "doc": "The timezone for the operation",
+ "type": {
+ "$id": "161",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.timeZone",
+ "serializationOptions": {
+ "$id": "162",
+ "json": {
+ "$id": "163",
+ "name": "timeZone"
+ }
+ }
+ },
+ {
+ "$id": "164",
+ "kind": "property",
+ "name": "deadlineType",
+ "serializedName": "deadlineType",
+ "doc": "The deadlinetype of the operation, this can either be InitiateAt or CompleteBy",
+ "type": {
+ "$ref": "14"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.deadlineType",
+ "serializationOptions": {
+ "$id": "165",
+ "json": {
+ "$id": "166",
+ "name": "deadlineType"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.schedule",
+ "serializationOptions": {
+ "$id": "167",
+ "json": {
+ "$id": "168",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "169",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$id": "170",
+ "kind": "model",
+ "name": "ScheduledActionExecutionParameterDetail",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters",
+ "usage": "Input,Json",
+ "doc": "Extra details needed to run the user's request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "171",
+ "kind": "property",
+ "name": "optimizationPreference",
+ "serializedName": "optimizationPreference",
+ "doc": "Details that could optimize the user's request",
+ "type": {
+ "$ref": "22"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters.optimizationPreference",
+ "serializationOptions": {
+ "$id": "172",
+ "json": {
+ "$id": "173",
+ "name": "optimizationPreference"
+ }
+ }
+ },
+ {
+ "$id": "174",
+ "kind": "property",
+ "name": "retryPolicy",
+ "serializedName": "retryPolicy",
+ "doc": "Retry policy the user can pass",
+ "type": {
+ "$id": "175",
+ "kind": "model",
+ "name": "UserRequestRetryPolicy",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy",
+ "usage": "Input,Output,Json",
+ "doc": "The retry policy for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "176",
+ "kind": "property",
+ "name": "retryCount",
+ "serializedName": "retryCount",
+ "doc": "Retry count for user request",
+ "type": {
+ "$id": "177",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy.retryCount",
+ "serializationOptions": {
+ "$id": "178",
+ "json": {
+ "$id": "179",
+ "name": "retryCount"
+ }
+ }
+ },
+ {
+ "$id": "180",
+ "kind": "property",
+ "name": "retryWindowInMinutes",
+ "serializedName": "retryWindowInMinutes",
+ "doc": "Retry window in minutes for user request",
+ "type": {
+ "$id": "181",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy.retryWindowInMinutes",
+ "serializationOptions": {
+ "$id": "182",
+ "json": {
+ "$id": "183",
+ "name": "retryWindowInMinutes"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters.retryPolicy",
+ "serializationOptions": {
+ "$id": "184",
+ "json": {
+ "$id": "185",
+ "name": "retryPolicy"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "186",
+ "json": {
+ "$id": "187",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "188",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$id": "189",
+ "kind": "model",
+ "name": "UserRequestResources",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Resources",
+ "usage": "Input,Json",
+ "doc": "The resources needed for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "190",
+ "kind": "property",
+ "name": "ids",
+ "serializedName": "ids",
+ "doc": "The resource ids used for the request",
+ "type": {
+ "$id": "191",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "192",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "193",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Resources.ids",
+ "serializationOptions": {
+ "$id": "194",
+ "json": {
+ "$id": "195",
+ "name": "ids"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.resources",
+ "serializationOptions": {
+ "$id": "196",
+ "json": {
+ "$id": "197",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "198",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "199",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "200",
+ "json": {
+ "$id": "201",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "145"
+ },
+ {
+ "$ref": "170"
+ },
+ {
+ "$ref": "175"
+ },
+ {
+ "$ref": "189"
+ },
+ {
+ "$id": "202",
+ "kind": "model",
+ "name": "DeallocateResourceOperationResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a deallocate request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "203",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "204",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "205",
+ "json": {
+ "$id": "206",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "207",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the deallocate request eg virtual machines",
+ "type": {
+ "$id": "208",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "209",
+ "json": {
+ "$id": "210",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "211",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the deallocate request eg westus",
+ "type": {
+ "$id": "212",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "213",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.location",
+ "serializationOptions": {
+ "$id": "214",
+ "json": {
+ "$id": "215",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "216",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the deallocate request if no errors exist",
+ "type": {
+ "$id": "217",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$id": "218",
+ "kind": "model",
+ "name": "ResourceOperationResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation",
+ "usage": "Output,Json",
+ "doc": "High level response from an operation on a resource",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "219",
+ "kind": "property",
+ "name": "resourceId",
+ "serializedName": "resourceId",
+ "doc": "Unique identifier for the resource involved in the operation, eg ArmId",
+ "type": {
+ "$id": "220",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "221",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.resourceId",
+ "serializationOptions": {
+ "$id": "222",
+ "json": {
+ "$id": "223",
+ "name": "resourceId"
+ }
+ }
+ },
+ {
+ "$id": "224",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "Resource level error code if it exists",
+ "type": {
+ "$id": "225",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.errorCode",
+ "serializationOptions": {
+ "$id": "226",
+ "json": {
+ "$id": "227",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "228",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "Resource level error details if they exist",
+ "type": {
+ "$id": "229",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.errorDetails",
+ "serializationOptions": {
+ "$id": "230",
+ "json": {
+ "$id": "231",
+ "name": "errorDetails"
+ }
+ }
+ },
+ {
+ "$id": "232",
+ "kind": "property",
+ "name": "operation",
+ "serializedName": "operation",
+ "doc": "Details of the operation performed on a resource",
+ "type": {
+ "$id": "233",
+ "kind": "model",
+ "name": "ResourceOperationDetails",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails",
+ "usage": "Output,Json",
+ "doc": "The details of a response from an operation on a resource",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "234",
+ "kind": "property",
+ "name": "operationId",
+ "serializedName": "operationId",
+ "doc": "Operation identifier for the unique operation",
+ "type": {
+ "$id": "235",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.operationId",
+ "serializationOptions": {
+ "$id": "236",
+ "json": {
+ "$id": "237",
+ "name": "operationId"
+ }
+ }
+ },
+ {
+ "$id": "238",
+ "kind": "property",
+ "name": "resourceId",
+ "serializedName": "resourceId",
+ "doc": "Unique identifier for the resource involved in the operation, eg ArmId",
+ "type": {
+ "$id": "239",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "240",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.resourceId",
+ "serializationOptions": {
+ "$id": "241",
+ "json": {
+ "$id": "242",
+ "name": "resourceId"
+ }
+ }
+ },
+ {
+ "$id": "243",
+ "kind": "property",
+ "name": "opType",
+ "serializedName": "opType",
+ "doc": "Type of operation performed on the resources",
+ "type": {
+ "$ref": "30"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.opType",
+ "serializationOptions": {
+ "$id": "244",
+ "json": {
+ "$id": "245",
+ "name": "opType"
+ }
+ }
+ },
+ {
+ "$id": "246",
+ "kind": "property",
+ "name": "subscriptionId",
+ "serializedName": "subscriptionId",
+ "doc": "Subscription id attached to the request",
+ "type": {
+ "$id": "247",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.subscriptionId",
+ "serializationOptions": {
+ "$id": "248",
+ "json": {
+ "$id": "249",
+ "name": "subscriptionId"
+ }
+ }
+ },
+ {
+ "$id": "250",
+ "kind": "property",
+ "name": "deadline",
+ "serializedName": "deadline",
+ "doc": "Deadline for the operation",
+ "type": {
+ "$id": "251",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "252",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.deadline",
+ "serializationOptions": {
+ "$id": "253",
+ "json": {
+ "$id": "254",
+ "name": "deadline"
+ }
+ }
+ },
+ {
+ "$id": "255",
+ "kind": "property",
+ "name": "deadlineType",
+ "serializedName": "deadlineType",
+ "doc": "Type of deadline of the operation",
+ "type": {
+ "$ref": "14"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.deadlineType",
+ "serializationOptions": {
+ "$id": "256",
+ "json": {
+ "$id": "257",
+ "name": "deadlineType"
+ }
+ }
+ },
+ {
+ "$id": "258",
+ "kind": "property",
+ "name": "state",
+ "serializedName": "state",
+ "doc": "Current state of the operation",
+ "type": {
+ "$ref": "40"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.state",
+ "serializationOptions": {
+ "$id": "259",
+ "json": {
+ "$id": "260",
+ "name": "state"
+ }
+ }
+ },
+ {
+ "$id": "261",
+ "kind": "property",
+ "name": "timezone",
+ "serializedName": "timezone",
+ "doc": "Timezone for the operation",
+ "type": {
+ "$id": "262",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.timezone",
+ "serializationOptions": {
+ "$id": "263",
+ "json": {
+ "$id": "264",
+ "name": "timezone"
+ }
+ }
+ },
+ {
+ "$id": "265",
+ "kind": "property",
+ "name": "operationTimezone",
+ "serializedName": "timeZone",
+ "doc": "Timezone for the operation",
+ "type": {
+ "$id": "266",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.timeZone",
+ "serializationOptions": {
+ "$id": "267",
+ "json": {
+ "$id": "268",
+ "name": "timeZone"
+ }
+ }
+ },
+ {
+ "$id": "269",
+ "kind": "property",
+ "name": "resourceOperationError",
+ "serializedName": "resourceOperationError",
+ "doc": "Operation level errors if they exist",
+ "type": {
+ "$id": "270",
+ "kind": "model",
+ "name": "ResourceOperationError",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError",
+ "usage": "Output,Json",
+ "doc": "These describe errors that occur at the resource level",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "271",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "Code for the error eg 404, 500",
+ "type": {
+ "$id": "272",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError.errorCode",
+ "serializationOptions": {
+ "$id": "273",
+ "json": {
+ "$id": "274",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "275",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "Detailed message about the error",
+ "type": {
+ "$id": "276",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError.errorDetails",
+ "serializationOptions": {
+ "$id": "277",
+ "json": {
+ "$id": "278",
+ "name": "errorDetails"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.resourceOperationError",
+ "serializationOptions": {
+ "$id": "279",
+ "json": {
+ "$id": "280",
+ "name": "resourceOperationError"
+ }
+ }
+ },
+ {
+ "$id": "281",
+ "kind": "property",
+ "name": "completedAt",
+ "serializedName": "completedAt",
+ "doc": "Time the operation was complete if errors are null",
+ "type": {
+ "$id": "282",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "283",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.completedAt",
+ "serializationOptions": {
+ "$id": "284",
+ "json": {
+ "$id": "285",
+ "name": "completedAt"
+ }
+ }
+ },
+ {
+ "$id": "286",
+ "kind": "property",
+ "name": "retryPolicy",
+ "serializedName": "retryPolicy",
+ "doc": "Retry policy the user can pass",
+ "type": {
+ "$ref": "175"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.retryPolicy",
+ "serializationOptions": {
+ "$id": "287",
+ "json": {
+ "$id": "288",
+ "name": "retryPolicy"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.operation",
+ "serializationOptions": {
+ "$id": "289",
+ "json": {
+ "$id": "290",
+ "name": "operation"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "291",
+ "json": {
+ "$id": "292",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "218"
+ },
+ {
+ "$ref": "233"
+ },
+ {
+ "$ref": "270"
+ },
+ {
+ "$id": "293",
+ "kind": "model",
+ "name": "SubmitHibernateRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request for hibernate",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "294",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$ref": "145"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.schedule",
+ "serializationOptions": {
+ "$id": "295",
+ "json": {
+ "$id": "296",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "297",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "170"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "298",
+ "json": {
+ "$id": "299",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "300",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "189"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.resources",
+ "serializationOptions": {
+ "$id": "301",
+ "json": {
+ "$id": "302",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "303",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "304",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "305",
+ "json": {
+ "$id": "306",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "307",
+ "kind": "model",
+ "name": "HibernateResourceOperationResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a Hibernate request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "308",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "309",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "310",
+ "json": {
+ "$id": "311",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "312",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the Hibernate request eg virtual machines",
+ "type": {
+ "$id": "313",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "314",
+ "json": {
+ "$id": "315",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "316",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the Hibernate request eg westus",
+ "type": {
+ "$id": "317",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "318",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.location",
+ "serializationOptions": {
+ "$id": "319",
+ "json": {
+ "$id": "320",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "321",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the Hibernate request if no errors exist",
+ "type": {
+ "$id": "322",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "218"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "323",
+ "json": {
+ "$id": "324",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "325",
+ "kind": "model",
+ "name": "SubmitStartRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request for start",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "326",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$ref": "145"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.schedule",
+ "serializationOptions": {
+ "$id": "327",
+ "json": {
+ "$id": "328",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "329",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "170"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "330",
+ "json": {
+ "$id": "331",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "332",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "189"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.resources",
+ "serializationOptions": {
+ "$id": "333",
+ "json": {
+ "$id": "334",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "335",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "336",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.correlationid",
+ "serializationOptions": {
+ "$id": "337",
+ "json": {
+ "$id": "338",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "339",
+ "kind": "model",
+ "name": "StartResourceOperationResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a start request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "340",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "341",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "342",
+ "json": {
+ "$id": "343",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "344",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the start request eg virtual machines",
+ "type": {
+ "$id": "345",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "346",
+ "json": {
+ "$id": "347",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "348",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the start request eg westus",
+ "type": {
+ "$id": "349",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "350",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.location",
+ "serializationOptions": {
+ "$id": "351",
+ "json": {
+ "$id": "352",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "353",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the start request if no errors exist",
+ "type": {
+ "$id": "354",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "218"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "355",
+ "json": {
+ "$id": "356",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "357",
+ "kind": "model",
+ "name": "ExecuteDeallocateRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteDeallocateRequest request for executeDeallocate operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "358",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "170"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "359",
+ "json": {
+ "$id": "360",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "361",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "189"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.resources",
+ "serializationOptions": {
+ "$id": "362",
+ "json": {
+ "$id": "363",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "364",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "365",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "366",
+ "json": {
+ "$id": "367",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "368",
+ "kind": "model",
+ "name": "ExecuteHibernateRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteHibernateRequest request for executeHibernate operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "369",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "170"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "370",
+ "json": {
+ "$id": "371",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "372",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "189"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.resources",
+ "serializationOptions": {
+ "$id": "373",
+ "json": {
+ "$id": "374",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "375",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "376",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "377",
+ "json": {
+ "$id": "378",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "379",
+ "kind": "model",
+ "name": "ExecuteStartRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteStartRequest request for executeStart operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "380",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "170"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "381",
+ "json": {
+ "$id": "382",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "383",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "189"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.resources",
+ "serializationOptions": {
+ "$id": "384",
+ "json": {
+ "$id": "385",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "386",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "387",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.correlationid",
+ "serializationOptions": {
+ "$id": "388",
+ "json": {
+ "$id": "389",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "390",
+ "kind": "model",
+ "name": "GetOperationStatusRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request to get operation status using operationids",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "391",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to get the status of",
+ "type": {
+ "$id": "392",
+ "kind": "array",
+ "name": "Array1",
+ "valueType": {
+ "$id": "393",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusRequest.operationIds",
+ "serializationOptions": {
+ "$id": "394",
+ "json": {
+ "$id": "395",
+ "name": "operationIds"
+ }
+ }
+ },
+ {
+ "$id": "396",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "397",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusRequest.correlationid",
+ "serializationOptions": {
+ "$id": "398",
+ "json": {
+ "$id": "399",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "400",
+ "kind": "model",
+ "name": "GetOperationStatusResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a get operations status request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "401",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of resource operations based on their operation ids",
+ "type": {
+ "$id": "402",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "218"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusResponse.results",
+ "serializationOptions": {
+ "$id": "403",
+ "json": {
+ "$id": "404",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "405",
+ "kind": "model",
+ "name": "CancelOperationsRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request to cancel running operations in scheduled actions using the operation ids",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "406",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to cancel operations on",
+ "type": {
+ "$id": "407",
+ "kind": "array",
+ "name": "Array1",
+ "valueType": {
+ "$id": "408",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsRequest.operationIds",
+ "serializationOptions": {
+ "$id": "409",
+ "json": {
+ "$id": "410",
+ "name": "operationIds"
+ }
+ }
+ },
+ {
+ "$id": "411",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "412",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsRequest.correlationid",
+ "serializationOptions": {
+ "$id": "413",
+ "json": {
+ "$id": "414",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "415",
+ "kind": "model",
+ "name": "CancelOperationsResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a cancel operations request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "416",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of resource operations that were successfully cancelled",
+ "type": {
+ "$id": "417",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "218"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsResponse.results",
+ "serializationOptions": {
+ "$id": "418",
+ "json": {
+ "$id": "419",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "420",
+ "kind": "model",
+ "name": "GetOperationErrorsRequest",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request to get errors per vm operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "421",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to query errors of",
+ "type": {
+ "$id": "422",
+ "kind": "array",
+ "name": "Array1",
+ "valueType": {
+ "$id": "423",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsRequest.operationIds",
+ "serializationOptions": {
+ "$id": "424",
+ "json": {
+ "$id": "425",
+ "name": "operationIds"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "426",
+ "kind": "model",
+ "name": "GetOperationErrorsResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a get operations errors request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "427",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of operationids and their corresponding errors if any",
+ "type": {
+ "$id": "428",
+ "kind": "array",
+ "name": "ArrayOperationErrorsResult",
+ "valueType": {
+ "$id": "429",
+ "kind": "model",
+ "name": "OperationErrorsResult",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult",
+ "usage": "Output,Json",
+ "doc": "This is the first level of operation errors from the request when clients get errors per vm operation",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "430",
+ "kind": "property",
+ "name": "operationId",
+ "serializedName": "operationId",
+ "doc": "The operationId identifying a vm operation",
+ "type": {
+ "$id": "431",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.operationId",
+ "serializationOptions": {
+ "$id": "432",
+ "json": {
+ "$id": "433",
+ "name": "operationId"
+ }
+ }
+ },
+ {
+ "$id": "434",
+ "kind": "property",
+ "name": "creationTime",
+ "serializedName": "creationTime",
+ "doc": "The creation time of the error result",
+ "type": {
+ "$id": "435",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "436",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.creationTime",
+ "serializationOptions": {
+ "$id": "437",
+ "json": {
+ "$id": "438",
+ "name": "creationTime"
+ }
+ }
+ },
+ {
+ "$id": "439",
+ "kind": "property",
+ "name": "activationTime",
+ "serializedName": "activationTime",
+ "doc": "The activation time of a vm operation",
+ "type": {
+ "$id": "440",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "441",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.activationTime",
+ "serializationOptions": {
+ "$id": "442",
+ "json": {
+ "$id": "443",
+ "name": "activationTime"
+ }
+ }
+ },
+ {
+ "$id": "444",
+ "kind": "property",
+ "name": "completedAt",
+ "serializedName": "completedAt",
+ "doc": "The completion time of the operation if the operation was completed",
+ "type": {
+ "$id": "445",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "446",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.completedAt",
+ "serializationOptions": {
+ "$id": "447",
+ "json": {
+ "$id": "448",
+ "name": "completedAt"
+ }
+ }
+ },
+ {
+ "$id": "449",
+ "kind": "property",
+ "name": "operationErrors",
+ "serializedName": "operationErrors",
+ "doc": "A list of errors associated with the operationid",
+ "type": {
+ "$id": "450",
+ "kind": "array",
+ "name": "ArrayOperationErrorDetails",
+ "valueType": {
+ "$id": "451",
+ "kind": "model",
+ "name": "OperationErrorDetails",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails",
+ "usage": "Output,Json",
+ "doc": "This defines a list of operation errors associated with a unique operationId",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "452",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "The error code of the operation",
+ "type": {
+ "$id": "453",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.errorCode",
+ "serializationOptions": {
+ "$id": "454",
+ "json": {
+ "$id": "455",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "456",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "The error details of the operation",
+ "type": {
+ "$id": "457",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.errorDetails",
+ "serializationOptions": {
+ "$id": "458",
+ "json": {
+ "$id": "459",
+ "name": "errorDetails"
+ }
+ }
+ },
+ {
+ "$id": "460",
+ "kind": "property",
+ "name": "timestamp",
+ "serializedName": "timestamp",
+ "doc": "The timestamp of the error occurence",
+ "type": {
+ "$id": "461",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "462",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.timestamp",
+ "serializationOptions": {
+ "$id": "463",
+ "json": {
+ "$id": "464",
+ "name": "timestamp"
+ }
+ }
+ },
+ {
+ "$id": "465",
+ "kind": "property",
+ "name": "errorDetailsTimestamp",
+ "serializedName": "timeStamp",
+ "doc": "The timestamp of the error occurence",
+ "type": {
+ "$id": "466",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "467",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.timeStamp",
+ "serializationOptions": {
+ "$id": "468",
+ "json": {
+ "$id": "469",
+ "name": "timeStamp"
+ }
+ }
+ },
+ {
+ "$id": "470",
+ "kind": "property",
+ "name": "azureOperationName",
+ "serializedName": "azureOperationName",
+ "doc": "The compute operationid of the Start/Deallocate/Hibernate request",
+ "type": {
+ "$id": "471",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.azureOperationName",
+ "serializationOptions": {
+ "$id": "472",
+ "json": {
+ "$id": "473",
+ "name": "azureOperationName"
+ }
+ }
+ },
+ {
+ "$id": "474",
+ "kind": "property",
+ "name": "crpOperationId",
+ "serializedName": "crpOperationId",
+ "doc": "The compute operationid of the Start/Deallocate/Hibernate request",
+ "type": {
+ "$id": "475",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.crpOperationId",
+ "serializationOptions": {
+ "$id": "476",
+ "json": {
+ "$id": "477",
+ "name": "crpOperationId"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.operationErrors",
+ "serializationOptions": {
+ "$id": "478",
+ "json": {
+ "$id": "479",
+ "name": "operationErrors"
+ }
+ }
+ },
+ {
+ "$id": "480",
+ "kind": "property",
+ "name": "requestErrorCode",
+ "serializedName": "requestErrorCode",
+ "doc": "Request level error code",
+ "type": {
+ "$id": "481",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.requestErrorCode",
+ "serializationOptions": {
+ "$id": "482",
+ "json": {
+ "$id": "483",
+ "name": "requestErrorCode"
+ }
+ }
+ },
+ {
+ "$id": "484",
+ "kind": "property",
+ "name": "requestErrorDetails",
+ "serializedName": "requestErrorDetails",
+ "doc": "Request level error details",
+ "type": {
+ "$id": "485",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.requestErrorDetails",
+ "serializationOptions": {
+ "$id": "486",
+ "json": {
+ "$id": "487",
+ "name": "requestErrorDetails"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsResponse.results",
+ "serializationOptions": {
+ "$id": "488",
+ "json": {
+ "$id": "489",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "429"
+ },
+ {
+ "$ref": "451"
+ }
+ ],
+ "clients": [
+ {
+ "$id": "490",
+ "kind": "client",
+ "name": "ComputeScheduleClient",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "doc": "Microsoft.ComputeSchedule Resource Provider management API.",
+ "operations": [],
+ "parameters": [
+ {
+ "$id": "491",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "492",
+ "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": "493",
+ "type": {
+ "$id": "494",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "495",
+ "name": "TypeSpec.@service",
+ "arguments": {
+ "$id": "496",
+ "options": {
+ "$id": "497",
+ "title": "Microsoft.ComputeSchedule"
+ }
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule",
+ "apiVersions": [
+ "2024-08-15-preview",
+ "2024-10-01"
+ ],
+ "children": [
+ {
+ "$id": "498",
+ "kind": "client",
+ "name": "Operations",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "operations": [
+ {
+ "$id": "499",
+ "name": "list",
+ "resourceName": "Operations",
+ "doc": "List the operations for the provider",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "500",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "501",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "502",
+ "type": {
+ "$id": "503",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "504",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "505",
+ "kind": "constant",
+ "valueType": {
+ "$id": "506",
+ "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": "507",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "64"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/providers/Microsoft.ComputeSchedule/operations",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "508",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "509",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "510",
+ "kind": "http",
+ "name": "Operations_List",
+ "description": "Operations_List",
+ "filePath": "2024-10-01/Operations_List.json",
+ "parameters": [
+ {
+ "$id": "511",
+ "parameter": {
+ "$ref": "500"
+ },
+ "value": {
+ "$id": "512",
+ "kind": "string",
+ "type": {
+ "$ref": "501"
+ },
+ "value": "2024-10-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "513",
+ "response": {
+ "$ref": "507"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "514",
+ "kind": "model",
+ "type": {
+ "$ref": "64"
+ },
+ "value": {
+ "$id": "515",
+ "value": {
+ "$id": "516",
+ "kind": "array",
+ "type": {
+ "$ref": "66"
+ },
+ "value": [
+ {
+ "$id": "517",
+ "kind": "model",
+ "type": {
+ "$ref": "67"
+ },
+ "value": {
+ "$id": "518",
+ "name": {
+ "$id": "519",
+ "kind": "string",
+ "type": {
+ "$ref": "69"
+ },
+ "value": "mtiwosbky"
+ },
+ "isDataAction": {
+ "$id": "520",
+ "kind": "boolean",
+ "type": {
+ "$ref": "73"
+ },
+ "value": true
+ },
+ "display": {
+ "$id": "521",
+ "kind": "model",
+ "type": {
+ "$ref": "77"
+ },
+ "value": {
+ "$id": "522",
+ "provider": {
+ "$id": "523",
+ "kind": "string",
+ "type": {
+ "$ref": "79"
+ },
+ "value": "vtlhmqtfhlyllnplzpdpq"
+ },
+ "resource": {
+ "$id": "524",
+ "kind": "string",
+ "type": {
+ "$ref": "83"
+ },
+ "value": "epj"
+ },
+ "operation": {
+ "$id": "525",
+ "kind": "string",
+ "type": {
+ "$ref": "87"
+ },
+ "value": "tuneyqwanedwnnbztrmq"
+ },
+ "description": {
+ "$id": "526",
+ "kind": "string",
+ "type": {
+ "$ref": "91"
+ },
+ "value": "moyje"
+ }
+ }
+ },
+ "origin": {
+ "$id": "527",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "user"
+ },
+ "actionType": {
+ "$id": "528",
+ "kind": "string",
+ "type": {
+ "$ref": "10"
+ },
+ "value": "Internal"
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "529",
+ "kind": "string",
+ "type": {
+ "$ref": "105"
+ },
+ "value": "https://microsoft.com/a"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "530",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "531",
+ "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": "532",
+ "type": {
+ "$id": "533",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Operations",
+ "apiVersions": [
+ "2024-08-15-preview",
+ "2024-10-01"
+ ],
+ "parent": {
+ "$ref": "490"
+ }
+ },
+ {
+ "$id": "534",
+ "kind": "client",
+ "name": "ScheduledActions",
+ "namespace": "Azure.ResourceManager.ComputeSchedule",
+ "operations": [
+ {
+ "$id": "535",
+ "name": "SubmitVirtualMachineDeallocate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitDeallocate: Schedule deallocate operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "536",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "537",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "538",
+ "type": {
+ "$id": "539",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "540",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "541",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "542",
+ "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": "543",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "544",
+ "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": "545",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "546",
+ "kind": "constant",
+ "valueType": {
+ "$id": "547",
+ "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": "548",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "549",
+ "kind": "constant",
+ "valueType": {
+ "$id": "550",
+ "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": "551",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "143"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "552",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "202"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitDeallocate",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesSubmitDeallocate",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "553",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitDeallocate",
+ "description": "ScheduledActions_VirtualMachinesSubmitDeallocate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitDeallocate.json",
+ "parameters": [
+ {
+ "$id": "554",
+ "parameter": {
+ "$ref": "536"
+ },
+ "value": {
+ "$id": "555",
+ "kind": "string",
+ "type": {
+ "$ref": "537"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "556",
+ "parameter": {
+ "$ref": "540"
+ },
+ "value": {
+ "$id": "557",
+ "kind": "string",
+ "type": {
+ "$ref": "541"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "558",
+ "parameter": {
+ "$ref": "543"
+ },
+ "value": {
+ "$id": "559",
+ "kind": "string",
+ "type": {
+ "$ref": "544"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "560",
+ "parameter": {
+ "$ref": "551"
+ },
+ "value": {
+ "$id": "561",
+ "kind": "model",
+ "type": {
+ "$ref": "143"
+ },
+ "value": {
+ "$id": "562",
+ "schedule": {
+ "$id": "563",
+ "kind": "model",
+ "type": {
+ "$ref": "145"
+ },
+ "value": {
+ "$id": "564",
+ "deadline": {
+ "$id": "565",
+ "kind": "string",
+ "type": {
+ "$ref": "147"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "566",
+ "kind": "string",
+ "type": {
+ "$ref": "157"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "567",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "568",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "569",
+ "retryPolicy": {
+ "$id": "570",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "571",
+ "retryCount": {
+ "$id": "572",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "573",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "574",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "575",
+ "ids": {
+ "$id": "576",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "577",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "578",
+ "kind": "string",
+ "type": {
+ "$ref": "199"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "579",
+ "response": {
+ "$ref": "552"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "580",
+ "kind": "model",
+ "type": {
+ "$ref": "202"
+ },
+ "value": {
+ "$id": "581",
+ "type": {
+ "$id": "582",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "583",
+ "kind": "string",
+ "type": {
+ "$ref": "212"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "584",
+ "kind": "array",
+ "type": {
+ "$ref": "217"
+ },
+ "value": [
+ {
+ "$id": "585",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "586",
+ "resourceId": {
+ "$id": "587",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "588",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "589",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "590",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "591",
+ "operationId": {
+ "$id": "592",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "593",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "594",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "595",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "596",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "597",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "598",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "599",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "600",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "601",
+ "errorCode": {
+ "$id": "602",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "603",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "604",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "605",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "606",
+ "retryCount": {
+ "$id": "607",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "608",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "609",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "610",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "Deallocate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "611",
+ "name": "SubmitVirtualMachineHibernate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitHibernate: Schedule hibernate operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "612",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "613",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "614",
+ "type": {
+ "$id": "615",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "616",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "617",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "618",
+ "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": "619",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "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": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "622",
+ "kind": "constant",
+ "valueType": {
+ "$id": "623",
+ "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": "624",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "625",
+ "kind": "constant",
+ "valueType": {
+ "$id": "626",
+ "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": "627",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "293"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "628",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "307"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitHibernate",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesSubmitHibernate",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "629",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitHibernate",
+ "description": "ScheduledActions_VirtualMachinesSubmitHibernate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitHibernate.json",
+ "parameters": [
+ {
+ "$id": "630",
+ "parameter": {
+ "$ref": "612"
+ },
+ "value": {
+ "$id": "631",
+ "kind": "string",
+ "type": {
+ "$ref": "613"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "632",
+ "parameter": {
+ "$ref": "616"
+ },
+ "value": {
+ "$id": "633",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "634",
+ "parameter": {
+ "$ref": "619"
+ },
+ "value": {
+ "$id": "635",
+ "kind": "string",
+ "type": {
+ "$ref": "620"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "636",
+ "parameter": {
+ "$ref": "627"
+ },
+ "value": {
+ "$id": "637",
+ "kind": "model",
+ "type": {
+ "$ref": "293"
+ },
+ "value": {
+ "$id": "638",
+ "schedule": {
+ "$id": "639",
+ "kind": "model",
+ "type": {
+ "$ref": "145"
+ },
+ "value": {
+ "$id": "640",
+ "deadline": {
+ "$id": "641",
+ "kind": "string",
+ "type": {
+ "$ref": "147"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "642",
+ "kind": "string",
+ "type": {
+ "$ref": "157"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "643",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "644",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "645",
+ "retryPolicy": {
+ "$id": "646",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "647",
+ "retryCount": {
+ "$id": "648",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "649",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "650",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "651",
+ "ids": {
+ "$id": "652",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "653",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "654",
+ "kind": "string",
+ "type": {
+ "$ref": "304"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "655",
+ "response": {
+ "$ref": "628"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "656",
+ "kind": "model",
+ "type": {
+ "$ref": "307"
+ },
+ "value": {
+ "$id": "657",
+ "type": {
+ "$id": "658",
+ "kind": "string",
+ "type": {
+ "$ref": "313"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "659",
+ "kind": "string",
+ "type": {
+ "$ref": "317"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "660",
+ "kind": "array",
+ "type": {
+ "$ref": "322"
+ },
+ "value": [
+ {
+ "$id": "661",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "662",
+ "resourceId": {
+ "$id": "663",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "664",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "665",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "666",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "667",
+ "operationId": {
+ "$id": "668",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "669",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "670",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Hibernate"
+ },
+ "subscriptionId": {
+ "$id": "671",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "672",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "673",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "674",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "675",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "676",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "677",
+ "errorCode": {
+ "$id": "678",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "679",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "680",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "681",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "682",
+ "retryCount": {
+ "$id": "683",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "684",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "685",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "686",
+ "kind": "string",
+ "type": {
+ "$ref": "309"
+ },
+ "value": "Hibernate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "687",
+ "name": "SubmitVirtualMachineStart",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitStart: Schedule start operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "688",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "689",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "690",
+ "type": {
+ "$id": "691",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "692",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "693",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "694",
+ "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": "695",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "696",
+ "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": "697",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "698",
+ "kind": "constant",
+ "valueType": {
+ "$id": "699",
+ "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": "700",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "701",
+ "kind": "constant",
+ "valueType": {
+ "$id": "702",
+ "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": "703",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "325"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "704",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "339"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitStart",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesSubmitStart",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "705",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitStart",
+ "description": "ScheduledActions_VirtualMachinesSubmitStart",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitStart.json",
+ "parameters": [
+ {
+ "$id": "706",
+ "parameter": {
+ "$ref": "688"
+ },
+ "value": {
+ "$id": "707",
+ "kind": "string",
+ "type": {
+ "$ref": "689"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "708",
+ "parameter": {
+ "$ref": "692"
+ },
+ "value": {
+ "$id": "709",
+ "kind": "string",
+ "type": {
+ "$ref": "693"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "710",
+ "parameter": {
+ "$ref": "695"
+ },
+ "value": {
+ "$id": "711",
+ "kind": "string",
+ "type": {
+ "$ref": "696"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "712",
+ "parameter": {
+ "$ref": "703"
+ },
+ "value": {
+ "$id": "713",
+ "kind": "model",
+ "type": {
+ "$ref": "325"
+ },
+ "value": {
+ "$id": "714",
+ "schedule": {
+ "$id": "715",
+ "kind": "model",
+ "type": {
+ "$ref": "145"
+ },
+ "value": {
+ "$id": "716",
+ "deadline": {
+ "$id": "717",
+ "kind": "string",
+ "type": {
+ "$ref": "147"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "718",
+ "kind": "string",
+ "type": {
+ "$ref": "157"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "719",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "720",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "721",
+ "retryPolicy": {
+ "$id": "722",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "723",
+ "retryCount": {
+ "$id": "724",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "725",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "726",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "727",
+ "ids": {
+ "$id": "728",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "729",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "730",
+ "kind": "string",
+ "type": {
+ "$ref": "336"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "731",
+ "response": {
+ "$ref": "704"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "732",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "733",
+ "type": {
+ "$id": "734",
+ "kind": "string",
+ "type": {
+ "$ref": "345"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "735",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "736",
+ "kind": "array",
+ "type": {
+ "$ref": "354"
+ },
+ "value": [
+ {
+ "$id": "737",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "738",
+ "resourceId": {
+ "$id": "739",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "740",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "741",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "742",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "743",
+ "operationId": {
+ "$id": "744",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "745",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "746",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Start"
+ },
+ "subscriptionId": {
+ "$id": "747",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "748",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "749",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "750",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "751",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "752",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "753",
+ "errorCode": {
+ "$id": "754",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "755",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "756",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "757",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "758",
+ "retryCount": {
+ "$id": "759",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "760",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "761",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "762",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "Start Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "763",
+ "name": "ExecuteVirtualMachineDeallocate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "764",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "765",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "766",
+ "type": {
+ "$id": "767",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "768",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "769",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "770",
+ "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": "771",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "772",
+ "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": "773",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "774",
+ "kind": "constant",
+ "valueType": {
+ "$id": "775",
+ "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": "776",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "777",
+ "kind": "constant",
+ "valueType": {
+ "$id": "778",
+ "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": "779",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "357"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "780",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "202"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteDeallocate",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesExecuteDeallocate",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "781",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteDeallocate",
+ "description": "ScheduledActions_VirtualMachinesExecuteDeallocate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteDeallocate.json",
+ "parameters": [
+ {
+ "$id": "782",
+ "parameter": {
+ "$ref": "764"
+ },
+ "value": {
+ "$id": "783",
+ "kind": "string",
+ "type": {
+ "$ref": "765"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "784",
+ "parameter": {
+ "$ref": "768"
+ },
+ "value": {
+ "$id": "785",
+ "kind": "string",
+ "type": {
+ "$ref": "769"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "786",
+ "parameter": {
+ "$ref": "771"
+ },
+ "value": {
+ "$id": "787",
+ "kind": "string",
+ "type": {
+ "$ref": "772"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "788",
+ "parameter": {
+ "$ref": "779"
+ },
+ "value": {
+ "$id": "789",
+ "kind": "model",
+ "type": {
+ "$ref": "357"
+ },
+ "value": {
+ "$id": "790",
+ "executionParameters": {
+ "$id": "791",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "792",
+ "retryPolicy": {
+ "$id": "793",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "794",
+ "retryCount": {
+ "$id": "795",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "796",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "797",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "798",
+ "ids": {
+ "$id": "799",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "800",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "801",
+ "kind": "string",
+ "type": {
+ "$ref": "365"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "802",
+ "response": {
+ "$ref": "780"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "803",
+ "kind": "model",
+ "type": {
+ "$ref": "202"
+ },
+ "value": {
+ "$id": "804",
+ "type": {
+ "$id": "805",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "VirtualMachine"
+ },
+ "location": {
+ "$id": "806",
+ "kind": "string",
+ "type": {
+ "$ref": "212"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "807",
+ "kind": "array",
+ "type": {
+ "$ref": "217"
+ },
+ "value": [
+ {
+ "$id": "808",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "809",
+ "resourceId": {
+ "$id": "810",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "811",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "812",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "813",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "814",
+ "operationId": {
+ "$id": "815",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "816",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "817",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "818",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "819",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "820",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "821",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "822",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "823",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "824",
+ "errorCode": {
+ "$id": "825",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "826",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "827",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "828",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "829",
+ "retryCount": {
+ "$id": "830",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "831",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "832",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "833",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "Deallocate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "834",
+ "name": "ExecuteVirtualMachineHibernate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "835",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "836",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "837",
+ "type": {
+ "$id": "838",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "839",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "840",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "841",
+ "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": "842",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "843",
+ "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": "844",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "845",
+ "kind": "constant",
+ "valueType": {
+ "$id": "846",
+ "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": "847",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "848",
+ "kind": "constant",
+ "valueType": {
+ "$id": "849",
+ "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": "850",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "368"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "851",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "307"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteHibernate",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesExecuteHibernate",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "852",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteHibernate",
+ "description": "ScheduledActions_VirtualMachinesExecuteHibernate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteHibernate.json",
+ "parameters": [
+ {
+ "$id": "853",
+ "parameter": {
+ "$ref": "835"
+ },
+ "value": {
+ "$id": "854",
+ "kind": "string",
+ "type": {
+ "$ref": "836"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "855",
+ "parameter": {
+ "$ref": "839"
+ },
+ "value": {
+ "$id": "856",
+ "kind": "string",
+ "type": {
+ "$ref": "840"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "857",
+ "parameter": {
+ "$ref": "842"
+ },
+ "value": {
+ "$id": "858",
+ "kind": "string",
+ "type": {
+ "$ref": "843"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "859",
+ "parameter": {
+ "$ref": "850"
+ },
+ "value": {
+ "$id": "860",
+ "kind": "model",
+ "type": {
+ "$ref": "368"
+ },
+ "value": {
+ "$id": "861",
+ "executionParameters": {
+ "$id": "862",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "863",
+ "retryPolicy": {
+ "$id": "864",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "865",
+ "retryCount": {
+ "$id": "866",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "867",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "868",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "869",
+ "ids": {
+ "$id": "870",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "871",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "872",
+ "kind": "string",
+ "type": {
+ "$ref": "376"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "873",
+ "response": {
+ "$ref": "851"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "874",
+ "kind": "model",
+ "type": {
+ "$ref": "307"
+ },
+ "value": {
+ "$id": "875",
+ "type": {
+ "$id": "876",
+ "kind": "string",
+ "type": {
+ "$ref": "313"
+ },
+ "value": "VirtualMachine"
+ },
+ "location": {
+ "$id": "877",
+ "kind": "string",
+ "type": {
+ "$ref": "317"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "878",
+ "kind": "array",
+ "type": {
+ "$ref": "322"
+ },
+ "value": [
+ {
+ "$id": "879",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "880",
+ "resourceId": {
+ "$id": "881",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "882",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "883",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "884",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "885",
+ "operationId": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "887",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "888",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Hibernate"
+ },
+ "subscriptionId": {
+ "$id": "889",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "890",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "891",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "892",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "893",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "894",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "895",
+ "errorCode": {
+ "$id": "896",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "897",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "898",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "899",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "900",
+ "retryCount": {
+ "$id": "901",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "902",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "903",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "904",
+ "kind": "string",
+ "type": {
+ "$ref": "309"
+ },
+ "value": "Hibernate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "905",
+ "name": "ExecuteVirtualMachineStart",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "906",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "907",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "908",
+ "type": {
+ "$id": "909",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "910",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "911",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "912",
+ "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": "913",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "914",
+ "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": "915",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "916",
+ "kind": "constant",
+ "valueType": {
+ "$id": "917",
+ "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": "918",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "919",
+ "kind": "constant",
+ "valueType": {
+ "$id": "920",
+ "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": "921",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "379"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "922",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "339"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteStart",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesExecuteStart",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "923",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteStart",
+ "description": "ScheduledActions_VirtualMachinesExecuteStart",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteStart.json",
+ "parameters": [
+ {
+ "$id": "924",
+ "parameter": {
+ "$ref": "906"
+ },
+ "value": {
+ "$id": "925",
+ "kind": "string",
+ "type": {
+ "$ref": "907"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "926",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "927",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "928",
+ "parameter": {
+ "$ref": "913"
+ },
+ "value": {
+ "$id": "929",
+ "kind": "string",
+ "type": {
+ "$ref": "914"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "930",
+ "parameter": {
+ "$ref": "921"
+ },
+ "value": {
+ "$id": "931",
+ "kind": "model",
+ "type": {
+ "$ref": "379"
+ },
+ "value": {
+ "$id": "932",
+ "executionParameters": {
+ "$id": "933",
+ "kind": "model",
+ "type": {
+ "$ref": "170"
+ },
+ "value": {
+ "$id": "934",
+ "retryPolicy": {
+ "$id": "935",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "936",
+ "retryCount": {
+ "$id": "937",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "938",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "939",
+ "kind": "model",
+ "type": {
+ "$ref": "189"
+ },
+ "value": {
+ "$id": "940",
+ "ids": {
+ "$id": "941",
+ "kind": "array",
+ "type": {
+ "$ref": "191"
+ },
+ "value": [
+ {
+ "$id": "942",
+ "kind": "string",
+ "type": {
+ "$ref": "192"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "943",
+ "kind": "string",
+ "type": {
+ "$ref": "387"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "944",
+ "response": {
+ "$ref": "922"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "945",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "946",
+ "type": {
+ "$id": "947",
+ "kind": "string",
+ "type": {
+ "$ref": "345"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "948",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "949",
+ "kind": "array",
+ "type": {
+ "$ref": "354"
+ },
+ "value": [
+ {
+ "$id": "950",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "951",
+ "resourceId": {
+ "$id": "952",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "953",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "954",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "955",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "956",
+ "operationId": {
+ "$id": "957",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "958",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "959",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Start"
+ },
+ "subscriptionId": {
+ "$id": "960",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "961",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "962",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "963",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "964",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "965",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "966",
+ "errorCode": {
+ "$id": "967",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "968",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "969",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "970",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "971",
+ "retryCount": {
+ "$id": "972",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "973",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "974",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "975",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "Start Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "976",
+ "name": "GetVirtualMachineOperationStatus",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "977",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "978",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "979",
+ "type": {
+ "$id": "980",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "981",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "982",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "983",
+ "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": "984",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "985",
+ "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": "986",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "987",
+ "kind": "constant",
+ "valueType": {
+ "$id": "988",
+ "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": "989",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "990",
+ "kind": "constant",
+ "valueType": {
+ "$id": "991",
+ "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": "992",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "390"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "993",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "400"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesGetOperationStatus",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesGetOperationStatus",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "994",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesGetOperationStatus",
+ "description": "ScheduledActions_VirtualMachinesGetOperationStatus",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesGetOperationStatus.json",
+ "parameters": [
+ {
+ "$id": "995",
+ "parameter": {
+ "$ref": "977"
+ },
+ "value": {
+ "$id": "996",
+ "kind": "string",
+ "type": {
+ "$ref": "978"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "997",
+ "parameter": {
+ "$ref": "981"
+ },
+ "value": {
+ "$id": "998",
+ "kind": "string",
+ "type": {
+ "$ref": "982"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "999",
+ "parameter": {
+ "$ref": "984"
+ },
+ "value": {
+ "$id": "1000",
+ "kind": "string",
+ "type": {
+ "$ref": "985"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "1001",
+ "parameter": {
+ "$ref": "992"
+ },
+ "value": {
+ "$id": "1002",
+ "kind": "model",
+ "type": {
+ "$ref": "390"
+ },
+ "value": {
+ "$id": "1003",
+ "operationIds": {
+ "$id": "1004",
+ "kind": "array",
+ "type": {
+ "$ref": "392"
+ },
+ "value": [
+ {
+ "$id": "1005",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ },
+ "correlationid": {
+ "$id": "1006",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "35780d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1007",
+ "response": {
+ "$ref": "993"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1008",
+ "kind": "model",
+ "type": {
+ "$ref": "400"
+ },
+ "value": {
+ "$id": "1009",
+ "results": {
+ "$id": "1010",
+ "kind": "array",
+ "type": {
+ "$ref": "402"
+ },
+ "value": [
+ {
+ "$id": "1011",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "1012",
+ "resourceId": {
+ "$id": "1013",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "1014",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1015",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "1016",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1017",
+ "operationId": {
+ "$id": "1018",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "1019",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "1020",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "1021",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "1022",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "1023",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "1024",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "1026",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "1027",
+ "errorCode": {
+ "$id": "1028",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1029",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "1030",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "1031",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "1032",
+ "retryCount": {
+ "$id": "1033",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "1034",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "1035",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1036",
+ "name": "CancelVirtualMachineOperations",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1037",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1038",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1039",
+ "type": {
+ "$id": "1040",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1041",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "1042",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1043",
+ "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": "1044",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "1045",
+ "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": "1046",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "1047",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1048",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": true,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1049",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1050",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1051",
+ "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": "1052",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "405"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1053",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "415"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesCancelOperations",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesCancelOperations",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1054",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesCancelOperations",
+ "description": "ScheduledActions_VirtualMachinesCancelOperations",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesCancelOperations.json",
+ "parameters": [
+ {
+ "$id": "1055",
+ "parameter": {
+ "$ref": "1037"
+ },
+ "value": {
+ "$id": "1056",
+ "kind": "string",
+ "type": {
+ "$ref": "1038"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "1057",
+ "parameter": {
+ "$ref": "1041"
+ },
+ "value": {
+ "$id": "1058",
+ "kind": "string",
+ "type": {
+ "$ref": "1042"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "1059",
+ "parameter": {
+ "$ref": "1044"
+ },
+ "value": {
+ "$id": "1060",
+ "kind": "string",
+ "type": {
+ "$ref": "1045"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "1061",
+ "parameter": {
+ "$ref": "1052"
+ },
+ "value": {
+ "$id": "1062",
+ "kind": "model",
+ "type": {
+ "$ref": "405"
+ },
+ "value": {
+ "$id": "1063",
+ "operationIds": {
+ "$id": "1064",
+ "kind": "array",
+ "type": {
+ "$ref": "407"
+ },
+ "value": [
+ {
+ "$id": "1065",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ },
+ "correlationid": {
+ "$id": "1066",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "23480d2f-1dca-4610-afb4-gg25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1067",
+ "response": {
+ "$ref": "1053"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1068",
+ "kind": "model",
+ "type": {
+ "$ref": "415"
+ },
+ "value": {
+ "$id": "1069",
+ "results": {
+ "$id": "1070",
+ "kind": "array",
+ "type": {
+ "$ref": "417"
+ },
+ "value": [
+ {
+ "$id": "1071",
+ "kind": "model",
+ "type": {
+ "$ref": "218"
+ },
+ "value": {
+ "$id": "1072",
+ "resourceId": {
+ "$id": "1073",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "1074",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1075",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "1076",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1077",
+ "operationId": {
+ "$id": "1078",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "1079",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "1080",
+ "kind": "string",
+ "type": {
+ "$ref": "30"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "1081",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "1082",
+ "kind": "string",
+ "type": {
+ "$ref": "251"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "1083",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "1084",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Cancelled"
+ },
+ "timezone": {
+ "$id": "1085",
+ "kind": "string",
+ "type": {
+ "$ref": "262"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "1086",
+ "kind": "model",
+ "type": {
+ "$ref": "270"
+ },
+ "value": {
+ "$id": "1087",
+ "errorCode": {
+ "$id": "1088",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1089",
+ "kind": "string",
+ "type": {
+ "$ref": "276"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "1090",
+ "kind": "string",
+ "type": {
+ "$ref": "282"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "1091",
+ "kind": "model",
+ "type": {
+ "$ref": "175"
+ },
+ "value": {
+ "$id": "1092",
+ "retryCount": {
+ "$id": "1093",
+ "kind": "number",
+ "type": {
+ "$ref": "177"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "1094",
+ "kind": "number",
+ "type": {
+ "$ref": "181"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "1095",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1096",
+ "name": "GetVirtualMachineOperationErrors",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesGetOperationErrors: Get error details on operation errors (like transient errors encountered, additional logs) if they exist.",
+ "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": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1101",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "1102",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1103",
+ "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": "1104",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "1105",
+ "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": "1106",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "1107",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1108",
+ "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": "1109",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1110",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1111",
+ "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": "1112",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "420"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1113",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "426"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesGetOperationErrors",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions.virtualMachinesGetOperationErrors",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1114",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesGetOperationErrors",
+ "description": "ScheduledActions_VirtualMachinesGetOperationErrors",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesGetOperationErrors.json",
+ "parameters": [
+ {
+ "$id": "1115",
+ "parameter": {
+ "$ref": "1097"
+ },
+ "value": {
+ "$id": "1116",
+ "kind": "string",
+ "type": {
+ "$ref": "1098"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "1117",
+ "parameter": {
+ "$ref": "1101"
+ },
+ "value": {
+ "$id": "1118",
+ "kind": "string",
+ "type": {
+ "$ref": "1102"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "1119",
+ "parameter": {
+ "$ref": "1104"
+ },
+ "value": {
+ "$id": "1120",
+ "kind": "string",
+ "type": {
+ "$ref": "1105"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "1121",
+ "parameter": {
+ "$ref": "1112"
+ },
+ "value": {
+ "$id": "1122",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1123",
+ "operationIds": {
+ "$id": "1124",
+ "kind": "array",
+ "type": {
+ "$ref": "422"
+ },
+ "value": [
+ {
+ "$id": "1125",
+ "kind": "string",
+ "type": {
+ "$ref": "423"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1126",
+ "response": {
+ "$ref": "1113"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1127",
+ "kind": "model",
+ "type": {
+ "$ref": "426"
+ },
+ "value": {
+ "$id": "1128",
+ "results": {
+ "$id": "1129",
+ "kind": "array",
+ "type": {
+ "$ref": "428"
+ },
+ "value": [
+ {
+ "$id": "1130",
+ "kind": "model",
+ "type": {
+ "$ref": "429"
+ },
+ "value": {
+ "$id": "1131",
+ "operationId": {
+ "$id": "1132",
+ "kind": "string",
+ "type": {
+ "$ref": "431"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "creationTime": {
+ "$id": "1133",
+ "kind": "string",
+ "type": {
+ "$ref": "435"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "activationTime": {
+ "$id": "1134",
+ "kind": "string",
+ "type": {
+ "$ref": "440"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "completedAt": {
+ "$id": "1135",
+ "kind": "string",
+ "type": {
+ "$ref": "445"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "operationErrors": {
+ "$id": "1136",
+ "kind": "array",
+ "type": {
+ "$ref": "450"
+ },
+ "value": [
+ {
+ "$id": "1137",
+ "kind": "model",
+ "type": {
+ "$ref": "451"
+ },
+ "value": {
+ "$id": "1138",
+ "errorCode": {
+ "$id": "1139",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1140",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "null"
+ },
+ "timestamp": {
+ "$id": "1141",
+ "kind": "string",
+ "type": {
+ "$ref": "461"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "azureOperationName": {
+ "$id": "1142",
+ "kind": "string",
+ "type": {
+ "$ref": "471"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "timeStamp": {
+ "$id": "1143",
+ "kind": "string",
+ "type": {
+ "$ref": "466"
+ },
+ "value": "2024-11-27T16:55:03.357Z"
+ },
+ "crpOperationId": {
+ "$id": "1144",
+ "kind": "string",
+ "type": {
+ "$ref": "475"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ ]
+ },
+ "requestErrorCode": {
+ "$id": "1145",
+ "kind": "string",
+ "type": {
+ "$ref": "481"
+ },
+ "value": "null"
+ },
+ "requestErrorDetails": {
+ "$id": "1146",
+ "kind": "string",
+ "type": {
+ "$ref": "485"
+ },
+ "value": "null"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "1147",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "1148",
+ "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": "1149",
+ "type": {
+ "$id": "1150",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions",
+ "apiVersions": [
+ "2024-08-15-preview",
+ "2024-10-01"
+ ],
+ "parent": {
+ "$ref": "490"
+ }
+ }
+ ]
+ }
+ ],
+ "auth": {
+ "$id": "1151",
+ "oAuth2": {
+ "$id": "1152",
+ "scopes": [
+ "user_impersonation"
+ ]
+ }
+ }
+}
diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/tsp-location.yaml b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/tsp-location.yaml
index f28c0988f7e4..37c2616a92e3 100644
--- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/tsp-location.yaml
+++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/tsp-location.yaml
@@ -1,3 +1,4 @@
-directory: specification\kubernetesruntime\KubernetesRuntime.Management
-commit: 462574dbd02088c209bb1da3eef0d93f699e8de2
-repo: Azure/azure-rest-api-specs
\ No newline at end of file
+directory: specification/kubernetesruntime/KubernetesRuntime.Management
+commit: af51fab0cc00ba3eaee7e4710e8fec5894d4bb0c
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json
new file mode 100644
index 000000000000..9f6a21c28492
--- /dev/null
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/Configuration.json
@@ -0,0 +1,12 @@
+{
+ "output-folder": ".",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "library-name": "Azure.ResourceManager.DeviceRegistry",
+ "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/deviceregistry/Azure.ResourceManager.DeviceRegistry/tsp-location.yaml b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tsp-location.yaml
index 0ed8a47dc49a..b27815f7623c 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tsp-location.yaml
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tsp-location.yaml
@@ -1,3 +1,4 @@
-directory: specification\deviceregistry\DeviceRegistry.Management
-commit: 462574dbd02088c209bb1da3eef0d93f699e8de2
+directory: specification/deviceregistry/DeviceRegistry.Management
+commit: af51fab0cc00ba3eaee7e4710e8fec5894d4bb0c
repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json
new file mode 100644
index 000000000000..b578be27ca4d
--- /dev/null
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json
@@ -0,0 +1,24712 @@
+{
+ "$id": "1",
+ "name": "Microsoft.DeviceRegistry",
+ "apiVersions": [
+ "2024-11-01"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "Origin",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a system.",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "user,system",
+ "value": "user,system",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Indicates the operation is initiated by a user or system.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enum",
+ "name": "ActionType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "Internal",
+ "value": "Internal",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "10"
+ },
+ "doc": "Actions are for internal-only APIs.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enum",
+ "name": "DeviceRegistryTopicRetainType",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.TopicRetainType",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "Keep",
+ "value": "Keep",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "Retain the messages.",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "Never",
+ "value": "Never",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "Never retain messages.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Topic retain types.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enum",
+ "name": "DataPointObservabilityMode",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointObservabilityMode",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "None",
+ "value": "None",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "20"
+ },
+ "doc": "No mapping to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "Counter",
+ "value": "Counter",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "20"
+ },
+ "doc": "Map as counter to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enumvalue",
+ "name": "Gauge",
+ "value": "Gauge",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "20"
+ },
+ "doc": "Map as gauge to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "Histogram",
+ "value": "Histogram",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "20"
+ },
+ "doc": "Map as histogram to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "Log",
+ "value": "Log",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "20"
+ },
+ "doc": "Map as log to OpenTelemetry.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Defines the data point observability mode.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "32",
+ "kind": "enum",
+ "name": "EventObservabilityMode",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventObservabilityMode",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "None",
+ "value": "None",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "No mapping to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "Log",
+ "value": "Log",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "Map as log to OpenTelemetry.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Defines the event observability mode.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enum",
+ "name": "DeviceRegistryProvisioningState",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ProvisioningState",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "40",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "doc": "Resource has been created.",
+ "decorators": []
+ },
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "doc": "Resource creation failed.",
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "doc": "Resource creation was canceled.",
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enumvalue",
+ "name": "Accepted",
+ "value": "Accepted",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "doc": "Resource has been accepted by the server.",
+ "decorators": []
+ },
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "Deleting",
+ "value": "Deleting",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "doc": "Resource is deleting.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "The provisioning status of the resource.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enum",
+ "name": "createdByType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "52",
+ "kind": "enumvalue",
+ "name": "User",
+ "value": "User",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The entity was created by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "Application",
+ "value": "Application",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The entity was created by an application.",
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "ManagedIdentity",
+ "value": "ManagedIdentity",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The entity was created by a managed identity.",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enumvalue",
+ "name": "Key",
+ "value": "Key",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The entity was created by a key.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "The kind of entity that created the resource.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "60",
+ "kind": "enum",
+ "name": "ResourceProvisioningState",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "62",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "63",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "60"
+ },
+ "doc": "Resource has been created.",
+ "decorators": []
+ },
+ {
+ "$id": "64",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "65",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "60"
+ },
+ "doc": "Resource creation failed.",
+ "decorators": []
+ },
+ {
+ "$id": "66",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "67",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "60"
+ },
+ "doc": "Resource creation was canceled.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "The provisioning state of a resource type.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "LroPolling",
+ "decorators": []
+ },
+ {
+ "$id": "68",
+ "kind": "enum",
+ "name": "AuthenticationMethod",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AuthenticationMethod",
+ "valueType": {
+ "$id": "69",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "70",
+ "kind": "enumvalue",
+ "name": "Anonymous",
+ "value": "Anonymous",
+ "valueType": {
+ "$id": "71",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "68"
+ },
+ "doc": "The user authentication method is anonymous.",
+ "decorators": []
+ },
+ {
+ "$id": "72",
+ "kind": "enumvalue",
+ "name": "Certificate",
+ "value": "Certificate",
+ "valueType": {
+ "$id": "73",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "68"
+ },
+ "doc": "The user authentication method is an x509 certificate.",
+ "decorators": []
+ },
+ {
+ "$id": "74",
+ "kind": "enumvalue",
+ "name": "UsernamePassword",
+ "value": "UsernamePassword",
+ "valueType": {
+ "$id": "75",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "68"
+ },
+ "doc": "The user authentication method is a username and password.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "The method to authenticate the user of the client at the server.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "76",
+ "kind": "enum",
+ "name": "Versions",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Versions",
+ "valueType": {
+ "$id": "77",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "78",
+ "kind": "enumvalue",
+ "name": "v2024_11_01",
+ "value": "2024-11-01",
+ "valueType": {
+ "$id": "79",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "76"
+ },
+ "doc": "Microsoft.DeviceRegistry Resource Provider management API version 2024-11-01.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Microsoft.DeviceRegistry Resource Provider supported API versions.",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "80",
+ "kind": "model",
+ "name": "OperationListResult",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult",
+ "usage": "Output,Json",
+ "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "81",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Operation items on this page",
+ "type": {
+ "$id": "82",
+ "kind": "array",
+ "name": "ArrayOperation",
+ "valueType": {
+ "$id": "83",
+ "kind": "model",
+ "name": "Operation",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation",
+ "usage": "Output,Json",
+ "doc": "Details of a REST API operation, returned from the Resource Provider Operations API",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "84",
+ "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": "85",
+ "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": "86",
+ "json": {
+ "$id": "87",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "88",
+ "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": "89",
+ "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": "90",
+ "json": {
+ "$id": "91",
+ "name": "isDataAction"
+ }
+ }
+ },
+ {
+ "$id": "92",
+ "kind": "property",
+ "name": "display",
+ "serializedName": "display",
+ "doc": "Localized display information for this particular operation.",
+ "type": {
+ "$id": "93",
+ "kind": "model",
+ "name": "OperationDisplay",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay",
+ "usage": "Output,Json",
+ "doc": "Localized display information for and operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "94",
+ "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": "95",
+ "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": "96",
+ "json": {
+ "$id": "97",
+ "name": "provider"
+ }
+ }
+ },
+ {
+ "$id": "98",
+ "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": "99",
+ "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": "100",
+ "json": {
+ "$id": "101",
+ "name": "resource"
+ }
+ }
+ },
+ {
+ "$id": "102",
+ "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": "103",
+ "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": "104",
+ "json": {
+ "$id": "105",
+ "name": "operation"
+ }
+ }
+ },
+ {
+ "$id": "106",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
+ "type": {
+ "$id": "107",
+ "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": "108",
+ "json": {
+ "$id": "109",
+ "name": "description"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display",
+ "serializationOptions": {
+ "$id": "110",
+ "json": {
+ "$id": "111",
+ "name": "display"
+ }
+ }
+ },
+ {
+ "$id": "112",
+ "kind": "property",
+ "name": "origin",
+ "serializedName": "origin",
+ "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin",
+ "serializationOptions": {
+ "$id": "113",
+ "json": {
+ "$id": "114",
+ "name": "origin"
+ }
+ }
+ },
+ {
+ "$id": "115",
+ "kind": "property",
+ "name": "actionType",
+ "serializedName": "actionType",
+ "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
+ "type": {
+ "$ref": "10"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType",
+ "serializationOptions": {
+ "$id": "116",
+ "json": {
+ "$id": "117",
+ "name": "actionType"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value",
+ "serializationOptions": {
+ "$id": "118",
+ "json": {
+ "$id": "119",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "120",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "121",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "122",
+ "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": "123",
+ "json": {
+ "$id": "124",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "83"
+ },
+ {
+ "$ref": "93"
+ },
+ {
+ "$id": "125",
+ "kind": "model",
+ "name": "ErrorResponse",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse",
+ "usage": "Json,Exception",
+ "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "126",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "The error object.",
+ "type": {
+ "$id": "127",
+ "kind": "model",
+ "name": "ErrorDetail",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail",
+ "usage": "Json,Exception,LroPolling",
+ "doc": "The error detail.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "128",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "The error code.",
+ "type": {
+ "$id": "129",
+ "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": "130",
+ "json": {
+ "$id": "131",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "132",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "The error message.",
+ "type": {
+ "$id": "133",
+ "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": "134",
+ "json": {
+ "$id": "135",
+ "name": "message"
+ }
+ }
+ },
+ {
+ "$id": "136",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "doc": "The error target.",
+ "type": {
+ "$id": "137",
+ "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": "138",
+ "json": {
+ "$id": "139",
+ "name": "target"
+ }
+ }
+ },
+ {
+ "$id": "140",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "doc": "The error details.",
+ "type": {
+ "$id": "141",
+ "kind": "array",
+ "name": "ArrayErrorDetail",
+ "valueType": {
+ "$ref": "127"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details",
+ "serializationOptions": {
+ "$id": "142",
+ "json": {
+ "$id": "143",
+ "name": "details"
+ }
+ }
+ },
+ {
+ "$id": "144",
+ "kind": "property",
+ "name": "additionalInfo",
+ "serializedName": "additionalInfo",
+ "doc": "The error additional info.",
+ "type": {
+ "$id": "145",
+ "kind": "array",
+ "name": "ArrayErrorAdditionalInfo",
+ "valueType": {
+ "$id": "146",
+ "kind": "model",
+ "name": "ErrorAdditionalInfo",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
+ "usage": "Json,Exception,LroPolling",
+ "doc": "The resource management error additional info.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "147",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The additional info type.",
+ "type": {
+ "$id": "148",
+ "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": "149",
+ "json": {
+ "$id": "150",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "151",
+ "kind": "property",
+ "name": "info",
+ "serializedName": "info",
+ "doc": "The additional info.",
+ "type": {
+ "$id": "152",
+ "kind": "model",
+ "name": "ErrorAdditionalInfoInfo",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "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": "153",
+ "json": {
+ "$id": "154",
+ "name": "info"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo",
+ "serializationOptions": {
+ "$id": "155",
+ "json": {
+ "$id": "156",
+ "name": "additionalInfo"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error",
+ "serializationOptions": {
+ "$id": "157",
+ "json": {
+ "$id": "158",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "127"
+ },
+ {
+ "$ref": "146"
+ },
+ {
+ "$ref": "152"
+ },
+ {
+ "$id": "159",
+ "kind": "model",
+ "name": "DeviceRegistryAsset",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Asset definition.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "160",
+ "kind": "model",
+ "name": "TrackedResource",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
+ "decorators": [],
+ "baseModel": {
+ "$id": "161",
+ "kind": "model",
+ "name": "Resource",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Common fields that are returned in the response for all Azure Resource Manager resources",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "162",
+ "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": "163",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "164",
+ "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": "165",
+ "json": {
+ "$id": "166",
+ "name": "id"
+ }
+ }
+ },
+ {
+ "$id": "167",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the resource",
+ "type": {
+ "$id": "168",
+ "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": "169",
+ "json": {
+ "$id": "170",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "171",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
+ "type": {
+ "$id": "172",
+ "kind": "string",
+ "name": "armResourceType",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceType",
+ "baseType": {
+ "$id": "173",
+ "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": "174",
+ "json": {
+ "$id": "175",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "176",
+ "kind": "property",
+ "name": "systemData",
+ "serializedName": "systemData",
+ "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
+ "type": {
+ "$id": "177",
+ "kind": "model",
+ "name": "SystemData",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Metadata pertaining to creation and last modification of the resource.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "178",
+ "kind": "property",
+ "name": "createdBy",
+ "serializedName": "createdBy",
+ "doc": "The identity that created the resource.",
+ "type": {
+ "$id": "179",
+ "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": "180",
+ "json": {
+ "$id": "181",
+ "name": "createdBy"
+ }
+ }
+ },
+ {
+ "$id": "182",
+ "kind": "property",
+ "name": "createdByType",
+ "serializedName": "createdByType",
+ "doc": "The type of identity that created the resource.",
+ "type": {
+ "$ref": "50"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType",
+ "serializationOptions": {
+ "$id": "183",
+ "json": {
+ "$id": "184",
+ "name": "createdByType"
+ }
+ }
+ },
+ {
+ "$id": "185",
+ "kind": "property",
+ "name": "createdAt",
+ "serializedName": "createdAt",
+ "doc": "The timestamp of resource creation (UTC).",
+ "type": {
+ "$id": "186",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "187",
+ "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": "188",
+ "json": {
+ "$id": "189",
+ "name": "createdAt"
+ }
+ }
+ },
+ {
+ "$id": "190",
+ "kind": "property",
+ "name": "lastModifiedBy",
+ "serializedName": "lastModifiedBy",
+ "doc": "The identity that last modified the resource.",
+ "type": {
+ "$id": "191",
+ "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": "192",
+ "json": {
+ "$id": "193",
+ "name": "lastModifiedBy"
+ }
+ }
+ },
+ {
+ "$id": "194",
+ "kind": "property",
+ "name": "lastModifiedByType",
+ "serializedName": "lastModifiedByType",
+ "doc": "The type of identity that last modified the resource.",
+ "type": {
+ "$ref": "50"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType",
+ "serializationOptions": {
+ "$id": "195",
+ "json": {
+ "$id": "196",
+ "name": "lastModifiedByType"
+ }
+ }
+ },
+ {
+ "$id": "197",
+ "kind": "property",
+ "name": "lastModifiedAt",
+ "serializedName": "lastModifiedAt",
+ "doc": "The timestamp of resource last modification (UTC)",
+ "type": {
+ "$id": "198",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "199",
+ "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": "200",
+ "json": {
+ "$id": "201",
+ "name": "lastModifiedAt"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData",
+ "serializationOptions": {
+ "$id": "202",
+ "json": {
+ "$id": "203",
+ "name": "systemData"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "204",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "205",
+ "kind": "dict",
+ "keyType": {
+ "$id": "206",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "207",
+ "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": "208",
+ "json": {
+ "$id": "209",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "210",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The geo-location where the resource lives",
+ "type": {
+ "$id": "211",
+ "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": "212",
+ "json": {
+ "$id": "213",
+ "name": "location"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "214",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "215",
+ "kind": "model",
+ "name": "AssetProperties",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "216",
+ "kind": "property",
+ "name": "uuid",
+ "serializedName": "uuid",
+ "doc": "Globally unique, immutable, non-reusable id.",
+ "type": {
+ "$id": "217",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.uuid",
+ "serializationOptions": {
+ "$id": "218",
+ "json": {
+ "$id": "219",
+ "name": "uuid"
+ }
+ }
+ },
+ {
+ "$id": "220",
+ "kind": "property",
+ "name": "IsEnabled",
+ "serializedName": "enabled",
+ "doc": "Enabled/Disabled status of the asset.",
+ "type": {
+ "$id": "221",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.enabled",
+ "serializationOptions": {
+ "$id": "222",
+ "json": {
+ "$id": "223",
+ "name": "enabled"
+ }
+ }
+ },
+ {
+ "$id": "224",
+ "kind": "property",
+ "name": "externalAssetId",
+ "serializedName": "externalAssetId",
+ "doc": "Asset id provided by the customer.",
+ "type": {
+ "$id": "225",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.externalAssetId",
+ "serializationOptions": {
+ "$id": "226",
+ "json": {
+ "$id": "227",
+ "name": "externalAssetId"
+ }
+ }
+ },
+ {
+ "$id": "228",
+ "kind": "property",
+ "name": "displayName",
+ "serializedName": "displayName",
+ "doc": "Human-readable display name.",
+ "type": {
+ "$id": "229",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.displayName",
+ "serializationOptions": {
+ "$id": "230",
+ "json": {
+ "$id": "231",
+ "name": "displayName"
+ }
+ }
+ },
+ {
+ "$id": "232",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Human-readable description of the asset.",
+ "type": {
+ "$id": "233",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.description",
+ "serializationOptions": {
+ "$id": "234",
+ "json": {
+ "$id": "235",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "236",
+ "kind": "property",
+ "name": "assetEndpointProfileRef",
+ "serializedName": "assetEndpointProfileRef",
+ "doc": "A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.",
+ "type": {
+ "$id": "237",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.assetEndpointProfileRef",
+ "serializationOptions": {
+ "$id": "238",
+ "json": {
+ "$id": "239",
+ "name": "assetEndpointProfileRef"
+ }
+ }
+ },
+ {
+ "$id": "240",
+ "kind": "property",
+ "name": "version",
+ "serializedName": "version",
+ "doc": "An integer that is incremented each time the resource is modified.",
+ "type": {
+ "$id": "241",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.version",
+ "serializationOptions": {
+ "$id": "242",
+ "json": {
+ "$id": "243",
+ "name": "version"
+ }
+ }
+ },
+ {
+ "$id": "244",
+ "kind": "property",
+ "name": "manufacturer",
+ "serializedName": "manufacturer",
+ "doc": "Asset manufacturer name.",
+ "type": {
+ "$id": "245",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturer",
+ "serializationOptions": {
+ "$id": "246",
+ "json": {
+ "$id": "247",
+ "name": "manufacturer"
+ }
+ }
+ },
+ {
+ "$id": "248",
+ "kind": "property",
+ "name": "manufacturerUri",
+ "serializedName": "manufacturerUri",
+ "doc": "Asset manufacturer URI.",
+ "type": {
+ "$id": "249",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturerUri",
+ "serializationOptions": {
+ "$id": "250",
+ "json": {
+ "$id": "251",
+ "name": "manufacturerUri"
+ }
+ }
+ },
+ {
+ "$id": "252",
+ "kind": "property",
+ "name": "model",
+ "serializedName": "model",
+ "doc": "Asset model name.",
+ "type": {
+ "$id": "253",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.model",
+ "serializationOptions": {
+ "$id": "254",
+ "json": {
+ "$id": "255",
+ "name": "model"
+ }
+ }
+ },
+ {
+ "$id": "256",
+ "kind": "property",
+ "name": "productCode",
+ "serializedName": "productCode",
+ "doc": "Asset product code.",
+ "type": {
+ "$id": "257",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.productCode",
+ "serializationOptions": {
+ "$id": "258",
+ "json": {
+ "$id": "259",
+ "name": "productCode"
+ }
+ }
+ },
+ {
+ "$id": "260",
+ "kind": "property",
+ "name": "hardwareRevision",
+ "serializedName": "hardwareRevision",
+ "doc": "Revision number of the hardware.",
+ "type": {
+ "$id": "261",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.hardwareRevision",
+ "serializationOptions": {
+ "$id": "262",
+ "json": {
+ "$id": "263",
+ "name": "hardwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "264",
+ "kind": "property",
+ "name": "softwareRevision",
+ "serializedName": "softwareRevision",
+ "doc": "Revision number of the software.",
+ "type": {
+ "$id": "265",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.softwareRevision",
+ "serializationOptions": {
+ "$id": "266",
+ "json": {
+ "$id": "267",
+ "name": "softwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "268",
+ "kind": "property",
+ "name": "documentationUri",
+ "serializedName": "documentationUri",
+ "doc": "Reference to the documentation.",
+ "type": {
+ "$id": "269",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.documentationUri",
+ "serializationOptions": {
+ "$id": "270",
+ "json": {
+ "$id": "271",
+ "name": "documentationUri"
+ }
+ }
+ },
+ {
+ "$id": "272",
+ "kind": "property",
+ "name": "serialNumber",
+ "serializedName": "serialNumber",
+ "doc": "Asset serial number.",
+ "type": {
+ "$id": "273",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.serialNumber",
+ "serializationOptions": {
+ "$id": "274",
+ "json": {
+ "$id": "275",
+ "name": "serialNumber"
+ }
+ }
+ },
+ {
+ "$id": "276",
+ "kind": "property",
+ "name": "attributes",
+ "serializedName": "attributes",
+ "doc": "A set of key-value pairs that contain custom attributes set by the customer.",
+ "type": {
+ "$id": "277",
+ "kind": "dict",
+ "keyType": {
+ "$id": "278",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "279",
+ "kind": "unknown",
+ "name": "unknown",
+ "crossLanguageDefinitionId": "",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.attributes",
+ "serializationOptions": {
+ "$id": "280",
+ "json": {
+ "$id": "281",
+ "name": "attributes"
+ }
+ }
+ },
+ {
+ "$id": "282",
+ "kind": "property",
+ "name": "discoveredAssetRefs",
+ "serializedName": "discoveredAssetRefs",
+ "doc": "Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.",
+ "type": {
+ "$id": "283",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "284",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.discoveredAssetRefs",
+ "serializationOptions": {
+ "$id": "285",
+ "json": {
+ "$id": "286",
+ "name": "discoveredAssetRefs"
+ }
+ }
+ },
+ {
+ "$id": "287",
+ "kind": "property",
+ "name": "defaultDatasetsConfiguration",
+ "serializedName": "defaultDatasetsConfiguration",
+ "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.",
+ "type": {
+ "$id": "288",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultDatasetsConfiguration",
+ "serializationOptions": {
+ "$id": "289",
+ "json": {
+ "$id": "290",
+ "name": "defaultDatasetsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "291",
+ "kind": "property",
+ "name": "defaultEventsConfiguration",
+ "serializedName": "defaultEventsConfiguration",
+ "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.",
+ "type": {
+ "$id": "292",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultEventsConfiguration",
+ "serializationOptions": {
+ "$id": "293",
+ "json": {
+ "$id": "294",
+ "name": "defaultEventsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "295",
+ "kind": "property",
+ "name": "defaultTopic",
+ "serializedName": "defaultTopic",
+ "doc": "Object that describes the default topic information for the asset.",
+ "type": {
+ "$id": "296",
+ "kind": "model",
+ "name": "DeviceRegistryTopic",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Object that describes the topic information.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "297",
+ "kind": "property",
+ "name": "path",
+ "serializedName": "path",
+ "doc": "The topic path for messages published to an MQTT broker.",
+ "type": {
+ "$id": "298",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.path",
+ "serializationOptions": {
+ "$id": "299",
+ "json": {
+ "$id": "300",
+ "name": "path"
+ }
+ }
+ },
+ {
+ "$id": "301",
+ "kind": "property",
+ "name": "retain",
+ "serializedName": "retain",
+ "doc": "When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.",
+ "type": {
+ "$ref": "14"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.retain",
+ "serializationOptions": {
+ "$id": "302",
+ "json": {
+ "$id": "303",
+ "name": "retain"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultTopic",
+ "serializationOptions": {
+ "$id": "304",
+ "json": {
+ "$id": "305",
+ "name": "defaultTopic"
+ }
+ }
+ },
+ {
+ "$id": "306",
+ "kind": "property",
+ "name": "datasets",
+ "serializedName": "datasets",
+ "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.",
+ "type": {
+ "$id": "307",
+ "kind": "array",
+ "name": "ArrayDataset",
+ "valueType": {
+ "$id": "308",
+ "kind": "model",
+ "name": "DeviceRegistryDataset",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the dataset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "309",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Name of the dataset.",
+ "type": {
+ "$id": "310",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.name",
+ "serializationOptions": {
+ "$id": "311",
+ "json": {
+ "$id": "312",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "313",
+ "kind": "property",
+ "name": "datasetConfiguration",
+ "serializedName": "datasetConfiguration",
+ "doc": "Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.",
+ "type": {
+ "$id": "314",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.datasetConfiguration",
+ "serializationOptions": {
+ "$id": "315",
+ "json": {
+ "$id": "316",
+ "name": "datasetConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "317",
+ "kind": "property",
+ "name": "topic",
+ "serializedName": "topic",
+ "doc": "Object that describes the topic information for the specific dataset.",
+ "type": {
+ "$ref": "296"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.topic",
+ "serializationOptions": {
+ "$id": "318",
+ "json": {
+ "$id": "319",
+ "name": "topic"
+ }
+ }
+ },
+ {
+ "$id": "320",
+ "kind": "property",
+ "name": "dataPoints",
+ "serializedName": "dataPoints",
+ "doc": "Array of data points that are part of the dataset. Each data point can have per-data point configuration.",
+ "type": {
+ "$id": "321",
+ "kind": "array",
+ "name": "ArrayDataPoint",
+ "valueType": {
+ "$id": "322",
+ "kind": "model",
+ "name": "DeviceRegistryDataPoint",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the data point properties.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "323",
+ "kind": "model",
+ "name": "DeviceRegistryDataPointBase",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the data point properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "324",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the data point.",
+ "type": {
+ "$id": "325",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.name",
+ "serializationOptions": {
+ "$id": "326",
+ "json": {
+ "$id": "327",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "328",
+ "kind": "property",
+ "name": "dataSource",
+ "serializedName": "dataSource",
+ "doc": "The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.",
+ "type": {
+ "$id": "329",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataSource",
+ "serializationOptions": {
+ "$id": "330",
+ "json": {
+ "$id": "331",
+ "name": "dataSource"
+ }
+ }
+ },
+ {
+ "$id": "332",
+ "kind": "property",
+ "name": "dataPointConfiguration",
+ "serializedName": "dataPointConfiguration",
+ "doc": "Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.",
+ "type": {
+ "$id": "333",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataPointConfiguration",
+ "serializationOptions": {
+ "$id": "334",
+ "json": {
+ "$id": "335",
+ "name": "dataPointConfiguration"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "336",
+ "kind": "property",
+ "name": "observabilityMode",
+ "serializedName": "observabilityMode",
+ "doc": "An indication of how the data point should be mapped to OpenTelemetry.",
+ "type": {
+ "$ref": "20"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint.observabilityMode",
+ "serializationOptions": {
+ "$id": "337",
+ "json": {
+ "$id": "338",
+ "name": "observabilityMode"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.dataPoints",
+ "serializationOptions": {
+ "$id": "339",
+ "json": {
+ "$id": "340",
+ "name": "dataPoints"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.datasets",
+ "serializationOptions": {
+ "$id": "341",
+ "json": {
+ "$id": "342",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "343",
+ "kind": "property",
+ "name": "events",
+ "serializedName": "events",
+ "doc": "Array of events that are part of the asset. Each event can have per-event configuration.",
+ "type": {
+ "$id": "344",
+ "kind": "array",
+ "name": "ArrayEvent",
+ "valueType": {
+ "$id": "345",
+ "kind": "model",
+ "name": "DeviceRegistryEvent",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the event properties.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "346",
+ "kind": "model",
+ "name": "DeviceRegistryEventBase",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the event properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "347",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the event.",
+ "type": {
+ "$id": "348",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.name",
+ "serializationOptions": {
+ "$id": "349",
+ "json": {
+ "$id": "350",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "351",
+ "kind": "property",
+ "name": "eventNotifier",
+ "serializedName": "eventNotifier",
+ "doc": "The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.",
+ "type": {
+ "$id": "352",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventNotifier",
+ "serializationOptions": {
+ "$id": "353",
+ "json": {
+ "$id": "354",
+ "name": "eventNotifier"
+ }
+ }
+ },
+ {
+ "$id": "355",
+ "kind": "property",
+ "name": "eventConfiguration",
+ "serializedName": "eventConfiguration",
+ "doc": "Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.",
+ "type": {
+ "$id": "356",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventConfiguration",
+ "serializationOptions": {
+ "$id": "357",
+ "json": {
+ "$id": "358",
+ "name": "eventConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "359",
+ "kind": "property",
+ "name": "topic",
+ "serializedName": "topic",
+ "doc": "Object that describes the topic information for the specific event.",
+ "type": {
+ "$ref": "296"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.topic",
+ "serializationOptions": {
+ "$id": "360",
+ "json": {
+ "$id": "361",
+ "name": "topic"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "362",
+ "kind": "property",
+ "name": "observabilityMode",
+ "serializedName": "observabilityMode",
+ "doc": "An indication of how the event should be mapped to OpenTelemetry.",
+ "type": {
+ "$ref": "32"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event.observabilityMode",
+ "serializationOptions": {
+ "$id": "363",
+ "json": {
+ "$id": "364",
+ "name": "observabilityMode"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.events",
+ "serializationOptions": {
+ "$id": "365",
+ "json": {
+ "$id": "366",
+ "name": "events"
+ }
+ }
+ },
+ {
+ "$id": "367",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.",
+ "type": {
+ "$id": "368",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatus",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "369",
+ "kind": "property",
+ "name": "errors",
+ "serializedName": "errors",
+ "doc": "Array object to transfer and persist errors that originate from the Edge.",
+ "type": {
+ "$id": "370",
+ "kind": "array",
+ "name": "ArrayAssetStatusError",
+ "valueType": {
+ "$id": "371",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusError",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status error properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "372",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).",
+ "type": {
+ "$id": "373",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.code",
+ "serializationOptions": {
+ "$id": "374",
+ "json": {
+ "$id": "375",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "376",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).",
+ "type": {
+ "$id": "377",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.message",
+ "serializationOptions": {
+ "$id": "378",
+ "json": {
+ "$id": "379",
+ "name": "message"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.errors",
+ "serializationOptions": {
+ "$id": "380",
+ "json": {
+ "$id": "381",
+ "name": "errors"
+ }
+ }
+ },
+ {
+ "$id": "382",
+ "kind": "property",
+ "name": "version",
+ "serializedName": "version",
+ "doc": "A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.",
+ "type": {
+ "$id": "383",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.version",
+ "serializationOptions": {
+ "$id": "384",
+ "json": {
+ "$id": "385",
+ "name": "version"
+ }
+ }
+ },
+ {
+ "$id": "386",
+ "kind": "property",
+ "name": "datasets",
+ "serializedName": "datasets",
+ "doc": "Array of dataset statuses that describe the status of each dataset.",
+ "type": {
+ "$id": "387",
+ "kind": "array",
+ "name": "ArrayAssetStatusDataset",
+ "valueType": {
+ "$id": "388",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusDataset",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status dataset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "389",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the dataset. Must be unique within the status.datasets array. This name is used to correlate between the spec and status dataset information.",
+ "type": {
+ "$id": "390",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.name",
+ "serializationOptions": {
+ "$id": "391",
+ "json": {
+ "$id": "392",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "393",
+ "kind": "property",
+ "name": "messageSchemaReference",
+ "serializedName": "messageSchemaReference",
+ "doc": "The message schema reference object.",
+ "type": {
+ "$id": "394",
+ "kind": "model",
+ "name": "MessageSchemaReference",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the message schema reference properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "395",
+ "kind": "property",
+ "name": "schemaRegistryNamespace",
+ "serializedName": "schemaRegistryNamespace",
+ "doc": "The message schema registry namespace.",
+ "type": {
+ "$id": "396",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaRegistryNamespace",
+ "serializationOptions": {
+ "$id": "397",
+ "json": {
+ "$id": "398",
+ "name": "schemaRegistryNamespace"
+ }
+ }
+ },
+ {
+ "$id": "399",
+ "kind": "property",
+ "name": "schemaName",
+ "serializedName": "schemaName",
+ "doc": "The message schema name.",
+ "type": {
+ "$id": "400",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaName",
+ "serializationOptions": {
+ "$id": "401",
+ "json": {
+ "$id": "402",
+ "name": "schemaName"
+ }
+ }
+ },
+ {
+ "$id": "403",
+ "kind": "property",
+ "name": "schemaVersion",
+ "serializedName": "schemaVersion",
+ "doc": "The message schema version.",
+ "type": {
+ "$id": "404",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaVersion",
+ "serializationOptions": {
+ "$id": "405",
+ "json": {
+ "$id": "406",
+ "name": "schemaVersion"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.messageSchemaReference",
+ "serializationOptions": {
+ "$id": "407",
+ "json": {
+ "$id": "408",
+ "name": "messageSchemaReference"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.datasets",
+ "serializationOptions": {
+ "$id": "409",
+ "json": {
+ "$id": "410",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "411",
+ "kind": "property",
+ "name": "events",
+ "serializedName": "events",
+ "doc": "Array of event statuses that describe the status of each event.",
+ "type": {
+ "$id": "412",
+ "kind": "array",
+ "name": "ArrayAssetStatusEvent",
+ "valueType": {
+ "$id": "413",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusEvent",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status event properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "414",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.",
+ "type": {
+ "$id": "415",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.name",
+ "serializationOptions": {
+ "$id": "416",
+ "json": {
+ "$id": "417",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "418",
+ "kind": "property",
+ "name": "messageSchemaReference",
+ "serializedName": "messageSchemaReference",
+ "doc": "The message schema reference object.",
+ "type": {
+ "$ref": "394"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.messageSchemaReference",
+ "serializationOptions": {
+ "$id": "419",
+ "json": {
+ "$id": "420",
+ "name": "messageSchemaReference"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.events",
+ "serializationOptions": {
+ "$id": "421",
+ "json": {
+ "$id": "422",
+ "name": "events"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.status",
+ "serializationOptions": {
+ "$id": "423",
+ "json": {
+ "$id": "424",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "425",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "38"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "426",
+ "json": {
+ "$id": "427",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.properties",
+ "serializationOptions": {
+ "$id": "428",
+ "json": {
+ "$id": "429",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "430",
+ "kind": "property",
+ "name": "extendedLocation",
+ "serializedName": "extendedLocation",
+ "doc": "The extended location.",
+ "type": {
+ "$id": "431",
+ "kind": "model",
+ "name": "DeviceRegistryExtendedLocation",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The extended location.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "432",
+ "kind": "property",
+ "name": "ExtendedLocationType",
+ "serializedName": "type",
+ "doc": "The extended location type.",
+ "type": {
+ "$id": "433",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.type",
+ "serializationOptions": {
+ "$id": "434",
+ "json": {
+ "$id": "435",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "436",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The extended location name.",
+ "type": {
+ "$id": "437",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.name",
+ "serializationOptions": {
+ "$id": "438",
+ "json": {
+ "$id": "439",
+ "name": "name"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.extendedLocation",
+ "serializationOptions": {
+ "$id": "440",
+ "json": {
+ "$id": "441",
+ "name": "extendedLocation"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "215"
+ },
+ {
+ "$ref": "296"
+ },
+ {
+ "$ref": "308"
+ },
+ {
+ "$ref": "322"
+ },
+ {
+ "$ref": "323"
+ },
+ {
+ "$ref": "345"
+ },
+ {
+ "$ref": "346"
+ },
+ {
+ "$ref": "368"
+ },
+ {
+ "$ref": "371"
+ },
+ {
+ "$ref": "388"
+ },
+ {
+ "$ref": "394"
+ },
+ {
+ "$ref": "413"
+ },
+ {
+ "$ref": "431"
+ },
+ {
+ "$ref": "160"
+ },
+ {
+ "$ref": "161"
+ },
+ {
+ "$ref": "177"
+ },
+ {
+ "$id": "442",
+ "kind": "model",
+ "name": "ArmOperationStatusResourceProvisioningState",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus",
+ "usage": "LroPolling",
+ "doc": "Standard Azure Resource Manager operation status response",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "443",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The operation status",
+ "type": {
+ "$ref": "60"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status",
+ "serializationOptions": {
+ "$id": "444",
+ "json": {
+ "$id": "445",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "446",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the operationStatus resource",
+ "type": {
+ "$id": "447",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name",
+ "serializationOptions": {
+ "$id": "448",
+ "json": {
+ "$id": "449",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "450",
+ "kind": "property",
+ "name": "startTime",
+ "serializedName": "startTime",
+ "doc": "Operation start time",
+ "type": {
+ "$id": "451",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "452",
+ "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": "453",
+ "json": {
+ "$id": "454",
+ "name": "startTime"
+ }
+ }
+ },
+ {
+ "$id": "455",
+ "kind": "property",
+ "name": "endTime",
+ "serializedName": "endTime",
+ "doc": "Operation complete time",
+ "type": {
+ "$id": "456",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "457",
+ "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": "458",
+ "json": {
+ "$id": "459",
+ "name": "endTime"
+ }
+ }
+ },
+ {
+ "$id": "460",
+ "kind": "property",
+ "name": "percentComplete",
+ "serializedName": "percentComplete",
+ "doc": "The progress made toward completing the operation",
+ "type": {
+ "$id": "461",
+ "kind": "float64",
+ "name": "float64",
+ "crossLanguageDefinitionId": "TypeSpec.float64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete",
+ "serializationOptions": {
+ "$id": "462",
+ "json": {
+ "$id": "463",
+ "name": "percentComplete"
+ }
+ }
+ },
+ {
+ "$id": "464",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "Errors that occurred if the operation ended with Canceled or Failed status",
+ "type": {
+ "$ref": "127"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error",
+ "serializationOptions": {
+ "$id": "465",
+ "json": {
+ "$id": "466",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "467",
+ "kind": "model",
+ "name": "AssetUpdate",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
+ "usage": "Input,Json",
+ "doc": "The type used for update operations of the Asset.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "468",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "469",
+ "kind": "dict",
+ "keyType": {
+ "$id": "470",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "471",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags",
+ "serializationOptions": {
+ "$id": "472",
+ "json": {
+ "$id": "473",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "474",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "475",
+ "kind": "model",
+ "name": "AssetUpdateProperties",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
+ "usage": "Input,Json",
+ "doc": "The updatable properties of the Asset.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "476",
+ "kind": "property",
+ "name": "IsEnabled",
+ "serializedName": "enabled",
+ "doc": "Enabled/Disabled status of the asset.",
+ "type": {
+ "$id": "477",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.enabled",
+ "serializationOptions": {
+ "$id": "478",
+ "json": {
+ "$id": "479",
+ "name": "enabled"
+ }
+ }
+ },
+ {
+ "$id": "480",
+ "kind": "property",
+ "name": "displayName",
+ "serializedName": "displayName",
+ "doc": "Human-readable display name.",
+ "type": {
+ "$id": "481",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.displayName",
+ "serializationOptions": {
+ "$id": "482",
+ "json": {
+ "$id": "483",
+ "name": "displayName"
+ }
+ }
+ },
+ {
+ "$id": "484",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Human-readable description of the asset.",
+ "type": {
+ "$id": "485",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.description",
+ "serializationOptions": {
+ "$id": "486",
+ "json": {
+ "$id": "487",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "488",
+ "kind": "property",
+ "name": "manufacturer",
+ "serializedName": "manufacturer",
+ "doc": "Asset manufacturer name.",
+ "type": {
+ "$id": "489",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturer",
+ "serializationOptions": {
+ "$id": "490",
+ "json": {
+ "$id": "491",
+ "name": "manufacturer"
+ }
+ }
+ },
+ {
+ "$id": "492",
+ "kind": "property",
+ "name": "manufacturerUri",
+ "serializedName": "manufacturerUri",
+ "doc": "Asset manufacturer URI.",
+ "type": {
+ "$id": "493",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.manufacturerUri",
+ "serializationOptions": {
+ "$id": "494",
+ "json": {
+ "$id": "495",
+ "name": "manufacturerUri"
+ }
+ }
+ },
+ {
+ "$id": "496",
+ "kind": "property",
+ "name": "model",
+ "serializedName": "model",
+ "doc": "Asset model name.",
+ "type": {
+ "$id": "497",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.model",
+ "serializationOptions": {
+ "$id": "498",
+ "json": {
+ "$id": "499",
+ "name": "model"
+ }
+ }
+ },
+ {
+ "$id": "500",
+ "kind": "property",
+ "name": "productCode",
+ "serializedName": "productCode",
+ "doc": "Asset product code.",
+ "type": {
+ "$id": "501",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.productCode",
+ "serializationOptions": {
+ "$id": "502",
+ "json": {
+ "$id": "503",
+ "name": "productCode"
+ }
+ }
+ },
+ {
+ "$id": "504",
+ "kind": "property",
+ "name": "hardwareRevision",
+ "serializedName": "hardwareRevision",
+ "doc": "Revision number of the hardware.",
+ "type": {
+ "$id": "505",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.hardwareRevision",
+ "serializationOptions": {
+ "$id": "506",
+ "json": {
+ "$id": "507",
+ "name": "hardwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "508",
+ "kind": "property",
+ "name": "softwareRevision",
+ "serializedName": "softwareRevision",
+ "doc": "Revision number of the software.",
+ "type": {
+ "$id": "509",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.softwareRevision",
+ "serializationOptions": {
+ "$id": "510",
+ "json": {
+ "$id": "511",
+ "name": "softwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "512",
+ "kind": "property",
+ "name": "documentationUri",
+ "serializedName": "documentationUri",
+ "doc": "Reference to the documentation.",
+ "type": {
+ "$id": "513",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.documentationUri",
+ "serializationOptions": {
+ "$id": "514",
+ "json": {
+ "$id": "515",
+ "name": "documentationUri"
+ }
+ }
+ },
+ {
+ "$id": "516",
+ "kind": "property",
+ "name": "serialNumber",
+ "serializedName": "serialNumber",
+ "doc": "Asset serial number.",
+ "type": {
+ "$id": "517",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.serialNumber",
+ "serializationOptions": {
+ "$id": "518",
+ "json": {
+ "$id": "519",
+ "name": "serialNumber"
+ }
+ }
+ },
+ {
+ "$id": "520",
+ "kind": "property",
+ "name": "attributes",
+ "serializedName": "attributes",
+ "doc": "A set of key-value pairs that contain custom attributes set by the customer.",
+ "type": {
+ "$id": "521",
+ "kind": "dict",
+ "keyType": {
+ "$id": "522",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "523",
+ "kind": "unknown",
+ "name": "unknown",
+ "crossLanguageDefinitionId": "",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes",
+ "serializationOptions": {
+ "$id": "524",
+ "json": {
+ "$id": "525",
+ "name": "attributes"
+ }
+ }
+ },
+ {
+ "$id": "526",
+ "kind": "property",
+ "name": "defaultDatasetsConfiguration",
+ "serializedName": "defaultDatasetsConfiguration",
+ "doc": "Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.",
+ "type": {
+ "$id": "527",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultDatasetsConfiguration",
+ "serializationOptions": {
+ "$id": "528",
+ "json": {
+ "$id": "529",
+ "name": "defaultDatasetsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "530",
+ "kind": "property",
+ "name": "defaultEventsConfiguration",
+ "serializedName": "defaultEventsConfiguration",
+ "doc": "Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.",
+ "type": {
+ "$id": "531",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultEventsConfiguration",
+ "serializationOptions": {
+ "$id": "532",
+ "json": {
+ "$id": "533",
+ "name": "defaultEventsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "534",
+ "kind": "property",
+ "name": "defaultTopic",
+ "serializedName": "defaultTopic",
+ "doc": "Object that describes the default topic information for the asset.",
+ "type": {
+ "$ref": "296"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultTopic",
+ "serializationOptions": {
+ "$id": "535",
+ "json": {
+ "$id": "536",
+ "name": "defaultTopic"
+ }
+ }
+ },
+ {
+ "$id": "537",
+ "kind": "property",
+ "name": "datasets",
+ "serializedName": "datasets",
+ "doc": "Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.",
+ "type": {
+ "$id": "538",
+ "kind": "array",
+ "name": "ArrayDataset",
+ "valueType": {
+ "$ref": "308"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.datasets",
+ "serializationOptions": {
+ "$id": "539",
+ "json": {
+ "$id": "540",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "541",
+ "kind": "property",
+ "name": "events",
+ "serializedName": "events",
+ "doc": "Array of events that are part of the asset. Each event can have per-event configuration.",
+ "type": {
+ "$id": "542",
+ "kind": "array",
+ "name": "ArrayEvent",
+ "valueType": {
+ "$ref": "345"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.events",
+ "serializationOptions": {
+ "$id": "543",
+ "json": {
+ "$id": "544",
+ "name": "events"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties",
+ "serializationOptions": {
+ "$id": "545",
+ "json": {
+ "$id": "546",
+ "name": "properties"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "475"
+ },
+ {
+ "$id": "547",
+ "kind": "model",
+ "name": "AssetListResult",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a Asset list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "548",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Asset items on this page",
+ "type": {
+ "$id": "549",
+ "kind": "array",
+ "name": "ArrayAsset",
+ "valueType": {
+ "$ref": "159"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "550",
+ "json": {
+ "$id": "551",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "552",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "553",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "554",
+ "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": "555",
+ "json": {
+ "$id": "556",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "557",
+ "kind": "model",
+ "name": "DeviceRegistryAssetEndpointProfile",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Asset Endpoint Profile definition.",
+ "decorators": [],
+ "baseModel": {
+ "$ref": "160"
+ },
+ "properties": [
+ {
+ "$id": "558",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "559",
+ "kind": "model",
+ "name": "DeviceRegistryAssetEndpointProfileProperties",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the Asset Endpoint Profile properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "560",
+ "kind": "property",
+ "name": "uuid",
+ "serializedName": "uuid",
+ "doc": "Globally unique, immutable, non-reusable id.",
+ "type": {
+ "$id": "561",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.uuid",
+ "serializationOptions": {
+ "$id": "562",
+ "json": {
+ "$id": "563",
+ "name": "uuid"
+ }
+ }
+ },
+ {
+ "$id": "564",
+ "kind": "property",
+ "name": "targetAddress",
+ "serializedName": "targetAddress",
+ "doc": "The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.",
+ "type": {
+ "$id": "565",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.targetAddress",
+ "serializationOptions": {
+ "$id": "566",
+ "json": {
+ "$id": "567",
+ "name": "targetAddress"
+ }
+ }
+ },
+ {
+ "$id": "568",
+ "kind": "property",
+ "name": "endpointProfileType",
+ "serializedName": "endpointProfileType",
+ "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.",
+ "type": {
+ "$id": "569",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.endpointProfileType",
+ "serializationOptions": {
+ "$id": "570",
+ "json": {
+ "$id": "571",
+ "name": "endpointProfileType"
+ }
+ }
+ },
+ {
+ "$id": "572",
+ "kind": "property",
+ "name": "authentication",
+ "serializedName": "authentication",
+ "doc": "Defines the client authentication mechanism to the server.",
+ "type": {
+ "$id": "573",
+ "kind": "model",
+ "name": "DeviceRegistryAuthentication",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Definition of the client authentication mechanism to the server.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "574",
+ "kind": "property",
+ "name": "method",
+ "serializedName": "method",
+ "doc": "Defines the method to authenticate the user of the client at the server.",
+ "type": {
+ "$ref": "68"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.method",
+ "serializationOptions": {
+ "$id": "575",
+ "json": {
+ "$id": "576",
+ "name": "method"
+ }
+ }
+ },
+ {
+ "$id": "577",
+ "kind": "property",
+ "name": "usernamePasswordCredentials",
+ "serializedName": "usernamePasswordCredentials",
+ "doc": "Defines the username and password references when UsernamePassword user authentication mode is selected.",
+ "type": {
+ "$id": "578",
+ "kind": "model",
+ "name": "DeviceRegistryUsernamePasswordCredentials",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The credentials for authentication mode UsernamePassword.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "579",
+ "kind": "property",
+ "name": "usernameSecretName",
+ "serializedName": "usernameSecretName",
+ "doc": "The name of the secret containing the username.",
+ "type": {
+ "$id": "580",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.usernameSecretName",
+ "serializationOptions": {
+ "$id": "581",
+ "json": {
+ "$id": "582",
+ "name": "usernameSecretName"
+ }
+ }
+ },
+ {
+ "$id": "583",
+ "kind": "property",
+ "name": "passwordSecretName",
+ "serializedName": "passwordSecretName",
+ "doc": "The name of the secret containing the password.",
+ "type": {
+ "$id": "584",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.passwordSecretName",
+ "serializationOptions": {
+ "$id": "585",
+ "json": {
+ "$id": "586",
+ "name": "passwordSecretName"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.usernamePasswordCredentials",
+ "serializationOptions": {
+ "$id": "587",
+ "json": {
+ "$id": "588",
+ "name": "usernamePasswordCredentials"
+ }
+ }
+ },
+ {
+ "$id": "589",
+ "kind": "property",
+ "name": "x509Credentials",
+ "serializedName": "x509Credentials",
+ "doc": "Defines the certificate reference when Certificate user authentication mode is selected.",
+ "type": {
+ "$id": "590",
+ "kind": "model",
+ "name": "DeviceRegistryX509Credentials",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The x509 certificate for authentication mode Certificate.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "591",
+ "kind": "property",
+ "name": "certificateSecretName",
+ "serializedName": "certificateSecretName",
+ "doc": "The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).",
+ "type": {
+ "$id": "592",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials.certificateSecretName",
+ "serializationOptions": {
+ "$id": "593",
+ "json": {
+ "$id": "594",
+ "name": "certificateSecretName"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.x509Credentials",
+ "serializationOptions": {
+ "$id": "595",
+ "json": {
+ "$id": "596",
+ "name": "x509Credentials"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.authentication",
+ "serializationOptions": {
+ "$id": "597",
+ "json": {
+ "$id": "598",
+ "name": "authentication"
+ }
+ }
+ },
+ {
+ "$id": "599",
+ "kind": "property",
+ "name": "additionalConfiguration",
+ "serializedName": "additionalConfiguration",
+ "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).",
+ "type": {
+ "$id": "600",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.additionalConfiguration",
+ "serializationOptions": {
+ "$id": "601",
+ "json": {
+ "$id": "602",
+ "name": "additionalConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "603",
+ "kind": "property",
+ "name": "discoveredAssetEndpointProfileRef",
+ "serializedName": "discoveredAssetEndpointProfileRef",
+ "doc": "Reference to a discovered asset endpoint profile. Populated only if the asset endpoint profile has been created from discovery flow. Discovered asset endpoint profile name must be provided.",
+ "type": {
+ "$id": "604",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.discoveredAssetEndpointProfileRef",
+ "serializationOptions": {
+ "$id": "605",
+ "json": {
+ "$id": "606",
+ "name": "discoveredAssetEndpointProfileRef"
+ }
+ }
+ },
+ {
+ "$id": "607",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.",
+ "type": {
+ "$id": "608",
+ "kind": "model",
+ "name": "AssetEndpointProfileStatus",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset endpoint profile status properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "609",
+ "kind": "property",
+ "name": "errors",
+ "serializedName": "errors",
+ "doc": "Array object to transfer and persist errors that originate from the Edge.",
+ "type": {
+ "$id": "610",
+ "kind": "array",
+ "name": "ArrayAssetEndpointProfileStatusError",
+ "valueType": {
+ "$id": "611",
+ "kind": "model",
+ "name": "AssetEndpointProfileStatusError",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset endpoint profile status error properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "612",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).",
+ "type": {
+ "$id": "613",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.code",
+ "serializationOptions": {
+ "$id": "614",
+ "json": {
+ "$id": "615",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "616",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "Human readable helpful error message to provide additional context for error (ex: “targetAddress 'foo' is not a valid url”).",
+ "type": {
+ "$id": "617",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.message",
+ "serializationOptions": {
+ "$id": "618",
+ "json": {
+ "$id": "619",
+ "name": "message"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus.errors",
+ "serializationOptions": {
+ "$id": "620",
+ "json": {
+ "$id": "621",
+ "name": "errors"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.status",
+ "serializationOptions": {
+ "$id": "622",
+ "json": {
+ "$id": "623",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "624",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "38"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "625",
+ "json": {
+ "$id": "626",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.properties",
+ "serializationOptions": {
+ "$id": "627",
+ "json": {
+ "$id": "628",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "629",
+ "kind": "property",
+ "name": "extendedLocation",
+ "serializedName": "extendedLocation",
+ "doc": "The extended location.",
+ "type": {
+ "$ref": "431"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.extendedLocation",
+ "serializationOptions": {
+ "$id": "630",
+ "json": {
+ "$id": "631",
+ "name": "extendedLocation"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "559"
+ },
+ {
+ "$ref": "573"
+ },
+ {
+ "$ref": "578"
+ },
+ {
+ "$ref": "590"
+ },
+ {
+ "$ref": "608"
+ },
+ {
+ "$ref": "611"
+ },
+ {
+ "$id": "632",
+ "kind": "model",
+ "name": "AssetEndpointProfileUpdate",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
+ "usage": "Input,Json",
+ "doc": "The type used for update operations of the AssetEndpointProfile.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "633",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "634",
+ "kind": "dict",
+ "keyType": {
+ "$id": "635",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "636",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags",
+ "serializationOptions": {
+ "$id": "637",
+ "json": {
+ "$id": "638",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "639",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "640",
+ "kind": "model",
+ "name": "AssetEndpointProfileUpdateProperties",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
+ "usage": "Input,Json",
+ "doc": "The updatable properties of the AssetEndpointProfile.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "641",
+ "kind": "property",
+ "name": "targetAddress",
+ "serializedName": "targetAddress",
+ "doc": "The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.",
+ "type": {
+ "$id": "642",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.targetAddress",
+ "serializationOptions": {
+ "$id": "643",
+ "json": {
+ "$id": "644",
+ "name": "targetAddress"
+ }
+ }
+ },
+ {
+ "$id": "645",
+ "kind": "property",
+ "name": "endpointProfileType",
+ "serializedName": "endpointProfileType",
+ "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.",
+ "type": {
+ "$id": "646",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.endpointProfileType",
+ "serializationOptions": {
+ "$id": "647",
+ "json": {
+ "$id": "648",
+ "name": "endpointProfileType"
+ }
+ }
+ },
+ {
+ "$id": "649",
+ "kind": "property",
+ "name": "authentication",
+ "serializedName": "authentication",
+ "doc": "Defines the client authentication mechanism to the server.",
+ "type": {
+ "$ref": "573"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.authentication",
+ "serializationOptions": {
+ "$id": "650",
+ "json": {
+ "$id": "651",
+ "name": "authentication"
+ }
+ }
+ },
+ {
+ "$id": "652",
+ "kind": "property",
+ "name": "additionalConfiguration",
+ "serializedName": "additionalConfiguration",
+ "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).",
+ "type": {
+ "$id": "653",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.additionalConfiguration",
+ "serializationOptions": {
+ "$id": "654",
+ "json": {
+ "$id": "655",
+ "name": "additionalConfiguration"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties",
+ "serializationOptions": {
+ "$id": "656",
+ "json": {
+ "$id": "657",
+ "name": "properties"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "640"
+ },
+ {
+ "$id": "658",
+ "kind": "model",
+ "name": "AssetEndpointProfileListResult",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a AssetEndpointProfile list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "659",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The AssetEndpointProfile items on this page",
+ "type": {
+ "$id": "660",
+ "kind": "array",
+ "name": "ArrayAssetEndpointProfile",
+ "valueType": {
+ "$ref": "557"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "661",
+ "json": {
+ "$id": "662",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "663",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "664",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "665",
+ "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": "666",
+ "json": {
+ "$id": "667",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "668",
+ "kind": "model",
+ "name": "DeviceRegistryBillingContainer",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer",
+ "usage": "Output,Json",
+ "doc": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "669",
+ "kind": "model",
+ "name": "ProxyResource",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource",
+ "usage": "Output,Json",
+ "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
+ "decorators": [],
+ "baseModel": {
+ "$ref": "161"
+ },
+ "properties": []
+ },
+ "properties": [
+ {
+ "$id": "670",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "671",
+ "kind": "model",
+ "name": "BillingContainerProperties",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties",
+ "usage": "Output,Json",
+ "doc": "Defines the billingContainer properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "672",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "38"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "673",
+ "json": {
+ "$id": "674",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.properties",
+ "serializationOptions": {
+ "$id": "675",
+ "json": {
+ "$id": "676",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "677",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "doc": "Resource ETag",
+ "type": {
+ "$id": "678",
+ "kind": "string",
+ "name": "eTag",
+ "crossLanguageDefinitionId": "Azure.Core.eTag",
+ "baseType": {
+ "$id": "679",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.etag",
+ "serializationOptions": {
+ "$id": "680",
+ "json": {
+ "$id": "681",
+ "name": "etag"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "671"
+ },
+ {
+ "$ref": "669"
+ },
+ {
+ "$id": "682",
+ "kind": "model",
+ "name": "BillingContainerListResult",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a BillingContainer list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "683",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The BillingContainer items on this page",
+ "type": {
+ "$id": "684",
+ "kind": "array",
+ "name": "ArrayBillingContainer",
+ "valueType": {
+ "$ref": "668"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "685",
+ "json": {
+ "$id": "686",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "687",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "688",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "689",
+ "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": "690",
+ "json": {
+ "$id": "691",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "clients": [
+ {
+ "$id": "692",
+ "kind": "client",
+ "name": "DeviceRegistryClient",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "doc": "Microsoft.DeviceRegistry Resource Provider management API.",
+ "operations": [],
+ "parameters": [
+ {
+ "$id": "693",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "694",
+ "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": "695",
+ "type": {
+ "$id": "696",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "697",
+ "name": "TypeSpec.@service",
+ "arguments": {
+ "$id": "698",
+ "options": {
+ "$id": "699",
+ "title": "Microsoft.DeviceRegistry management service"
+ }
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry",
+ "apiVersions": [
+ "2023-11-01-preview",
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "children": [
+ {
+ "$id": "700",
+ "kind": "client",
+ "name": "Operations",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "701",
+ "name": "list",
+ "resourceName": "Operations",
+ "doc": "List the operations for the provider",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "702",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "703",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "704",
+ "type": {
+ "$id": "705",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "706",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "707",
+ "kind": "constant",
+ "valueType": {
+ "$id": "708",
+ "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": "709",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "80"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/providers/Microsoft.DeviceRegistry/operations",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "710",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "711",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "712",
+ "kind": "http",
+ "name": "List_Operations",
+ "description": "List_Operations",
+ "filePath": "2024-11-01/List_Operations.json",
+ "parameters": [
+ {
+ "$id": "713",
+ "parameter": {
+ "$ref": "702"
+ },
+ "value": {
+ "$id": "714",
+ "kind": "string",
+ "type": {
+ "$ref": "703"
+ },
+ "value": "2024-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "715",
+ "response": {
+ "$ref": "709"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "716",
+ "kind": "model",
+ "type": {
+ "$ref": "80"
+ },
+ "value": {
+ "$id": "717",
+ "value": {
+ "$id": "718",
+ "kind": "array",
+ "type": {
+ "$ref": "82"
+ },
+ "value": [
+ {
+ "$id": "719",
+ "kind": "model",
+ "type": {
+ "$ref": "83"
+ },
+ "value": {
+ "$id": "720",
+ "name": {
+ "$id": "721",
+ "kind": "string",
+ "type": {
+ "$ref": "85"
+ },
+ "value": "Microsoft.DeviceRegistry/assets/write"
+ },
+ "display": {
+ "$id": "722",
+ "kind": "model",
+ "type": {
+ "$ref": "93"
+ },
+ "value": {
+ "$id": "723",
+ "provider": {
+ "$id": "724",
+ "kind": "string",
+ "type": {
+ "$ref": "95"
+ },
+ "value": "Microsoft Azure Device Registry"
+ },
+ "resource": {
+ "$id": "725",
+ "kind": "string",
+ "type": {
+ "$ref": "99"
+ },
+ "value": "Asset"
+ },
+ "operation": {
+ "$id": "726",
+ "kind": "string",
+ "type": {
+ "$ref": "103"
+ },
+ "value": "write"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "727",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "728",
+ "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": "729",
+ "type": {
+ "$id": "730",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Operations",
+ "apiVersions": [
+ "2023-11-01-preview",
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "parent": {
+ "$ref": "692"
+ }
+ },
+ {
+ "$id": "731",
+ "kind": "client",
+ "name": "OperationStatus",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "operations": [],
+ "parameters": [
+ {
+ "$id": "732",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "733",
+ "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": "734",
+ "type": {
+ "$id": "735",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "736",
+ "name": "Azure.ResourceManager.@armResourceOperations",
+ "arguments": {
+ "$id": "737"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.OperationStatus",
+ "apiVersions": [
+ "2023-11-01-preview",
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "parent": {
+ "$ref": "692"
+ }
+ },
+ {
+ "$id": "738",
+ "kind": "client",
+ "name": "Assets",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "739",
+ "name": "get",
+ "resourceName": "Asset",
+ "doc": "Get a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "740",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "741",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "742",
+ "type": {
+ "$id": "743",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "744",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "745",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "746",
+ "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": "747",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "748",
+ "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": "749",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "750",
+ "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": "751",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "752",
+ "kind": "constant",
+ "valueType": {
+ "$id": "753",
+ "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": "754",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "159"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.get",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "755",
+ "kind": "http",
+ "name": "Get_Asset",
+ "description": "Get_Asset",
+ "filePath": "2024-11-01/Get_Asset.json",
+ "parameters": [
+ {
+ "$id": "756",
+ "parameter": {
+ "$ref": "740"
+ },
+ "value": {
+ "$id": "757",
+ "kind": "string",
+ "type": {
+ "$ref": "741"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "758",
+ "parameter": {
+ "$ref": "744"
+ },
+ "value": {
+ "$id": "759",
+ "kind": "string",
+ "type": {
+ "$ref": "745"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "760",
+ "parameter": {
+ "$ref": "747"
+ },
+ "value": {
+ "$id": "761",
+ "kind": "string",
+ "type": {
+ "$ref": "748"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "762",
+ "parameter": {
+ "$ref": "749"
+ },
+ "value": {
+ "$id": "763",
+ "kind": "string",
+ "type": {
+ "$ref": "750"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "764",
+ "response": {
+ "$ref": "754"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "765",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "766",
+ "id": {
+ "$id": "767",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "768",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "769",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "770",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "771",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "772",
+ "type": {
+ "$id": "773",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "774",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "775",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "776",
+ "site": {
+ "$id": "777",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "778",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "779",
+ "createdBy": {
+ "$id": "780",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "781",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "782",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "783",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "784",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "785",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "786",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "787",
+ "uuid": {
+ "$id": "788",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "789",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "790",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "791",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "792",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "793",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "794",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "795",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "796",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "797",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "798",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "799",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "800",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "801",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "802",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "803",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "804",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "805",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "806",
+ "path": {
+ "$id": "807",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "808",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "809",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "810",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "811",
+ "name": {
+ "$id": "812",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "813",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "814",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "815",
+ "path": {
+ "$id": "816",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "817",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "818",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "819",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "820",
+ "name": {
+ "$id": "821",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "822",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "823",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "824",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "825",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "826",
+ "name": {
+ "$id": "827",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "828",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "829",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "830",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "831",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "832",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "833",
+ "name": {
+ "$id": "834",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "835",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "836",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "837",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "838",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "839",
+ "path": {
+ "$id": "840",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "841",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "842",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "843",
+ "name": {
+ "$id": "844",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "845",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "846",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "847",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "848",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "849",
+ "kind": "http",
+ "name": "Get_Asset_With_SyncStatus",
+ "description": "Get_Asset_With_SyncStatus",
+ "filePath": "2024-11-01/Get_Asset_With_SyncStatus.json",
+ "parameters": [
+ {
+ "$id": "850",
+ "parameter": {
+ "$ref": "740"
+ },
+ "value": {
+ "$id": "851",
+ "kind": "string",
+ "type": {
+ "$ref": "741"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "852",
+ "parameter": {
+ "$ref": "744"
+ },
+ "value": {
+ "$id": "853",
+ "kind": "string",
+ "type": {
+ "$ref": "745"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "854",
+ "parameter": {
+ "$ref": "747"
+ },
+ "value": {
+ "$id": "855",
+ "kind": "string",
+ "type": {
+ "$ref": "748"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "856",
+ "parameter": {
+ "$ref": "749"
+ },
+ "value": {
+ "$id": "857",
+ "kind": "string",
+ "type": {
+ "$ref": "750"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "858",
+ "response": {
+ "$ref": "754"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "859",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "860",
+ "id": {
+ "$id": "861",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "862",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "863",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "864",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "865",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "866",
+ "type": {
+ "$id": "867",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "868",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "869",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "870",
+ "site": {
+ "$id": "871",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "872",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "873",
+ "createdBy": {
+ "$id": "874",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "875",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "876",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "877",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "878",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "879",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "880",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "881",
+ "uuid": {
+ "$id": "882",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "883",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "884",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "885",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "887",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "888",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "889",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "890",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "891",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "892",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "893",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "894",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "895",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "896",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "897",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "898",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "899",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "900",
+ "path": {
+ "$id": "901",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "902",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "903",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "904",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "905",
+ "name": {
+ "$id": "906",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "907",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "908",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "909",
+ "path": {
+ "$id": "910",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "911",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "912",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "913",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "914",
+ "name": {
+ "$id": "915",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "916",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "917",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "918",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "919",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "920",
+ "name": {
+ "$id": "921",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "922",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "923",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "924",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "925",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "926",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "927",
+ "name": {
+ "$id": "928",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "929",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "930",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "931",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "932",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "933",
+ "path": {
+ "$id": "934",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "935",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "936",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "937",
+ "name": {
+ "$id": "938",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "939",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "940",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "941",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "status": {
+ "$id": "942",
+ "kind": "model",
+ "type": {
+ "$ref": "368"
+ },
+ "value": {
+ "$id": "943",
+ "errors": {
+ "$id": "944",
+ "kind": "array",
+ "type": {
+ "$ref": "370"
+ },
+ "value": [
+ {
+ "$id": "945",
+ "kind": "model",
+ "type": {
+ "$ref": "371"
+ },
+ "value": {
+ "$id": "946",
+ "code": {
+ "$id": "947",
+ "kind": "number",
+ "type": {
+ "$ref": "373"
+ },
+ "value": 500
+ },
+ "message": {
+ "$id": "948",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "Internal Server Error"
+ }
+ }
+ }
+ ]
+ },
+ "version": {
+ "$id": "949",
+ "kind": "number",
+ "type": {
+ "$ref": "383"
+ },
+ "value": 1
+ },
+ "datasets": {
+ "$id": "950",
+ "kind": "array",
+ "type": {
+ "$ref": "387"
+ },
+ "value": [
+ {
+ "$id": "951",
+ "kind": "model",
+ "type": {
+ "$ref": "388"
+ },
+ "value": {
+ "$id": "952",
+ "name": {
+ "$id": "953",
+ "kind": "string",
+ "type": {
+ "$ref": "390"
+ },
+ "value": "dataset1"
+ },
+ "messageSchemaReference": {
+ "$id": "954",
+ "kind": "model",
+ "type": {
+ "$ref": "394"
+ },
+ "value": {
+ "$id": "955",
+ "schemaRegistryNamespace": {
+ "$id": "956",
+ "kind": "string",
+ "type": {
+ "$ref": "396"
+ },
+ "value": "schemans"
+ },
+ "schemaName": {
+ "$id": "957",
+ "kind": "string",
+ "type": {
+ "$ref": "400"
+ },
+ "value": "schema1"
+ },
+ "schemaVersion": {
+ "$id": "958",
+ "kind": "string",
+ "type": {
+ "$ref": "404"
+ },
+ "value": "1.0.0"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "959",
+ "kind": "array",
+ "type": {
+ "$ref": "412"
+ },
+ "value": [
+ {
+ "$id": "960",
+ "kind": "model",
+ "type": {
+ "$ref": "413"
+ },
+ "value": {
+ "$id": "961",
+ "name": {
+ "$id": "962",
+ "kind": "string",
+ "type": {
+ "$ref": "415"
+ },
+ "value": "event1"
+ },
+ "messageSchemaReference": {
+ "$id": "963",
+ "kind": "model",
+ "type": {
+ "$ref": "394"
+ },
+ "value": {
+ "$id": "964",
+ "schemaRegistryNamespace": {
+ "$id": "965",
+ "kind": "string",
+ "type": {
+ "$ref": "396"
+ },
+ "value": "schemans"
+ },
+ "schemaName": {
+ "$id": "966",
+ "kind": "string",
+ "type": {
+ "$ref": "400"
+ },
+ "value": "schema2"
+ },
+ "schemaVersion": {
+ "$id": "967",
+ "kind": "string",
+ "type": {
+ "$ref": "404"
+ },
+ "value": "1.0.0"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "968",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "969",
+ "name": "createOrReplace",
+ "resourceName": "Asset",
+ "doc": "Create a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "970",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "971",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "972",
+ "type": {
+ "$id": "973",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "974",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "975",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "976",
+ "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": "977",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "978",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "979",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "980",
+ "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": "981",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "982",
+ "kind": "constant",
+ "valueType": {
+ "$id": "983",
+ "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": "984",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "985",
+ "kind": "constant",
+ "valueType": {
+ "$id": "986",
+ "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": "987",
+ "name": "resource",
+ "nameInRequest": "resource",
+ "doc": "Resource create parameters.",
+ "type": {
+ "$ref": "159"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "988",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "159"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "989",
+ "statusCodes": [
+ 201
+ ],
+ "bodyType": {
+ "$ref": "159"
+ },
+ "headers": [
+ {
+ "$id": "990",
+ "name": "azureAsyncOperation",
+ "nameInResponse": "Azure-AsyncOperation",
+ "doc": "A link to the status monitor",
+ "type": {
+ "$id": "991",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "992",
+ "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": "993",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "PUT",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "994",
+ "finalStateVia": 0,
+ "finalResponse": {
+ "$id": "995",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "159"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "996",
+ "kind": "http",
+ "name": "Create_Asset_With_DiscoveredAssetRefs",
+ "description": "Create_Asset_With_DiscoveredAssetRefs",
+ "filePath": "2024-11-01/Create_Asset_With_DiscoveredAssetRef.json",
+ "parameters": [
+ {
+ "$id": "997",
+ "parameter": {
+ "$ref": "970"
+ },
+ "value": {
+ "$id": "998",
+ "kind": "string",
+ "type": {
+ "$ref": "971"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "999",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1000",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1001",
+ "parameter": {
+ "$ref": "977"
+ },
+ "value": {
+ "$id": "1002",
+ "kind": "string",
+ "type": {
+ "$ref": "978"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1003",
+ "parameter": {
+ "$ref": "979"
+ },
+ "value": {
+ "$id": "1004",
+ "kind": "string",
+ "type": {
+ "$ref": "980"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1005",
+ "parameter": {
+ "$ref": "987"
+ },
+ "value": {
+ "$id": "1006",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1007",
+ "location": {
+ "$id": "1008",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1009",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1010",
+ "type": {
+ "$id": "1011",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1012",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1013",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1014",
+ "site": {
+ "$id": "1015",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1016",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1017",
+ "enabled": {
+ "$id": "1018",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1019",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1020",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1021",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1022",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1023",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1024",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1026",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1027",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1028",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1029",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1030",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1031",
+ "kind": "array",
+ "type": {
+ "$ref": "283"
+ },
+ "value": [
+ {
+ "$id": "1032",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1033",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1034",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1035",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1036",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1037",
+ "path": {
+ "$id": "1038",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1039",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1040",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1041",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1042",
+ "name": {
+ "$id": "1043",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1044",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1045",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1046",
+ "path": {
+ "$id": "1047",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1048",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1049",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1050",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1051",
+ "name": {
+ "$id": "1052",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1053",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1054",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1055",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1056",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1057",
+ "name": {
+ "$id": "1058",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1059",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1060",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1061",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1062",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1063",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1064",
+ "name": {
+ "$id": "1065",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1066",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1067",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1068",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1069",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1070",
+ "path": {
+ "$id": "1071",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1072",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1073",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1074",
+ "name": {
+ "$id": "1075",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1076",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1077",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1078",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1079",
+ "response": {
+ "$ref": "988"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1080",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1081",
+ "id": {
+ "$id": "1082",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1083",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1084",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1085",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1086",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1087",
+ "type": {
+ "$id": "1088",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1089",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1090",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1091",
+ "site": {
+ "$id": "1092",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1093",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1094",
+ "createdBy": {
+ "$id": "1095",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1096",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1097",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1098",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1099",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1100",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1101",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1102",
+ "uuid": {
+ "$id": "1103",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1104",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1105",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1106",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1107",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1108",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1109",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1110",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1111",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1112",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1113",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1114",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1115",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1116",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1117",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1118",
+ "kind": "array",
+ "type": {
+ "$ref": "283"
+ },
+ "value": [
+ {
+ "$id": "1119",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1120",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1121",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1122",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1123",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1124",
+ "path": {
+ "$id": "1125",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1126",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1127",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1128",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1129",
+ "name": {
+ "$id": "1130",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1131",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1132",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1133",
+ "path": {
+ "$id": "1134",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1135",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1136",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1137",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1138",
+ "name": {
+ "$id": "1139",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1140",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1141",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1142",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1143",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1144",
+ "name": {
+ "$id": "1145",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1146",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1147",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1148",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1149",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1150",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1151",
+ "name": {
+ "$id": "1152",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1153",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1154",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1155",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1156",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1157",
+ "path": {
+ "$id": "1158",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1159",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1160",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1161",
+ "name": {
+ "$id": "1162",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1163",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1164",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1165",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1166",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1167",
+ "response": {
+ "$ref": "989"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1168",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1169",
+ "id": {
+ "$id": "1170",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1171",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1172",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1173",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1174",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1175",
+ "type": {
+ "$id": "1176",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1177",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1178",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1179",
+ "site": {
+ "$id": "1180",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1181",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1182",
+ "createdBy": {
+ "$id": "1183",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1184",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1185",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1186",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1187",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1188",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1189",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1190",
+ "uuid": {
+ "$id": "1191",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1192",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1193",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1194",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1195",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1196",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1197",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1198",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1199",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1200",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1201",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1202",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1203",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1204",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1205",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1206",
+ "kind": "array",
+ "type": {
+ "$ref": "283"
+ },
+ "value": [
+ {
+ "$id": "1207",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1208",
+ "kind": "string",
+ "type": {
+ "$ref": "284"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1209",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1210",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1211",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1212",
+ "path": {
+ "$id": "1213",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1214",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1215",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1216",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1217",
+ "name": {
+ "$id": "1218",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1219",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1220",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1221",
+ "path": {
+ "$id": "1222",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1223",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1224",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1225",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1226",
+ "name": {
+ "$id": "1227",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1228",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1229",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1230",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1231",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1232",
+ "name": {
+ "$id": "1233",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1234",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1235",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1236",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1237",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1238",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1239",
+ "name": {
+ "$id": "1240",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1241",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1242",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1243",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1244",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1245",
+ "path": {
+ "$id": "1246",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1247",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1248",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1249",
+ "name": {
+ "$id": "1250",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1251",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1252",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1253",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1254",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1255",
+ "kind": "http",
+ "name": "Create_Asset_With_ExternalAssetId",
+ "description": "Create_Asset_With_ExternalAssetId",
+ "filePath": "2024-11-01/Create_Asset_With_ExternalAssetId.json",
+ "parameters": [
+ {
+ "$id": "1256",
+ "parameter": {
+ "$ref": "970"
+ },
+ "value": {
+ "$id": "1257",
+ "kind": "string",
+ "type": {
+ "$ref": "971"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1258",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1259",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1260",
+ "parameter": {
+ "$ref": "977"
+ },
+ "value": {
+ "$id": "1261",
+ "kind": "string",
+ "type": {
+ "$ref": "978"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1262",
+ "parameter": {
+ "$ref": "979"
+ },
+ "value": {
+ "$id": "1263",
+ "kind": "string",
+ "type": {
+ "$ref": "980"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1264",
+ "parameter": {
+ "$ref": "987"
+ },
+ "value": {
+ "$id": "1265",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1266",
+ "location": {
+ "$id": "1267",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1268",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1269",
+ "type": {
+ "$id": "1270",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1271",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1272",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1273",
+ "site": {
+ "$id": "1274",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1275",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1276",
+ "enabled": {
+ "$id": "1277",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1278",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1279",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1280",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1281",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1282",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1283",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1284",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1285",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1286",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1287",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1288",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1289",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1290",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1291",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1292",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1293",
+ "path": {
+ "$id": "1294",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1295",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1296",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1297",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1298",
+ "name": {
+ "$id": "1299",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1300",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1301",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1302",
+ "path": {
+ "$id": "1303",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1304",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1305",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1306",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1307",
+ "name": {
+ "$id": "1308",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1309",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1310",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1311",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1312",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1313",
+ "name": {
+ "$id": "1314",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1315",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1316",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1317",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1318",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1319",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1320",
+ "name": {
+ "$id": "1321",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1322",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1323",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1324",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1325",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1326",
+ "path": {
+ "$id": "1327",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1328",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1329",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1330",
+ "name": {
+ "$id": "1331",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1332",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1333",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1334",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1335",
+ "response": {
+ "$ref": "988"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1336",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1337",
+ "id": {
+ "$id": "1338",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1339",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1340",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1341",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1342",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1343",
+ "type": {
+ "$id": "1344",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1345",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1346",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1347",
+ "site": {
+ "$id": "1348",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1349",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1350",
+ "createdBy": {
+ "$id": "1351",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1352",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1353",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1354",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1355",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1356",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1357",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1358",
+ "uuid": {
+ "$id": "1359",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1360",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1361",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1362",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1363",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1364",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1365",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1366",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1367",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1368",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1369",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1370",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1371",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1372",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1373",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1374",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1375",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1376",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1377",
+ "path": {
+ "$id": "1378",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1379",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1380",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1381",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1382",
+ "name": {
+ "$id": "1383",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1384",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1385",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1386",
+ "path": {
+ "$id": "1387",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1388",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1389",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1390",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1391",
+ "name": {
+ "$id": "1392",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1393",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1394",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1395",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1396",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1397",
+ "name": {
+ "$id": "1398",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1399",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1400",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1401",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1402",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1403",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1404",
+ "name": {
+ "$id": "1405",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1406",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1407",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1408",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1409",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1410",
+ "path": {
+ "$id": "1411",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1412",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1413",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1414",
+ "name": {
+ "$id": "1415",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1416",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1417",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1418",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1419",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1420",
+ "response": {
+ "$ref": "989"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1421",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1422",
+ "id": {
+ "$id": "1423",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1424",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1425",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1426",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1427",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1428",
+ "type": {
+ "$id": "1429",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1430",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1431",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1432",
+ "site": {
+ "$id": "1433",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1434",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1435",
+ "createdBy": {
+ "$id": "1436",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1437",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1438",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1439",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1440",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1441",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1442",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1443",
+ "uuid": {
+ "$id": "1444",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1445",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1446",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1447",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1448",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1449",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1450",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1451",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1452",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1453",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1454",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1455",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1456",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1457",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1458",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1459",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1460",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1461",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1462",
+ "path": {
+ "$id": "1463",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1464",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1465",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1466",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1467",
+ "name": {
+ "$id": "1468",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1469",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1470",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1471",
+ "path": {
+ "$id": "1472",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1473",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1474",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1475",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1476",
+ "name": {
+ "$id": "1477",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1478",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1479",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1480",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1481",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1482",
+ "name": {
+ "$id": "1483",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1484",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1485",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1486",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1487",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1488",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1489",
+ "name": {
+ "$id": "1490",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1491",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1492",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1493",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1494",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1495",
+ "path": {
+ "$id": "1496",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1497",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1498",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1499",
+ "name": {
+ "$id": "1500",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1501",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1502",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1503",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1504",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1505",
+ "kind": "http",
+ "name": "Create_Asset_Without_DisplayName",
+ "description": "Create_Asset_Without_DisplayName",
+ "filePath": "2024-11-01/Create_Asset_Without_DisplayName.json",
+ "parameters": [
+ {
+ "$id": "1506",
+ "parameter": {
+ "$ref": "970"
+ },
+ "value": {
+ "$id": "1507",
+ "kind": "string",
+ "type": {
+ "$ref": "971"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1508",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1509",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1510",
+ "parameter": {
+ "$ref": "977"
+ },
+ "value": {
+ "$id": "1511",
+ "kind": "string",
+ "type": {
+ "$ref": "978"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1512",
+ "parameter": {
+ "$ref": "979"
+ },
+ "value": {
+ "$id": "1513",
+ "kind": "string",
+ "type": {
+ "$ref": "980"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1514",
+ "parameter": {
+ "$ref": "987"
+ },
+ "value": {
+ "$id": "1515",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1516",
+ "location": {
+ "$id": "1517",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1518",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1519",
+ "type": {
+ "$id": "1520",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1521",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1522",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1523",
+ "site": {
+ "$id": "1524",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1525",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1526",
+ "enabled": {
+ "$id": "1527",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1528",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "description": {
+ "$id": "1529",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1530",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1531",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1532",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1533",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1534",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1535",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1536",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1537",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1538",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1539",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1540",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1541",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1542",
+ "path": {
+ "$id": "1543",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1544",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1545",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1546",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1547",
+ "name": {
+ "$id": "1548",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1549",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1550",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1551",
+ "path": {
+ "$id": "1552",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1553",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1554",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1555",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1556",
+ "name": {
+ "$id": "1557",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1558",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1559",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1560",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1561",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1562",
+ "name": {
+ "$id": "1563",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1564",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1565",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1566",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1567",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1568",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1569",
+ "name": {
+ "$id": "1570",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1571",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1572",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1573",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1574",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1575",
+ "path": {
+ "$id": "1576",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1577",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1578",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1579",
+ "name": {
+ "$id": "1580",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1581",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1582",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1583",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1584",
+ "response": {
+ "$ref": "988"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1585",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1586",
+ "id": {
+ "$id": "1587",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1588",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1589",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1590",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1591",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1592",
+ "type": {
+ "$id": "1593",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1594",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1595",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1596",
+ "site": {
+ "$id": "1597",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1598",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1599",
+ "createdBy": {
+ "$id": "1600",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1601",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1602",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1603",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1604",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1605",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1606",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1607",
+ "uuid": {
+ "$id": "1608",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1609",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1610",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1611",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "my-asset"
+ },
+ "description": {
+ "$id": "1612",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1613",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1614",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1615",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1616",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1617",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1618",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1619",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1620",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1621",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1622",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1623",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1624",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1625",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1626",
+ "path": {
+ "$id": "1627",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1628",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1629",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1630",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1631",
+ "name": {
+ "$id": "1632",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1633",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1634",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1635",
+ "path": {
+ "$id": "1636",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1637",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1638",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1639",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1640",
+ "name": {
+ "$id": "1641",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1642",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1643",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1644",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1645",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1646",
+ "name": {
+ "$id": "1647",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1648",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1649",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1650",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1651",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1652",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1653",
+ "name": {
+ "$id": "1654",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1655",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1656",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1657",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1658",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1659",
+ "path": {
+ "$id": "1660",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1661",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1662",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1663",
+ "name": {
+ "$id": "1664",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1665",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1666",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1667",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1668",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1669",
+ "response": {
+ "$ref": "989"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1670",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1671",
+ "id": {
+ "$id": "1672",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1673",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1674",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1675",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1676",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1677",
+ "type": {
+ "$id": "1678",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1679",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1680",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1681",
+ "site": {
+ "$id": "1682",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1683",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1684",
+ "createdBy": {
+ "$id": "1685",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1686",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1687",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1688",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1689",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1690",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1691",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1692",
+ "uuid": {
+ "$id": "1693",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1694",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1695",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1696",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "my-asset"
+ },
+ "description": {
+ "$id": "1697",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1698",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1699",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1700",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1701",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1702",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1703",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1704",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1705",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1706",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1707",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1708",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1709",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1710",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1711",
+ "path": {
+ "$id": "1712",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1713",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1714",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1715",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1716",
+ "name": {
+ "$id": "1717",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1718",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1719",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1720",
+ "path": {
+ "$id": "1721",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1722",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1723",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1724",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1725",
+ "name": {
+ "$id": "1726",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1727",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1728",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1729",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1730",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1731",
+ "name": {
+ "$id": "1732",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1733",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1734",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1735",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1736",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1737",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1738",
+ "name": {
+ "$id": "1739",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1740",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1741",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1742",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1743",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1744",
+ "path": {
+ "$id": "1745",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1746",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1747",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1748",
+ "name": {
+ "$id": "1749",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1750",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1751",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1752",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1753",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1754",
+ "kind": "http",
+ "name": "Create_Asset_Without_ExternalAssetId",
+ "description": "Create_Asset_Without_ExternalAssetId",
+ "filePath": "2024-11-01/Create_Asset_Without_ExternalAssetId.json",
+ "parameters": [
+ {
+ "$id": "1755",
+ "parameter": {
+ "$ref": "970"
+ },
+ "value": {
+ "$id": "1756",
+ "kind": "string",
+ "type": {
+ "$ref": "971"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1757",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1758",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1759",
+ "parameter": {
+ "$ref": "977"
+ },
+ "value": {
+ "$id": "1760",
+ "kind": "string",
+ "type": {
+ "$ref": "978"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1761",
+ "parameter": {
+ "$ref": "979"
+ },
+ "value": {
+ "$id": "1762",
+ "kind": "string",
+ "type": {
+ "$ref": "980"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1763",
+ "parameter": {
+ "$ref": "987"
+ },
+ "value": {
+ "$id": "1764",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1765",
+ "location": {
+ "$id": "1766",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1767",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1768",
+ "type": {
+ "$id": "1769",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1770",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1771",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1772",
+ "site": {
+ "$id": "1773",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1774",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1775",
+ "enabled": {
+ "$id": "1776",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "displayName": {
+ "$id": "1777",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1778",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1779",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1780",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1781",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1782",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1783",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1784",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1785",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1786",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1787",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1788",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1789",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1790",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1791",
+ "path": {
+ "$id": "1792",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1793",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1794",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1795",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1796",
+ "name": {
+ "$id": "1797",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1798",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1799",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1800",
+ "path": {
+ "$id": "1801",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1802",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1803",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1804",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1805",
+ "name": {
+ "$id": "1806",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1807",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1808",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1809",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1810",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1811",
+ "name": {
+ "$id": "1812",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1813",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1814",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1815",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1816",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1817",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1818",
+ "name": {
+ "$id": "1819",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1820",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1821",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1822",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1823",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1824",
+ "path": {
+ "$id": "1825",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1826",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1827",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1828",
+ "name": {
+ "$id": "1829",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1830",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1831",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1832",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1833",
+ "response": {
+ "$ref": "988"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1834",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1835",
+ "id": {
+ "$id": "1836",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1837",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1838",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1839",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1840",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1841",
+ "type": {
+ "$id": "1842",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1843",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1844",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1845",
+ "site": {
+ "$id": "1846",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1847",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1848",
+ "createdBy": {
+ "$id": "1849",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1850",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1851",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1852",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1853",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1854",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1855",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1856",
+ "uuid": {
+ "$id": "1857",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1858",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1859",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "displayName": {
+ "$id": "1860",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1861",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1862",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1863",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1864",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1865",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1866",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1867",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1868",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1869",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1870",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1871",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1872",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1873",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1874",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1875",
+ "path": {
+ "$id": "1876",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1877",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1878",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1879",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1880",
+ "name": {
+ "$id": "1881",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1882",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1883",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1884",
+ "path": {
+ "$id": "1885",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1886",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1887",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1888",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1889",
+ "name": {
+ "$id": "1890",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1891",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1892",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1893",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1894",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1895",
+ "name": {
+ "$id": "1896",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1897",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1898",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1899",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1900",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1901",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1902",
+ "name": {
+ "$id": "1903",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1904",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1905",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1906",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1907",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1908",
+ "path": {
+ "$id": "1909",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1910",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1911",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1912",
+ "name": {
+ "$id": "1913",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1914",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1915",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1916",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1917",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1918",
+ "response": {
+ "$ref": "989"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1919",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "1920",
+ "id": {
+ "$id": "1921",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1922",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1923",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1924",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1925",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "1926",
+ "type": {
+ "$id": "1927",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1928",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1929",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1930",
+ "site": {
+ "$id": "1931",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1932",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "1933",
+ "createdBy": {
+ "$id": "1934",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1935",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1936",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1937",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1938",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1939",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1940",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "1941",
+ "uuid": {
+ "$id": "1942",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1943",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1944",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "displayName": {
+ "$id": "1945",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1946",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1947",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1948",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1949",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1950",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1951",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1952",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1953",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1954",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1955",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1956",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1957",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1958",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1959",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1960",
+ "path": {
+ "$id": "1961",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1962",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1963",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "1964",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "1965",
+ "name": {
+ "$id": "1966",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1967",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1968",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1969",
+ "path": {
+ "$id": "1970",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1971",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1972",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "1973",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1974",
+ "name": {
+ "$id": "1975",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1976",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1977",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1978",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1979",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "1980",
+ "name": {
+ "$id": "1981",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1982",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1983",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1984",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1985",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "1986",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1987",
+ "name": {
+ "$id": "1988",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1989",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1990",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1991",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1992",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "1993",
+ "path": {
+ "$id": "1994",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1995",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1996",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1997",
+ "name": {
+ "$id": "1998",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1999",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2000",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2001",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2002",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2003",
+ "name": "update",
+ "resourceName": "Asset",
+ "doc": "Update a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2004",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2005",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2006",
+ "type": {
+ "$id": "2007",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2008",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2009",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2010",
+ "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": "2011",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2012",
+ "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": "2013",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "2014",
+ "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": "2015",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2016",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2017",
+ "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": "2018",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2019",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2020",
+ "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": "2021",
+ "name": "properties",
+ "nameInRequest": "properties",
+ "doc": "The resource properties to be updated.",
+ "type": {
+ "$ref": "467"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2022",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "159"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2023",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2024",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2025",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2026",
+ "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": "2027",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "PATCH",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2028",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2029",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "159"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": false,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2030",
+ "kind": "http",
+ "name": "Update_Asset",
+ "description": "Update_Asset",
+ "filePath": "2024-11-01/Update_Asset.json",
+ "parameters": [
+ {
+ "$id": "2031",
+ "parameter": {
+ "$ref": "2004"
+ },
+ "value": {
+ "$id": "2032",
+ "kind": "string",
+ "type": {
+ "$ref": "2005"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2033",
+ "parameter": {
+ "$ref": "2008"
+ },
+ "value": {
+ "$id": "2034",
+ "kind": "string",
+ "type": {
+ "$ref": "2009"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2035",
+ "parameter": {
+ "$ref": "2011"
+ },
+ "value": {
+ "$id": "2036",
+ "kind": "string",
+ "type": {
+ "$ref": "2012"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2037",
+ "parameter": {
+ "$ref": "2013"
+ },
+ "value": {
+ "$id": "2038",
+ "kind": "string",
+ "type": {
+ "$ref": "2014"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "2039",
+ "parameter": {
+ "$ref": "2021"
+ },
+ "value": {
+ "$id": "2040",
+ "kind": "model",
+ "type": {
+ "$ref": "467"
+ },
+ "value": {
+ "$id": "2041",
+ "properties": {
+ "$id": "2042",
+ "kind": "model",
+ "type": {
+ "$ref": "475"
+ },
+ "value": {
+ "$id": "2043",
+ "enabled": {
+ "$id": "2044",
+ "kind": "boolean",
+ "type": {
+ "$ref": "477"
+ },
+ "value": false
+ },
+ "displayName": {
+ "$id": "2045",
+ "kind": "string",
+ "type": {
+ "$ref": "481"
+ },
+ "value": "NewAssetDisplayName"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2046",
+ "response": {
+ "$ref": "2022"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2047",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "2048",
+ "id": {
+ "$id": "2049",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2050",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2051",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2052",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2053",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2054",
+ "type": {
+ "$id": "2055",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2056",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2057",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2058",
+ "site": {
+ "$id": "2059",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2060",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2061",
+ "createdBy": {
+ "$id": "2062",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2063",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2064",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2065",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2066",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2067",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2068",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "2069",
+ "uuid": {
+ "$id": "2070",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2071",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2072",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2073",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "NewAssetDisplayName"
+ },
+ "description": {
+ "$id": "2074",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2075",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2076",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2077",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2078",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2079",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2080",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2081",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2082",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2083",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2084",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2085",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2086",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2087",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2088",
+ "path": {
+ "$id": "2089",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2090",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2091",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "2092",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "2093",
+ "name": {
+ "$id": "2094",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2095",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2096",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2097",
+ "path": {
+ "$id": "2098",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2099",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2100",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "2101",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2102",
+ "name": {
+ "$id": "2103",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2104",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2105",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2106",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2107",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2108",
+ "name": {
+ "$id": "2109",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2110",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2111",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2112",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2113",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "2114",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2115",
+ "name": {
+ "$id": "2116",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2117",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2118",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2119",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2120",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2121",
+ "path": {
+ "$id": "2122",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2123",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2124",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2125",
+ "name": {
+ "$id": "2126",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2127",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2128",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2129",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2130",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2131",
+ "response": {
+ "$ref": "2023"
+ },
+ "statusCode": 202
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2132",
+ "name": "delete",
+ "resourceName": "Asset",
+ "doc": "Delete a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2133",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2134",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2135",
+ "type": {
+ "$id": "2136",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2137",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2138",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2139",
+ "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": "2140",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2141",
+ "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": "2142",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "2143",
+ "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": "2144",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2145",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2146",
+ "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": "2147",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2148",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2149",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2150",
+ "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": "2151",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ },
+ {
+ "$id": "2152",
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}",
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2153",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2154",
+ "statusCodes": [
+ 204
+ ]
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2155",
+ "kind": "http",
+ "name": "Delete_Asset",
+ "description": "Delete_Asset",
+ "filePath": "2024-11-01/Delete_Asset.json",
+ "parameters": [
+ {
+ "$id": "2156",
+ "parameter": {
+ "$ref": "2133"
+ },
+ "value": {
+ "$id": "2157",
+ "kind": "string",
+ "type": {
+ "$ref": "2134"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2158",
+ "parameter": {
+ "$ref": "2137"
+ },
+ "value": {
+ "$id": "2159",
+ "kind": "string",
+ "type": {
+ "$ref": "2138"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2160",
+ "parameter": {
+ "$ref": "2140"
+ },
+ "value": {
+ "$id": "2161",
+ "kind": "string",
+ "type": {
+ "$ref": "2141"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2162",
+ "parameter": {
+ "$ref": "2142"
+ },
+ "value": {
+ "$id": "2163",
+ "kind": "string",
+ "type": {
+ "$ref": "2143"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2164",
+ "response": {
+ "$ref": "2147"
+ },
+ "statusCode": 202
+ },
+ {
+ "$id": "2165",
+ "response": {
+ "$ref": "2152"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2166",
+ "name": "listByResourceGroup",
+ "resourceName": "Asset",
+ "doc": "List Asset resources by resource group",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2167",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2168",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2169",
+ "type": {
+ "$id": "2170",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2171",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2172",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2173",
+ "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": "2174",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2175",
+ "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": "2176",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2177",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2178",
+ "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": "2179",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "547"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "2180",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "2181",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2182",
+ "kind": "http",
+ "name": "List_Assets_ResourceGroup",
+ "description": "List_Assets_ResourceGroup",
+ "filePath": "2024-11-01/List_Assets_ResourceGroup.json",
+ "parameters": [
+ {
+ "$id": "2183",
+ "parameter": {
+ "$ref": "2167"
+ },
+ "value": {
+ "$id": "2184",
+ "kind": "string",
+ "type": {
+ "$ref": "2168"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2185",
+ "parameter": {
+ "$ref": "2171"
+ },
+ "value": {
+ "$id": "2186",
+ "kind": "string",
+ "type": {
+ "$ref": "2172"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2187",
+ "parameter": {
+ "$ref": "2174"
+ },
+ "value": {
+ "$id": "2188",
+ "kind": "string",
+ "type": {
+ "$ref": "2175"
+ },
+ "value": "myResourceGroup"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2189",
+ "response": {
+ "$ref": "2179"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2190",
+ "kind": "model",
+ "type": {
+ "$ref": "547"
+ },
+ "value": {
+ "$id": "2191",
+ "value": {
+ "$id": "2192",
+ "kind": "array",
+ "type": {
+ "$ref": "549"
+ },
+ "value": [
+ {
+ "$id": "2193",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "2194",
+ "id": {
+ "$id": "2195",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2196",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2197",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2198",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2199",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2200",
+ "type": {
+ "$id": "2201",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2202",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2203",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2204",
+ "site": {
+ "$id": "2205",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2206",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2207",
+ "createdBy": {
+ "$id": "2208",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2209",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2210",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2211",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2212",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2213",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2214",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "2215",
+ "uuid": {
+ "$id": "2216",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2217",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2218",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2219",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "2220",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2221",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2222",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2223",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2224",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2225",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2226",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2227",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2228",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2229",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2230",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2231",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2232",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2233",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2234",
+ "path": {
+ "$id": "2235",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2236",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2237",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "2238",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "2239",
+ "name": {
+ "$id": "2240",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2241",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2242",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2243",
+ "path": {
+ "$id": "2244",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2245",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2246",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "2247",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2248",
+ "name": {
+ "$id": "2249",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2250",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2251",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2252",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2253",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2254",
+ "name": {
+ "$id": "2255",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2256",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2257",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2258",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2259",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "2260",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2261",
+ "name": {
+ "$id": "2262",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2263",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2264",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2265",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2266",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2267",
+ "path": {
+ "$id": "2268",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2269",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2270",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2271",
+ "name": {
+ "$id": "2272",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2273",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2274",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2275",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2276",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2277",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "2278",
+ "id": {
+ "$id": "2279",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1"
+ },
+ "name": {
+ "$id": "2280",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset1"
+ },
+ "type": {
+ "$id": "2281",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2282",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2283",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2284",
+ "type": {
+ "$id": "2285",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2286",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2287",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2288",
+ "site": {
+ "$id": "2289",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2290",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2291",
+ "createdBy": {
+ "$id": "2292",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2293",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2294",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2295",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2296",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2297",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2298",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "2299",
+ "uuid": {
+ "$id": "2300",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "enabled": {
+ "$id": "2301",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2302",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "9AVD7KLPU03377981"
+ },
+ "displayName": {
+ "$id": "2303",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName 1"
+ },
+ "description": {
+ "$id": "2304",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset 1"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2305",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2306",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2307",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2308",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2309",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2310",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2311",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2312",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2313",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2314",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "12-984302-792341-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2315",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2316",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2317",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2318",
+ "path": {
+ "$id": "2319",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2320",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2321",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "2322",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "2323",
+ "name": {
+ "$id": "2324",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2325",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2326",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2327",
+ "path": {
+ "$id": "2328",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2329",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2330",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "2331",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2332",
+ "name": {
+ "$id": "2333",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2334",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2335",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2336",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2337",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2338",
+ "name": {
+ "$id": "2339",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2340",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2341",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2342",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2343",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "2344",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2345",
+ "name": {
+ "$id": "2346",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2347",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2348",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2349",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2350",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2351",
+ "path": {
+ "$id": "2352",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2353",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2354",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2355",
+ "name": {
+ "$id": "2356",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2357",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2358",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2359",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2360",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2361",
+ "name": "listBySubscription",
+ "resourceName": "Asset",
+ "doc": "List Asset resources by subscription ID",
+ "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": "2024-11-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": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2370",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2371",
+ "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": "2372",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "547"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "2373",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "2374",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2375",
+ "kind": "http",
+ "name": "List_Assets_Subscription",
+ "description": "List_Assets_Subscription",
+ "filePath": "2024-11-01/List_Assets_Subscription.json",
+ "parameters": [
+ {
+ "$id": "2376",
+ "parameter": {
+ "$ref": "2362"
+ },
+ "value": {
+ "$id": "2377",
+ "kind": "string",
+ "type": {
+ "$ref": "2363"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2378",
+ "parameter": {
+ "$ref": "2366"
+ },
+ "value": {
+ "$id": "2379",
+ "kind": "string",
+ "type": {
+ "$ref": "2367"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2380",
+ "response": {
+ "$ref": "2372"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2381",
+ "kind": "model",
+ "type": {
+ "$ref": "547"
+ },
+ "value": {
+ "$id": "2382",
+ "value": {
+ "$id": "2383",
+ "kind": "array",
+ "type": {
+ "$ref": "549"
+ },
+ "value": [
+ {
+ "$id": "2384",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "2385",
+ "id": {
+ "$id": "2386",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2387",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2388",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2389",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2390",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2391",
+ "type": {
+ "$id": "2392",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2393",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2394",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2395",
+ "site": {
+ "$id": "2396",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2397",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2398",
+ "createdBy": {
+ "$id": "2399",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2400",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2401",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2402",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2403",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2404",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2405",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "2406",
+ "uuid": {
+ "$id": "2407",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2408",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2409",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2410",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "2411",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2412",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2413",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2414",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2415",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2416",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2417",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2418",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2419",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2420",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2421",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2422",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2423",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2424",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2425",
+ "path": {
+ "$id": "2426",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2427",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2428",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "2429",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "2430",
+ "name": {
+ "$id": "2431",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2432",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2433",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2434",
+ "path": {
+ "$id": "2435",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2436",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2437",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "2438",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2439",
+ "name": {
+ "$id": "2440",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2441",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2442",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2443",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2444",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2445",
+ "name": {
+ "$id": "2446",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2447",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2448",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2449",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2450",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "2451",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2452",
+ "name": {
+ "$id": "2453",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2454",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2455",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2456",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2457",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2458",
+ "path": {
+ "$id": "2459",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2460",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2461",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2462",
+ "name": {
+ "$id": "2463",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2464",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2465",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2466",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2467",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2468",
+ "kind": "model",
+ "type": {
+ "$ref": "159"
+ },
+ "value": {
+ "$id": "2469",
+ "id": {
+ "$id": "2470",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1"
+ },
+ "name": {
+ "$id": "2471",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-asset1"
+ },
+ "type": {
+ "$id": "2472",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2473",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2474",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2475",
+ "type": {
+ "$id": "2476",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2477",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2478",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2479",
+ "site": {
+ "$id": "2480",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2481",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2482",
+ "createdBy": {
+ "$id": "2483",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2484",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2485",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2486",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2487",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2488",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2489",
+ "kind": "model",
+ "type": {
+ "$ref": "215"
+ },
+ "value": {
+ "$id": "2490",
+ "uuid": {
+ "$id": "2491",
+ "kind": "string",
+ "type": {
+ "$ref": "217"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "enabled": {
+ "$id": "2492",
+ "kind": "boolean",
+ "type": {
+ "$ref": "221"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2493",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "9AVD7KLPU03377981"
+ },
+ "displayName": {
+ "$id": "2494",
+ "kind": "string",
+ "type": {
+ "$ref": "229"
+ },
+ "value": "AssetDisplayName 1"
+ },
+ "description": {
+ "$id": "2495",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "This is a sample Asset 1"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2496",
+ "kind": "string",
+ "type": {
+ "$ref": "237"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2497",
+ "kind": "number",
+ "type": {
+ "$ref": "241"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2498",
+ "kind": "string",
+ "type": {
+ "$ref": "245"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2499",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2500",
+ "kind": "string",
+ "type": {
+ "$ref": "253"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2501",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2502",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2503",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2504",
+ "kind": "string",
+ "type": {
+ "$ref": "269"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2505",
+ "kind": "string",
+ "type": {
+ "$ref": "273"
+ },
+ "value": "12-984302-792341-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2506",
+ "kind": "string",
+ "type": {
+ "$ref": "288"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2507",
+ "kind": "string",
+ "type": {
+ "$ref": "292"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2508",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2509",
+ "path": {
+ "$id": "2510",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2511",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2512",
+ "kind": "array",
+ "type": {
+ "$ref": "307"
+ },
+ "value": [
+ {
+ "$id": "2513",
+ "kind": "model",
+ "type": {
+ "$ref": "308"
+ },
+ "value": {
+ "$id": "2514",
+ "name": {
+ "$id": "2515",
+ "kind": "string",
+ "type": {
+ "$ref": "310"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2516",
+ "kind": "string",
+ "type": {
+ "$ref": "314"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2517",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2518",
+ "path": {
+ "$id": "2519",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2520",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2521",
+ "kind": "array",
+ "type": {
+ "$ref": "321"
+ },
+ "value": [
+ {
+ "$id": "2522",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2523",
+ "name": {
+ "$id": "2524",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2525",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2526",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2527",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2528",
+ "kind": "model",
+ "type": {
+ "$ref": "322"
+ },
+ "value": {
+ "$id": "2529",
+ "name": {
+ "$id": "2530",
+ "kind": "string",
+ "type": {
+ "$ref": "325"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2531",
+ "kind": "string",
+ "type": {
+ "$ref": "329"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2532",
+ "kind": "string",
+ "type": {
+ "$ref": "20"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2533",
+ "kind": "string",
+ "type": {
+ "$ref": "333"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2534",
+ "kind": "array",
+ "type": {
+ "$ref": "344"
+ },
+ "value": [
+ {
+ "$id": "2535",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2536",
+ "name": {
+ "$id": "2537",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2538",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2539",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2540",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2541",
+ "kind": "model",
+ "type": {
+ "$ref": "296"
+ },
+ "value": {
+ "$id": "2542",
+ "path": {
+ "$id": "2543",
+ "kind": "string",
+ "type": {
+ "$ref": "298"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2544",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2545",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "2546",
+ "name": {
+ "$id": "2547",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2548",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2549",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2550",
+ "kind": "string",
+ "type": {
+ "$ref": "356"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2551",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "2552",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "2553",
+ "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": "2554",
+ "type": {
+ "$id": "2555",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "2556",
+ "name": "Azure.ResourceManager.@armResourceOperations",
+ "arguments": {
+ "$id": "2557"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets",
+ "apiVersions": [
+ "2023-11-01-preview",
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "parent": {
+ "$ref": "692"
+ }
+ },
+ {
+ "$id": "2558",
+ "kind": "client",
+ "name": "AssetEndpointProfiles",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "2559",
+ "name": "get",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Get a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2560",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2561",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2562",
+ "type": {
+ "$id": "2563",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2564",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2565",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2566",
+ "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": "2567",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2568",
+ "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": "2569",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2570",
+ "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": "2571",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2572",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2573",
+ "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": "2574",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "557"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.get",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2575",
+ "kind": "http",
+ "name": "Get_AssetEndpointProfile",
+ "description": "Get_AssetEndpointProfile",
+ "filePath": "2024-11-01/Get_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2576",
+ "parameter": {
+ "$ref": "2560"
+ },
+ "value": {
+ "$id": "2577",
+ "kind": "string",
+ "type": {
+ "$ref": "2561"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2578",
+ "parameter": {
+ "$ref": "2564"
+ },
+ "value": {
+ "$id": "2579",
+ "kind": "string",
+ "type": {
+ "$ref": "2565"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2580",
+ "parameter": {
+ "$ref": "2567"
+ },
+ "value": {
+ "$id": "2581",
+ "kind": "string",
+ "type": {
+ "$ref": "2568"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2582",
+ "parameter": {
+ "$ref": "2569"
+ },
+ "value": {
+ "$id": "2583",
+ "kind": "string",
+ "type": {
+ "$ref": "2570"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2584",
+ "response": {
+ "$ref": "2574"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2585",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2586",
+ "id": {
+ "$id": "2587",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2588",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2589",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2590",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2591",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2592",
+ "type": {
+ "$id": "2593",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2594",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2595",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2596",
+ "site": {
+ "$id": "2597",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2598",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2599",
+ "createdBy": {
+ "$id": "2600",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2601",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2602",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2603",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2604",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2605",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2606",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2607",
+ "uuid": {
+ "$id": "2608",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "2609",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2610",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2611",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2612",
+ "method": {
+ "$id": "2613",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "2614",
+ "kind": "model",
+ "type": {
+ "$ref": "578"
+ },
+ "value": {
+ "$id": "2615",
+ "usernameSecretName": {
+ "$id": "2616",
+ "kind": "string",
+ "type": {
+ "$ref": "580"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "2617",
+ "kind": "string",
+ "type": {
+ "$ref": "584"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2618",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "2619",
+ "kind": "http",
+ "name": "Get_AssetEndpointProfile_With_SyncStatus",
+ "description": "Get_AssetEndpointProfile_With_SyncStatus",
+ "filePath": "2024-11-01/Get_AssetEndpointProfile_With_SyncStatus.json",
+ "parameters": [
+ {
+ "$id": "2620",
+ "parameter": {
+ "$ref": "2560"
+ },
+ "value": {
+ "$id": "2621",
+ "kind": "string",
+ "type": {
+ "$ref": "2561"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2622",
+ "parameter": {
+ "$ref": "2564"
+ },
+ "value": {
+ "$id": "2623",
+ "kind": "string",
+ "type": {
+ "$ref": "2565"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2624",
+ "parameter": {
+ "$ref": "2567"
+ },
+ "value": {
+ "$id": "2625",
+ "kind": "string",
+ "type": {
+ "$ref": "2568"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2626",
+ "parameter": {
+ "$ref": "2569"
+ },
+ "value": {
+ "$id": "2627",
+ "kind": "string",
+ "type": {
+ "$ref": "2570"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2628",
+ "response": {
+ "$ref": "2574"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2629",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2630",
+ "id": {
+ "$id": "2631",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2632",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2633",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2634",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2635",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2636",
+ "type": {
+ "$id": "2637",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2638",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2639",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2640",
+ "site": {
+ "$id": "2641",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2642",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2643",
+ "createdBy": {
+ "$id": "2644",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2645",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2646",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2647",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2648",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2649",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2650",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2651",
+ "uuid": {
+ "$id": "2652",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "2653",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2654",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2655",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2656",
+ "method": {
+ "$id": "2657",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "2658",
+ "kind": "model",
+ "type": {
+ "$ref": "578"
+ },
+ "value": {
+ "$id": "2659",
+ "usernameSecretName": {
+ "$id": "2660",
+ "kind": "string",
+ "type": {
+ "$ref": "580"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "2661",
+ "kind": "string",
+ "type": {
+ "$ref": "584"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "status": {
+ "$id": "2662",
+ "kind": "model",
+ "type": {
+ "$ref": "608"
+ },
+ "value": {
+ "$id": "2663",
+ "errors": {
+ "$id": "2664",
+ "kind": "array",
+ "type": {
+ "$ref": "610"
+ },
+ "value": [
+ {
+ "$id": "2665",
+ "kind": "model",
+ "type": {
+ "$ref": "611"
+ },
+ "value": {
+ "$id": "2666",
+ "code": {
+ "$id": "2667",
+ "kind": "number",
+ "type": {
+ "$ref": "613"
+ },
+ "value": 500
+ },
+ "message": {
+ "$id": "2668",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "Internal Server Error"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2669",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2670",
+ "name": "createOrReplace",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Create a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2671",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2672",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2673",
+ "type": {
+ "$id": "2674",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2675",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2676",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2677",
+ "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": "2678",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2679",
+ "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": "2680",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2681",
+ "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": "2682",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2683",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2684",
+ "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": "2685",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2686",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2687",
+ "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": "2688",
+ "name": "resource",
+ "nameInRequest": "resource",
+ "doc": "Resource create parameters.",
+ "type": {
+ "$ref": "557"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2689",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "557"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2690",
+ "statusCodes": [
+ 201
+ ],
+ "bodyType": {
+ "$ref": "557"
+ },
+ "headers": [
+ {
+ "$id": "2691",
+ "name": "azureAsyncOperation",
+ "nameInResponse": "Azure-AsyncOperation",
+ "doc": "A link to the status monitor",
+ "type": {
+ "$id": "2692",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2693",
+ "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": "2694",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "PUT",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2695",
+ "finalStateVia": 0,
+ "finalResponse": {
+ "$id": "2696",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "557"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2697",
+ "kind": "http",
+ "name": "Create_AssetEndpointProfile",
+ "description": "Create_AssetEndpointProfile",
+ "filePath": "2024-11-01/Create_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2698",
+ "parameter": {
+ "$ref": "2671"
+ },
+ "value": {
+ "$id": "2699",
+ "kind": "string",
+ "type": {
+ "$ref": "2672"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2700",
+ "parameter": {
+ "$ref": "2675"
+ },
+ "value": {
+ "$id": "2701",
+ "kind": "string",
+ "type": {
+ "$ref": "2676"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2702",
+ "parameter": {
+ "$ref": "2678"
+ },
+ "value": {
+ "$id": "2703",
+ "kind": "string",
+ "type": {
+ "$ref": "2679"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2704",
+ "parameter": {
+ "$ref": "2680"
+ },
+ "value": {
+ "$id": "2705",
+ "kind": "string",
+ "type": {
+ "$ref": "2681"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2706",
+ "parameter": {
+ "$ref": "2688"
+ },
+ "value": {
+ "$id": "2707",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2708",
+ "location": {
+ "$id": "2709",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2710",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2711",
+ "type": {
+ "$id": "2712",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2713",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2714",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2715",
+ "site": {
+ "$id": "2716",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2717",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2718",
+ "targetAddress": {
+ "$id": "2719",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2720",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2721",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2722",
+ "method": {
+ "$id": "2723",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2724",
+ "response": {
+ "$ref": "2689"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2725",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2726",
+ "id": {
+ "$id": "2727",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2728",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2729",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2730",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2731",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2732",
+ "type": {
+ "$id": "2733",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2734",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2735",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2736",
+ "site": {
+ "$id": "2737",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2738",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2739",
+ "createdBy": {
+ "$id": "2740",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2741",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2742",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2743",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2744",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2745",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2746",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2747",
+ "uuid": {
+ "$id": "2748",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2749",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2750",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2751",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2752",
+ "method": {
+ "$id": "2753",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2754",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2755",
+ "response": {
+ "$ref": "2690"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "2756",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2757",
+ "id": {
+ "$id": "2758",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2759",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2760",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2761",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2762",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2763",
+ "type": {
+ "$id": "2764",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2765",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2766",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2767",
+ "site": {
+ "$id": "2768",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2769",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2770",
+ "createdBy": {
+ "$id": "2771",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2772",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2773",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2774",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2775",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2776",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2777",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2778",
+ "uuid": {
+ "$id": "2779",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2780",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2781",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2782",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2783",
+ "method": {
+ "$id": "2784",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2785",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "2786",
+ "kind": "http",
+ "name": "Create_AssetEndpointProfile_With_DiscoveredAepRef",
+ "description": "Create_AssetEndpointProfile_With_DiscoveredAepRef",
+ "filePath": "2024-11-01/Create_AssetEndpointProfile_With_DiscoveredAepRef.json",
+ "parameters": [
+ {
+ "$id": "2787",
+ "parameter": {
+ "$ref": "2671"
+ },
+ "value": {
+ "$id": "2788",
+ "kind": "string",
+ "type": {
+ "$ref": "2672"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2789",
+ "parameter": {
+ "$ref": "2675"
+ },
+ "value": {
+ "$id": "2790",
+ "kind": "string",
+ "type": {
+ "$ref": "2676"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2791",
+ "parameter": {
+ "$ref": "2678"
+ },
+ "value": {
+ "$id": "2792",
+ "kind": "string",
+ "type": {
+ "$ref": "2679"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2793",
+ "parameter": {
+ "$ref": "2680"
+ },
+ "value": {
+ "$id": "2794",
+ "kind": "string",
+ "type": {
+ "$ref": "2681"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2795",
+ "parameter": {
+ "$ref": "2688"
+ },
+ "value": {
+ "$id": "2796",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2797",
+ "location": {
+ "$id": "2798",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2799",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2800",
+ "type": {
+ "$id": "2801",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2802",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2803",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2804",
+ "site": {
+ "$id": "2805",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2806",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2807",
+ "targetAddress": {
+ "$id": "2808",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2809",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2810",
+ "kind": "string",
+ "type": {
+ "$ref": "604"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2811",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2812",
+ "method": {
+ "$id": "2813",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2814",
+ "response": {
+ "$ref": "2689"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2815",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2816",
+ "id": {
+ "$id": "2817",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2818",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2819",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2820",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2821",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2822",
+ "type": {
+ "$id": "2823",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2824",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2825",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2826",
+ "site": {
+ "$id": "2827",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2828",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2829",
+ "createdBy": {
+ "$id": "2830",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2831",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2832",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2833",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2834",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2835",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2836",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2837",
+ "uuid": {
+ "$id": "2838",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2839",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2840",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2841",
+ "kind": "string",
+ "type": {
+ "$ref": "604"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2842",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2843",
+ "method": {
+ "$id": "2844",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2845",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2846",
+ "response": {
+ "$ref": "2690"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "2847",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2848",
+ "id": {
+ "$id": "2849",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2850",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2851",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2852",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2853",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2854",
+ "type": {
+ "$id": "2855",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2856",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2857",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2858",
+ "site": {
+ "$id": "2859",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2860",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2861",
+ "createdBy": {
+ "$id": "2862",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2863",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2864",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2865",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2866",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2867",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2868",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2869",
+ "uuid": {
+ "$id": "2870",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2871",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2872",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2873",
+ "kind": "string",
+ "type": {
+ "$ref": "604"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2874",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2875",
+ "method": {
+ "$id": "2876",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2877",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2878",
+ "name": "update",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Update a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2879",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2880",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2881",
+ "type": {
+ "$id": "2882",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2883",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2884",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2885",
+ "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": "2886",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2887",
+ "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": "2888",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2889",
+ "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": "2890",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2891",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2892",
+ "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": "2893",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2894",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2895",
+ "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": "2896",
+ "name": "properties",
+ "nameInRequest": "properties",
+ "doc": "The resource properties to be updated.",
+ "type": {
+ "$ref": "632"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2897",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "557"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2898",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2899",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2900",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2901",
+ "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": "2902",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "PATCH",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2903",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2904",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "557"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": false,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2905",
+ "kind": "http",
+ "name": "Update_AssetEndpointProfile",
+ "description": "Update_AssetEndpointProfile",
+ "filePath": "2024-11-01/Update_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2906",
+ "parameter": {
+ "$ref": "2879"
+ },
+ "value": {
+ "$id": "2907",
+ "kind": "string",
+ "type": {
+ "$ref": "2880"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2908",
+ "parameter": {
+ "$ref": "2883"
+ },
+ "value": {
+ "$id": "2909",
+ "kind": "string",
+ "type": {
+ "$ref": "2884"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2910",
+ "parameter": {
+ "$ref": "2886"
+ },
+ "value": {
+ "$id": "2911",
+ "kind": "string",
+ "type": {
+ "$ref": "2887"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2912",
+ "parameter": {
+ "$ref": "2888"
+ },
+ "value": {
+ "$id": "2913",
+ "kind": "string",
+ "type": {
+ "$ref": "2889"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2914",
+ "parameter": {
+ "$ref": "2896"
+ },
+ "value": {
+ "$id": "2915",
+ "kind": "model",
+ "type": {
+ "$ref": "632"
+ },
+ "value": {
+ "$id": "2916",
+ "properties": {
+ "$id": "2917",
+ "kind": "model",
+ "type": {
+ "$ref": "640"
+ },
+ "value": {
+ "$id": "2918",
+ "targetAddress": {
+ "$id": "2919",
+ "kind": "string",
+ "type": {
+ "$ref": "642"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2920",
+ "response": {
+ "$ref": "2897"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2921",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2922",
+ "id": {
+ "$id": "2923",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2924",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2925",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2926",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2927",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "2928",
+ "type": {
+ "$id": "2929",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2930",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2931",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "2932",
+ "site": {
+ "$id": "2933",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2934",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "2935",
+ "createdBy": {
+ "$id": "2936",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2937",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2938",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2939",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2940",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2941",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2942",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "2943",
+ "uuid": {
+ "$id": "2944",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2945",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2946",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2947",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "2948",
+ "method": {
+ "$id": "2949",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2950",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2951",
+ "response": {
+ "$ref": "2898"
+ },
+ "statusCode": 202
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2952",
+ "name": "delete",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Delete a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2953",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2954",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2955",
+ "type": {
+ "$id": "2956",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2957",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2958",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2959",
+ "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": "2960",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2961",
+ "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": "2962",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2963",
+ "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": "2964",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2965",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2966",
+ "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": "2967",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2968",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2969",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2970",
+ "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": "2971",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ },
+ {
+ "$id": "2972",
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}",
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2973",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2974",
+ "statusCodes": [
+ 204
+ ]
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2975",
+ "kind": "http",
+ "name": "Delete_AssetEndpointProfile",
+ "description": "Delete_AssetEndpointProfile",
+ "filePath": "2024-11-01/Delete_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2976",
+ "parameter": {
+ "$ref": "2953"
+ },
+ "value": {
+ "$id": "2977",
+ "kind": "string",
+ "type": {
+ "$ref": "2954"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2978",
+ "parameter": {
+ "$ref": "2957"
+ },
+ "value": {
+ "$id": "2979",
+ "kind": "string",
+ "type": {
+ "$ref": "2958"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2980",
+ "parameter": {
+ "$ref": "2960"
+ },
+ "value": {
+ "$id": "2981",
+ "kind": "string",
+ "type": {
+ "$ref": "2961"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2982",
+ "parameter": {
+ "$ref": "2962"
+ },
+ "value": {
+ "$id": "2983",
+ "kind": "string",
+ "type": {
+ "$ref": "2963"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2984",
+ "response": {
+ "$ref": "2967"
+ },
+ "statusCode": 202
+ },
+ {
+ "$id": "2985",
+ "response": {
+ "$ref": "2972"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2986",
+ "name": "listByResourceGroup",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "List AssetEndpointProfile resources by resource group",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2987",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2988",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2989",
+ "type": {
+ "$id": "2990",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2991",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2992",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2993",
+ "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": "2994",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2995",
+ "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": "2996",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2997",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2998",
+ "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": "2999",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "658"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "3000",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "3001",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3002",
+ "kind": "http",
+ "name": "List_AssetEndpointProfiles_ResourceGroup",
+ "description": "List_AssetEndpointProfiles_ResourceGroup",
+ "filePath": "2024-11-01/List_AssetEndpointProfiles_ResourceGroup.json",
+ "parameters": [
+ {
+ "$id": "3003",
+ "parameter": {
+ "$ref": "2987"
+ },
+ "value": {
+ "$id": "3004",
+ "kind": "string",
+ "type": {
+ "$ref": "2988"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3005",
+ "parameter": {
+ "$ref": "2991"
+ },
+ "value": {
+ "$id": "3006",
+ "kind": "string",
+ "type": {
+ "$ref": "2992"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "3007",
+ "parameter": {
+ "$ref": "2994"
+ },
+ "value": {
+ "$id": "3008",
+ "kind": "string",
+ "type": {
+ "$ref": "2995"
+ },
+ "value": "myResourceGroup"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3009",
+ "response": {
+ "$ref": "2999"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3010",
+ "kind": "model",
+ "type": {
+ "$ref": "658"
+ },
+ "value": {
+ "$id": "3011",
+ "value": {
+ "$id": "3012",
+ "kind": "array",
+ "type": {
+ "$ref": "660"
+ },
+ "value": [
+ {
+ "$id": "3013",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3014",
+ "id": {
+ "$id": "3015",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "3016",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "3017",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3018",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3019",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3020",
+ "type": {
+ "$id": "3021",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3022",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3023",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3024",
+ "site": {
+ "$id": "3025",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3026",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3027",
+ "createdBy": {
+ "$id": "3028",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3029",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3030",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3031",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3032",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3033",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3034",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3035",
+ "uuid": {
+ "$id": "3036",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "3037",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "3038",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3039",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3040",
+ "method": {
+ "$id": "3041",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3042",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3043",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3044",
+ "id": {
+ "$id": "3045",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1"
+ },
+ "name": {
+ "$id": "3046",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile1"
+ },
+ "type": {
+ "$id": "3047",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3048",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3049",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3050",
+ "type": {
+ "$id": "3051",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3052",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3053",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3054",
+ "site": {
+ "$id": "3055",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3056",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3057",
+ "createdBy": {
+ "$id": "3058",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3059",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3060",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3061",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3062",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3063",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3064",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3065",
+ "uuid": {
+ "$id": "3066",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "targetAddress": {
+ "$id": "3067",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress1"
+ },
+ "endpointProfileType": {
+ "$id": "3068",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3069",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3070",
+ "method": {
+ "$id": "3071",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Certificate"
+ },
+ "x509Credentials": {
+ "$id": "3072",
+ "kind": "model",
+ "type": {
+ "$ref": "590"
+ },
+ "value": {
+ "$id": "3073",
+ "certificateSecretName": {
+ "$id": "3074",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "certificatRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3075",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3076",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3077",
+ "id": {
+ "$id": "3078",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2"
+ },
+ "name": {
+ "$id": "3079",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile2"
+ },
+ "type": {
+ "$id": "3080",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3081",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3082",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3083",
+ "type": {
+ "$id": "3084",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3085",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3086",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3087",
+ "site": {
+ "$id": "3088",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3089",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3090",
+ "createdBy": {
+ "$id": "3091",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3092",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3093",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3094",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3095",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3096",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3097",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3098",
+ "uuid": {
+ "$id": "3099",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "3100",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress2"
+ },
+ "endpointProfileType": {
+ "$id": "3101",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3102",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3103",
+ "method": {
+ "$id": "3104",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "3105",
+ "kind": "model",
+ "type": {
+ "$ref": "578"
+ },
+ "value": {
+ "$id": "3106",
+ "usernameSecretName": {
+ "$id": "3107",
+ "kind": "string",
+ "type": {
+ "$ref": "580"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "3108",
+ "kind": "string",
+ "type": {
+ "$ref": "584"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3109",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "3110",
+ "name": "listBySubscription",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "List AssetEndpointProfile resources by subscription ID",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3111",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3112",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3113",
+ "type": {
+ "$id": "3114",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3115",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3116",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3117",
+ "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": "3118",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3119",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3120",
+ "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": "3121",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "658"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "3122",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "3123",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3124",
+ "kind": "http",
+ "name": "List_AssetEndpointProfiles_Subscription",
+ "description": "List_AssetEndpointProfiles_Subscription",
+ "filePath": "2024-11-01/List_AssetEndpointProfiles_Subscription.json",
+ "parameters": [
+ {
+ "$id": "3125",
+ "parameter": {
+ "$ref": "3111"
+ },
+ "value": {
+ "$id": "3126",
+ "kind": "string",
+ "type": {
+ "$ref": "3112"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3127",
+ "parameter": {
+ "$ref": "3115"
+ },
+ "value": {
+ "$id": "3128",
+ "kind": "string",
+ "type": {
+ "$ref": "3116"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3129",
+ "response": {
+ "$ref": "3121"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3130",
+ "kind": "model",
+ "type": {
+ "$ref": "658"
+ },
+ "value": {
+ "$id": "3131",
+ "value": {
+ "$id": "3132",
+ "kind": "array",
+ "type": {
+ "$ref": "660"
+ },
+ "value": [
+ {
+ "$id": "3133",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3134",
+ "id": {
+ "$id": "3135",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "3136",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "3137",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3138",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3139",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3140",
+ "type": {
+ "$id": "3141",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3142",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3143",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3144",
+ "site": {
+ "$id": "3145",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3146",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3147",
+ "createdBy": {
+ "$id": "3148",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3149",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3150",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3151",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3152",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3153",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3154",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3155",
+ "uuid": {
+ "$id": "3156",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "3157",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "3158",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3159",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3160",
+ "method": {
+ "$id": "3161",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3162",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3163",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3164",
+ "id": {
+ "$id": "3165",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1"
+ },
+ "name": {
+ "$id": "3166",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile1"
+ },
+ "type": {
+ "$id": "3167",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3168",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3169",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3170",
+ "type": {
+ "$id": "3171",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3172",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3173",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3174",
+ "site": {
+ "$id": "3175",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3176",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3177",
+ "createdBy": {
+ "$id": "3178",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3179",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3180",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3181",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3182",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3183",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3184",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3185",
+ "uuid": {
+ "$id": "3186",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "targetAddress": {
+ "$id": "3187",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress1"
+ },
+ "endpointProfileType": {
+ "$id": "3188",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3189",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3190",
+ "method": {
+ "$id": "3191",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Certificate"
+ },
+ "x509Credentials": {
+ "$id": "3192",
+ "kind": "model",
+ "type": {
+ "$ref": "590"
+ },
+ "value": {
+ "$id": "3193",
+ "certificateSecretName": {
+ "$id": "3194",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "certificatRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3195",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3196",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "3197",
+ "id": {
+ "$id": "3198",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2"
+ },
+ "name": {
+ "$id": "3199",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-assetendpointprofile2"
+ },
+ "type": {
+ "$id": "3200",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3201",
+ "kind": "string",
+ "type": {
+ "$ref": "211"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3202",
+ "kind": "model",
+ "type": {
+ "$ref": "431"
+ },
+ "value": {
+ "$id": "3203",
+ "type": {
+ "$id": "3204",
+ "kind": "string",
+ "type": {
+ "$ref": "433"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3205",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3206",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "3207",
+ "site": {
+ "$id": "3208",
+ "kind": "string",
+ "type": {
+ "$ref": "207"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3209",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3210",
+ "createdBy": {
+ "$id": "3211",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3212",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3213",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3214",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3215",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3216",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3217",
+ "kind": "model",
+ "type": {
+ "$ref": "559"
+ },
+ "value": {
+ "$id": "3218",
+ "uuid": {
+ "$id": "3219",
+ "kind": "string",
+ "type": {
+ "$ref": "561"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "3220",
+ "kind": "string",
+ "type": {
+ "$ref": "565"
+ },
+ "value": "https://www.example.com/myTargetAddress2"
+ },
+ "endpointProfileType": {
+ "$id": "3221",
+ "kind": "string",
+ "type": {
+ "$ref": "569"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3222",
+ "kind": "model",
+ "type": {
+ "$ref": "573"
+ },
+ "value": {
+ "$id": "3223",
+ "method": {
+ "$id": "3224",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "3225",
+ "kind": "model",
+ "type": {
+ "$ref": "578"
+ },
+ "value": {
+ "$id": "3226",
+ "usernameSecretName": {
+ "$id": "3227",
+ "kind": "string",
+ "type": {
+ "$ref": "580"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "3228",
+ "kind": "string",
+ "type": {
+ "$ref": "584"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3229",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "3230",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "3231",
+ "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": "3232",
+ "type": {
+ "$id": "3233",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "3234",
+ "name": "Azure.ResourceManager.@armResourceOperations",
+ "arguments": {
+ "$id": "3235"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles",
+ "apiVersions": [
+ "2023-11-01-preview",
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "parent": {
+ "$ref": "692"
+ }
+ },
+ {
+ "$id": "3236",
+ "kind": "client",
+ "name": "BillingContainers",
+ "namespace": "Azure.ResourceManager.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "3237",
+ "name": "get",
+ "resourceName": "BillingContainer",
+ "doc": "Get a BillingContainer",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3238",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3239",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3240",
+ "type": {
+ "$id": "3241",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3242",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3243",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3244",
+ "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": "3245",
+ "name": "billingContainerName",
+ "nameInRequest": "billingContainerName",
+ "doc": "Name of the billing container.",
+ "type": {
+ "$id": "3246",
+ "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": "3247",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3248",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3249",
+ "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": "3250",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "668"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.get",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3251",
+ "kind": "http",
+ "name": "Get_BillingContainer",
+ "description": "Get_BillingContainer",
+ "filePath": "2024-11-01/Get_BillingContainer.json",
+ "parameters": [
+ {
+ "$id": "3252",
+ "parameter": {
+ "$ref": "3238"
+ },
+ "value": {
+ "$id": "3253",
+ "kind": "string",
+ "type": {
+ "$ref": "3239"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3254",
+ "parameter": {
+ "$ref": "3242"
+ },
+ "value": {
+ "$id": "3255",
+ "kind": "string",
+ "type": {
+ "$ref": "3243"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "3256",
+ "parameter": {
+ "$ref": "3245"
+ },
+ "value": {
+ "$id": "3257",
+ "kind": "string",
+ "type": {
+ "$ref": "3246"
+ },
+ "value": "my-billingContainer"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3258",
+ "response": {
+ "$ref": "3250"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3259",
+ "kind": "model",
+ "type": {
+ "$ref": "668"
+ },
+ "value": {
+ "$id": "3260",
+ "id": {
+ "$id": "3261",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer"
+ },
+ "name": {
+ "$id": "3262",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-billingContainer"
+ },
+ "type": {
+ "$id": "3263",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3264",
+ "kind": "string",
+ "type": {
+ "$ref": "678"
+ },
+ "value": "\"00001300-0000-0100-0000-6671f0170000\""
+ },
+ "systemData": {
+ "$id": "3265",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3266",
+ "createdBy": {
+ "$id": "3267",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3268",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3269",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2024-05-20T21:51:21.169954Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3270",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3271",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3272",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2024-06-18T20:37:41.9371846Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3273",
+ "kind": "model",
+ "type": {
+ "$ref": "671"
+ },
+ "value": {
+ "$id": "3274",
+ "provisioningState": {
+ "$id": "3275",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "3276",
+ "name": "listBySubscription",
+ "resourceName": "BillingContainer",
+ "doc": "List BillingContainer resources by subscription ID",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3277",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3278",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3279",
+ "type": {
+ "$id": "3280",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3281",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3282",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3283",
+ "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": "3284",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3285",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3286",
+ "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": "3287",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "682"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "3288",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "3289",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3290",
+ "kind": "http",
+ "name": "List_BillingContainers_Subscription",
+ "description": "List_BillingContainers_Subscription",
+ "filePath": "2024-11-01/List_BillingContainers_Subscription.json",
+ "parameters": [
+ {
+ "$id": "3291",
+ "parameter": {
+ "$ref": "3277"
+ },
+ "value": {
+ "$id": "3292",
+ "kind": "string",
+ "type": {
+ "$ref": "3278"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3293",
+ "parameter": {
+ "$ref": "3281"
+ },
+ "value": {
+ "$id": "3294",
+ "kind": "string",
+ "type": {
+ "$ref": "3282"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3295",
+ "response": {
+ "$ref": "3287"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3296",
+ "kind": "model",
+ "type": {
+ "$ref": "682"
+ },
+ "value": {
+ "$id": "3297",
+ "value": {
+ "$id": "3298",
+ "kind": "array",
+ "type": {
+ "$ref": "684"
+ },
+ "value": [
+ {
+ "$id": "3299",
+ "kind": "model",
+ "type": {
+ "$ref": "668"
+ },
+ "value": {
+ "$id": "3300",
+ "id": {
+ "$id": "3301",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer1"
+ },
+ "name": {
+ "$id": "3302",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-billingContainer1"
+ },
+ "type": {
+ "$id": "3303",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3304",
+ "kind": "string",
+ "type": {
+ "$ref": "678"
+ },
+ "value": "\"4b036688-0000-0100-0000-6632c7bf0000\""
+ },
+ "systemData": {
+ "$id": "3305",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3306",
+ "createdBy": {
+ "$id": "3307",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3308",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3309",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2024-05-01T22:52:46.0165055Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3310",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3311",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3312",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2024-05-01T22:52:46.0165055Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3313",
+ "kind": "model",
+ "type": {
+ "$ref": "671"
+ },
+ "value": {
+ "$id": "3314",
+ "provisioningState": {
+ "$id": "3315",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3316",
+ "kind": "model",
+ "type": {
+ "$ref": "668"
+ },
+ "value": {
+ "$id": "3317",
+ "id": {
+ "$id": "3318",
+ "kind": "string",
+ "type": {
+ "$ref": "163"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer2"
+ },
+ "name": {
+ "$id": "3319",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "my-billingContainer2"
+ },
+ "type": {
+ "$id": "3320",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3321",
+ "kind": "string",
+ "type": {
+ "$ref": "678"
+ },
+ "value": "\"4e03ed61-0000-0100-0000-6632d7200000\""
+ },
+ "systemData": {
+ "$id": "3322",
+ "kind": "model",
+ "type": {
+ "$ref": "177"
+ },
+ "value": {
+ "$id": "3323",
+ "createdBy": {
+ "$id": "3324",
+ "kind": "string",
+ "type": {
+ "$ref": "179"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3325",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3326",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "2024-05-01T23:58:23.3213061Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3327",
+ "kind": "string",
+ "type": {
+ "$ref": "191"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3328",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3329",
+ "kind": "string",
+ "type": {
+ "$ref": "198"
+ },
+ "value": "2024-05-01T23:58:23.3213061Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3330",
+ "kind": "model",
+ "type": {
+ "$ref": "671"
+ },
+ "value": {
+ "$id": "3331",
+ "provisioningState": {
+ "$id": "3332",
+ "kind": "string",
+ "type": {
+ "$ref": "38"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "3333",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "3334",
+ "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": "3335",
+ "type": {
+ "$id": "3336",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "3337",
+ "name": "Azure.ResourceManager.@armResourceOperations",
+ "arguments": {
+ "$id": "3338"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers",
+ "apiVersions": [
+ "2024-09-01-preview",
+ "2024-11-01"
+ ],
+ "parent": {
+ "$ref": "692"
+ }
+ }
+ ]
+ }
+ ],
+ "auth": {
+ "$id": "3339",
+ "oAuth2": {
+ "$id": "3340",
+ "scopes": [
+ "user_impersonation"
+ ]
+ }
+ }
+}
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..a6004dc50874
--- /dev/null
+++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.net8.0.cs
@@ -0,0 +1,351 @@
+namespace Azure.ResourceManager.DurableTask
+{
+ public static partial class DurableTaskExtensions
+ {
+ public static Azure.ResourceManager.DurableTask.RetentionPolicyResource GetRetentionPolicyResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ 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 RetentionPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public RetentionPolicyData() { }
+ public Azure.ResourceManager.DurableTask.Models.RetentionPolicyProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.DurableTask.RetentionPolicyData 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.RetentionPolicyData 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 RetentionPolicyResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected RetentionPolicyResource() { }
+ public virtual Azure.ResourceManager.DurableTask.RetentionPolicyData Data { get { throw null; } }
+ public virtual bool HasData { get { throw null; } }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, 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; }
+ Azure.ResourceManager.DurableTask.RetentionPolicyData 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.RetentionPolicyData 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.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { 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.ResourceManager.DurableTask.RetentionPolicyResource GetRetentionPolicy() { 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.RetentionPolicyResource GetRetentionPolicyResource(Azure.Core.ResourceIdentifier id) { throw null; }
+ 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.RetentionPolicyData RetentionPolicyData(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.RetentionPolicyProperties properties = null) { throw null; }
+ public static Azure.ResourceManager.DurableTask.Models.RetentionPolicyProperties RetentionPolicyProperties(Azure.ResourceManager.DurableTask.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.DurableTask.Models.ProvisioningState?), System.Collections.Generic.IEnumerable retentionPolicies = null) { throw null; }
+ 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 PurgeableOrchestrationState : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public PurgeableOrchestrationState(string value) { throw null; }
+ public static Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState Canceled { get { throw null; } }
+ public static Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState Completed { get { throw null; } }
+ public static Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState Failed { get { throw null; } }
+ public static Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState Terminated { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState 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.PurgeableOrchestrationState left, Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState right) { throw null; }
+ public static implicit operator Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState left, Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState 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 RetentionPolicyDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public RetentionPolicyDetails(int retentionPeriodInDays) { }
+ public Azure.ResourceManager.DurableTask.Models.PurgeableOrchestrationState? OrchestrationState { get { throw null; } set { } }
+ public int RetentionPeriodInDays { get { throw null; } set { } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.DurableTask.Models.RetentionPolicyDetails 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.RetentionPolicyDetails 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 RetentionPolicyProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public RetentionPolicyProperties() { }
+ public Azure.ResourceManager.DurableTask.Models.ProvisioningState? ProvisioningState { get { throw null; } }
+ public System.Collections.Generic.IList RetentionPolicies { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.DurableTask.Models.RetentionPolicyProperties 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.RetentionPolicyProperties 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 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..a6004dc50874
--- /dev/null
+++ b/sdk/durabletask/Azure.ResourceManager.DurableTask/api/Azure.ResourceManager.DurableTask.netstandard2.0.cs
@@ -0,0 +1,351 @@
+namespace Azure.ResourceManager.DurableTask
+{
+ public static partial class DurableTaskExtensions
+ {
+ public static Azure.ResourceManager.DurableTask.RetentionPolicyResource GetRetentionPolicyResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ 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 RetentionPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public RetentionPolicyData() { }
+ public Azure.ResourceManager.DurableTask.Models.RetentionPolicyProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.DurableTask.RetentionPolicyData 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.RetentionPolicyData 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 RetentionPolicyResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected RetentionPolicyResource() { }
+ public virtual Azure.ResourceManager.DurableTask.RetentionPolicyData Data { get { throw null; } }
+ public virtual bool HasData { get { throw null; } }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, 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; }
+ Azure.ResourceManager.DurableTask.RetentionPolicyData 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.RetentionPolicyData 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.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DurableTask.RetentionPolicyData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { 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.ResourceManager.DurableTask.RetentionPolicyResource GetRetentionPolicy() { 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